AdGuardHome/main.go

25 lines
510 B
Go
Raw Normal View History

2023-09-11 15:51:50 +01:00
//go:build !next
package main
import (
"embed"
2024-04-02 18:22:19 +01:00
// Embed tzdata in binary.
//
// See https://github.com/AdguardTeam/AdGuardHome/issues/6758
_ "time/tzdata"
"github.com/AdguardTeam/AdGuardHome/internal/home"
)
// Embed the prebuilt client here since we strive to keep .go files inside the
// internal directory and the embed package is unable to embed files located
// outside of the same or underlying directory.
2023-02-01 12:41:34 +00:00
//go:embed build
var clientBuildFS embed.FS
func main() {
home.Main(clientBuildFS)
}