File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,7 @@ function remove_micropolis() {
29
29
30
30
function configure_micropolis() {
31
31
local binary=" /usr/games/micropolis"
32
- ! isPlatform " x11" && binary=" XINIT: $md_inst / micropolis.sh "
32
+ ! isPlatform " x11" && binary=" XINIT-WM:/usr/bin/ micropolis"
33
33
34
34
addPort " $md_id " " micropolis" " Micropolis" " $binary "
35
-
36
- mkdir -p " $md_inst "
37
- cat > " $md_inst /micropolis.sh" << _EOF_
38
- #!/bin/bash
39
- xset -dpms s off s noblank
40
- matchbox-window-manager &
41
- /usr/games/micropolis
42
- _EOF_
43
- chmod +x " $md_inst /micropolis.sh"
44
35
}
Original file line number Diff line number Diff line change @@ -29,13 +29,5 @@ function remove_minecraft() {
29
29
}
30
30
31
31
function configure_minecraft() {
32
- addPort " $md_id " " minecraft" " Minecraft" " XINIT:$md_inst /Minecraft.sh"
33
-
34
- cat > " $md_inst /Minecraft.sh" << _EOF_
35
- #!/bin/bash
36
- xset -dpms s off s noblank
37
- matchbox-window-manager &
38
- /usr/bin/minecraft-pi
39
- _EOF_
40
- chmod +x " $md_inst /Minecraft.sh"
32
+ addPort " $md_id " " minecraft" " Minecraft" " XINIT-WM:/usr/bin/minecraft-pi"
41
33
}
You can’t perform that action at this time.
0 commit comments