Fix GUI instance counts and launcher tmp paths

This commit is contained in:
every_holiday committed 2026-06-25 02:36:55 +09:00
1 parent 23d5fcfcda
commit 75f2d8b9c2
24 files changed
+2479 -20

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package common
import (
"os"
"path/filepath"
)
func RuntimeBaseDir() string {
exe, err := os.Executable()
if err == nil {
return filepath.Dir(exe)
}
return "."
}
func RootDir() string { return RuntimeBaseDir() }