snipplets.dev/projects/AppImage/build.sh
2024-03-20 00:21:51 +03:00

10 lines
303 B
Bash
Executable File

#!/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