Release 4.0.0+1: rebrand Navis → EvilFox; centralized Remnawave auto-provisioning (panel credentials baked into binary); remove Remnawave API UI; Windows 4.0.0.1.

Keep dist/navis-release/ path and ship Navis.exe as a same-hash alias of EvilFox.exe so 3.x clients can still update from the Windows branch feed.
This commit is contained in:
Navis
2026-08-01 20:06:25 +03:00
parent e76c0a0977
commit 1144fab54d
32 changed files with 280 additions and 243 deletions
+13 -1
View File
@@ -76,6 +76,18 @@ type PingBestResult struct {
func New(mgr *core.Manager, cfgPath string, logBuf *bytes.Buffer) *App {
// Monthly plan upkeep: check at start and then periodically.
mgr.StartAutoRenew(6 * time.Hour)
// NordVPN-style: silently issue a panel account + import configs.
go func() {
time.Sleep(2 * time.Second)
if !mgr.ProvisionConfigured() {
return
}
if out, err := mgr.EnsureAutoProvision(); err != nil {
fmt.Fprintf(logBuf, "auto-provision: %v\n", err)
} else if out.Created {
fmt.Fprintf(logBuf, "auto-provision: создан %s · серверов %d\n", out.Username, out.Imported)
}
}()
return &App{
Mgr: mgr,
CfgPath: cfgPath,
@@ -410,7 +422,7 @@ func (a *App) ApplyUpdate() (string, error) {
os.Exit(0)
}()
}
return "Устанавливается v" + latest + "… Navis перезапустится.", nil
return "Устанавливается v" + latest + "… EvilFox перезапустится.", nil
}
func (a *App) AutoCheckUpdate() {