2022-04-26 17:50:09 +00:00
|
|
|
//go:build !v1
|
|
|
|
// +build !v1
|
|
|
|
|
2019-06-10 08:33:19 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-05-21 11:55:42 +00:00
|
|
|
"embed"
|
|
|
|
|
2020-10-30 10:32:02 +00:00
|
|
|
"github.com/AdguardTeam/AdGuardHome/internal/home"
|
2019-06-10 08:33:19 +00:00
|
|
|
)
|
|
|
|
|
2021-12-16 17:54:59 +00: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.
|
|
|
|
|
2021-05-21 11:55:42 +00:00
|
|
|
//go:embed build build2
|
|
|
|
var clientBuildFS embed.FS
|
|
|
|
|
2019-06-10 08:33:19 +00:00
|
|
|
func main() {
|
2021-05-21 11:55:42 +00:00
|
|
|
home.Main(clientBuildFS)
|
2019-06-10 08:33:19 +00:00
|
|
|
}
|