2022-10-04 14:02:55 +01:00
|
|
|
//go:build next
|
|
|
|
// +build next
|
2022-04-26 18:50:09 +01:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"embed"
|
|
|
|
|
2022-10-04 14:02:55 +01:00
|
|
|
"github.com/AdguardTeam/AdGuardHome/internal/next/cmd"
|
2022-04-26 18:50:09 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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-01-23 09:47:59 +00:00
|
|
|
//go:embed build
|
2022-04-26 18:50:09 +01:00
|
|
|
var clientBuildFS embed.FS
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
cmd.Main(clientBuildFS)
|
|
|
|
}
|