Przeglądaj źródła

auto update script executed

Toby Chui 1 rok temu
rodzic
commit
d99395c9d6
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      mod/ganserv/authkeyLinux.go

+ 9 - 0
mod/ganserv/authkeyLinux.go

@@ -4,6 +4,15 @@
 
 package ganserv
 
+import (
+	"os/exec"
+	"os/user"
+	"path/filepath"
+	"strings"
+
+	"imuslab.com/zoraxy/mod/utils"
+)
+
 func readAuthTokenAsAdmin() (string, error) {
 	if utils.FileExists("./authtoken.secret") {
 		authKey, err := os.ReadFile("./authtoken.secret")