Skip to content

Commit

Permalink
fixed app name setting location
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Jan 26, 2024
1 parent a0cd5e8 commit bdf9833
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion code/cmd/cogentcode/code.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
)

func main() {
gi.TheApp.SetName("CogentCode")
pdir := gi.TheApp.AppDataDir()
lfnm := filepath.Join(pdir, "cogentcode.log")

Expand Down
1 change: 1 addition & 0 deletions code/code/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
)

func init() {
gi.TheApp.SetName("CogentCode")

Check failure on line 25 in code/code/settings.go

View workflow job for this annotation

GitHub Actions / build

undefined: gi.TheApp
gi.AllSettings = slices.Insert(gi.AllSettings, 1, gi.Settings(Settings))
DefaultKeyMap = "MacEmacs" // todo
SetActiveKeyMapName(DefaultKeyMap)
Expand Down

0 comments on commit bdf9833

Please sign in to comment.