AdGuardHome/main.go

19 lines
387 B
Go

package main
import (
"embed"
"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 build2
var clientBuildFS embed.FS
func main() {
home.Main(clientBuildFS)
}