summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 04:36:35 -0500
committerJeff Carr <[email protected]>2025-03-10 04:36:35 -0500
commitf9515280cf8ee5dd71be3b8e749e6405c4e77ca6 (patch)
tree6290b07ea07284ec0234146cb3a193a7dbd6c80c /main.go
parent30a5eb56a210c28feca0098fd9e6dc340f494b9f (diff)
make admin mode
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index fe35788..843278e 100644
--- a/main.go
+++ b/main.go
@@ -37,6 +37,11 @@ func main() {
os.Setenv("VIRTIGO_HOME", fullpath)
}
+ if argv.Server != "" {
+ doAdminGui()
+ okExit("admin close")
+ }
+
// set defaults
me.unstable = time.Now() // initialize the grid as unstable
me.changed = false