mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-21 20:45:33 +03:00
24 lines
510 B
Go
24 lines
510 B
Go
//go:build !next
|
|
|
|
package main
|
|
|
|
import (
|
|
"embed"
|
|
// 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.
|
|
|
|
//go:embed build
|
|
var clientBuildFS embed.FS
|
|
|
|
func main() {
|
|
home.Main(clientBuildFS)
|
|
}
|