mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-13 14:34:35 +03:00
d4fff41b3a
Closes #6758. Squashed commit of the following: commit d62b4271d9861e328a1d5cd9f57123ddb5fadb40 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Tue Apr 2 18:25:34 2024 +0300 all: add docs commit bb129d749fa94926150e301a58f13ee3be78eca0 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Tue Apr 2 17:04:42 2024 +0300 all: upd chlog commit 59573d9869668ff9ddb1ef7d646a034799882bf8 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Tue Apr 2 15:38:42 2024 +0300 all: embed tzdata
25 lines
510 B
Go
25 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)
|
|
}
|