Default GUI override dir

If STGUIASSETS is not set, look for assets in $confdir/gui by default.
Simplifies deploying overrides and stuff.
This commit is contained in:
Jakob Borg
2015-06-14 22:28:38 +02:00
parent 1437952aee
commit 7c23b32de3
2 changed files with 6 additions and 0 deletions

View File

@@ -252,6 +252,10 @@ func main() {
l.Fatalln(err)
}
if guiAssets == "" {
guiAssets = locations[locGUIAssets]
}
if runtime.GOOS == "windows" {
if logFile == "" {
// Use the default log file location