File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
content/en/installation/sdl2 Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,30 @@ or run `make sdl2-ncurses` to build Lem with the two interfaces in it. Then choo
54
54
export PATH="$HOME/common-lisp/lem:$PATH"
55
55
```
56
56
57
- #### Keyboard Layout
57
+ ### Make it an Application
58
+ To create an executable that you can run as a GUI you will need to use Automator.
59
+
60
+ - Launch Automator
61
+ - Choose 'Application' as the type for your document
62
+
63
+ You should now see three columns. In the second column there will be a collection of actions
64
+ that you can run in this 'application'. Scroll down until you see ` Run Shell Script ` . Double click
65
+ on this and on the right you should now see a text box where you can enter your script:
66
+
67
+ Replace the contents of this shell script with the following:
68
+
69
+ ``` zsh
70
+ source ~ /.zshrc
71
+ cd ~ /common-lisp/lem
72
+ ./lem -i sdl2 &
73
+ exit 0
74
+ ```
75
+
76
+ Save this as an application (this should be the default) with the name ` Lem ` to ` \Applications ` .
77
+
78
+ You should now be abel to run this as an application from the Applications folder.
79
+
80
+ ### Keyboard Layout
58
81
59
82
If your keyboard is a JIS layout, you need to put the following settings in ` $HOME/.lem/init.lisp `
60
83
You can’t perform that action at this time.
0 commit comments