From bdf983398f9631ed832386a09fd55a27cff05515 Mon Sep 17 00:00:00 2001 From: Kai O'Reilly Date: Thu, 25 Jan 2024 22:11:43 -0800 Subject: [PATCH] fixed app name setting location --- code/cmd/cogentcode/code.go | 1 - code/code/settings.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cmd/cogentcode/code.go b/code/cmd/cogentcode/code.go index 4ce07bd1..2629926b 100644 --- a/code/cmd/cogentcode/code.go +++ b/code/cmd/cogentcode/code.go @@ -18,7 +18,6 @@ import ( ) func main() { - gi.TheApp.SetName("CogentCode") pdir := gi.TheApp.AppDataDir() lfnm := filepath.Join(pdir, "cogentcode.log") diff --git a/code/code/settings.go b/code/code/settings.go index ff8d1d87..117d85c0 100644 --- a/code/code/settings.go +++ b/code/code/settings.go @@ -22,6 +22,7 @@ import ( ) func init() { + gi.TheApp.SetName("CogentCode") gi.AllSettings = slices.Insert(gi.AllSettings, 1, gi.Settings(Settings)) DefaultKeyMap = "MacEmacs" // todo SetActiveKeyMapName(DefaultKeyMap)