mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-16 18:38:52 -07:00
22 lines
410 B
Go
22 lines
410 B
Go
|
//go:build v1
|
||
|
// +build v1
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"embed"
|
||
|
|
||
|
"github.com/AdguardTeam/AdGuardHome/internal/v1/cmd"
|
||
|
)
|
||
|
|
||
|
// 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 build2
|
||
|
var clientBuildFS embed.FS
|
||
|
|
||
|
func main() {
|
||
|
cmd.Main(clientBuildFS)
|
||
|
}
|