Files
ss/templates/embed.go
2026-07-19 21:23:44 +08:00

17 lines
485 B
Go

// Package templates embeds the default core config and hook script
// templates into the ssm binary, replacing the Python version's
// Path(__file__).parent / "templates" lookup.
package templates
import "embed"
// DefaultCoreConfig is the default mihomo/clash core configuration template.
//
//go:embed default-core-config.yaml
var DefaultCoreConfig []byte
// Hooks contains the bundled hook script templates (core_config_generated.py/.js).
//
//go:embed hooks
var Hooks embed.FS