mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
Update App version to 0.0.2
This commit is contained in:
4
main.go
4
main.go
@@ -14,6 +14,7 @@ import (
|
||||
var appCtx context.Context
|
||||
|
||||
func Main() {
|
||||
SyncConfigSD(true)
|
||||
LoadConfig()
|
||||
|
||||
var cancel context.CancelFunc
|
||||
@@ -105,7 +106,6 @@ func Main() {
|
||||
logger.Warn().Err(err).Msg("failed to extract and run vpn bin")
|
||||
//TODO: prepare an error message screen buffer to show on kvm screen
|
||||
}
|
||||
|
||||
}()
|
||||
|
||||
// initialize usb gadget
|
||||
@@ -129,6 +129,8 @@ func Main() {
|
||||
// Initialize VPN
|
||||
initVPN()
|
||||
|
||||
initSystemInfo()
|
||||
|
||||
//Auto update
|
||||
//go func() {
|
||||
// time.Sleep(15 * time.Minute)
|
||||
|
||||
Reference in New Issue
Block a user