AppImage example

This commit is contained in:
2024-03-20 00:21:51 +03:00
parent 1cb337c7b1
commit c7fd1da457
6 changed files with 56 additions and 0 deletions

9
projects/AppImage/build.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# build executable
tcc example_app.c -lGL -lglfw -o MyApp.AppDir/usr/bin/myapp
# build icon
# ICON=MyApp.AppDir/myapp.png
# [ ! -f $ICON ] && convert /usr/share/icons/breeze/apps/48/smartgit.svg -transparent white $ICON
cp /usr/share/icons/breeze/apps/48/smartgit.svg MyApp.AppDir/myapp.svg