File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -65,21 +65,7 @@ docker-run: docker-build
6565 demo
6666
6767appimage : $(TARGET )
68- @echo " Creating AppImage..."
69- @mkdir -p AppDir/usr/bin
70- @mkdir -p AppDir/usr/share/applications
71- @mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps
72- @cp $(TARGET ) AppDir/usr/bin/
73- @printf ' [Desktop Entry]\nType=Application\nName=Infix Demo\nExec=usr/bin/demo\nIcon=demo\nCategories=Game;\n' > AppDir/usr/share/applications/demo.desktop
74- @cp jack.png AppDir/usr/share/icons/hicolor/256x256/apps/demo.png
75- @ln -sf usr/share/applications/demo.desktop AppDir/demo.desktop
76- @ln -sf usr/share/icons/hicolor/256x256/apps/demo.png AppDir/demo.png
77- @ln -sf usr/bin/demo AppDir/AppRun
7868 @ARCH=$$ {ARCH:-x86_64}; \
79- wget -q -c https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$$ {ARCH}.AppImage -O appimagetool && \
80- chmod +x appimagetool && \
81- ./appimagetool AppDir InfixDemo-$$ {ARCH}.AppImage && \
82- rm -rf AppDir appimagetool && \
83- echo " AppImage created: InfixDemo-$$ {ARCH}.AppImage"
69+ ./utils/build-appimage.sh $$ {ARCH}
8470
8571.PHONY : all clean run debug appimage docker-build docker-run
You can’t perform that action at this time.
0 commit comments