-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autobuilds: Create AppImage for linux
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[Desktop Entry] | ||
Name=LegacyClonk | ||
Type=Application | ||
Comment=A highly versatile multiplayer game of strategy, action, skill, and endless fun. | ||
Icon=legacyclonk | ||
Categories=Game;ActionGame; | ||
MimeType=application/x-vnd.clonk.c4key;application/vnd.clonk.c4group;application/vnd.clonk.c4group.definition;application/vnd.clonk.c4group.folder;application/vnd.clonk.c4group.player;application/vnd.clonk.c4group.update;application/vnd.clonk.c4group.scenario;x-scheme-handler/clonk; | ||
StartupNotify=true | ||
StartupWMClass=LegacyClonk | ||
Exec=clonk %u | ||
Actions=join;lobby;console; | ||
|
||
[Desktop Action join] | ||
Name=Join Game | ||
Exec=clonk /startup:net | ||
|
||
[Desktop Action lobby] | ||
Name=Create Lobby | ||
Exec=clonk /startup:netscen | ||
|
||
[Desktop Action console] | ||
Name=Developer Mode | ||
Exec=clonk /console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
LINUXDEPLOY_VERSION=1-alpha-20220822-1 | ||
|
||
curl -L -o linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/$LINUXDEPLOY_VERSION/linuxdeploy-x86_64.AppImage" | ||
curl -L -O "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh" | ||
chmod +x linuxdeploy linuxdeploy-plugin-gtk.sh | ||
|
||
convert -resize 512x512 src/res/lc.png legacyclonk.png | ||
|
||
OUTPUT=output/clonk.AppImage ./linuxdeploy --plugin gtk --desktop-file=src/res/io.github.legacyclonk.LegacyClonk.desktop --icon-file=legacyclonk.png --appdir=AppDir --executable=build/clonk --output=appimage |