17 lines
485 B
Go
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
|