Build an AppImage. Why not?
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 6m27s
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 6m27s
This commit is contained in:
parent
4af5e8ec42
commit
95d036e34a
13
GNUmakefile
13
GNUmakefile
@ -1066,6 +1066,19 @@ $(IOS_DEPS):
|
|||||||
$(filter $(BUILD_DIR)/ios%,$(APP_OBJS)): | $(IOS_DEPS)
|
$(filter $(BUILD_DIR)/ios%,$(APP_OBJS)): | $(IOS_DEPS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
out/Tilde_Friends-x86_64.AppImage: out/release/tildefriends out/data.zip
|
||||||
|
@mkdir -p out/AppDir/usr/bin
|
||||||
|
@mkdir -p out/AppDir/usr/share/applications
|
||||||
|
@mkdir -p out/AppDir/usr/share/icons/hicolor/scalable/apps
|
||||||
|
@echo "[Desktop Entry]\nName=Tilde Friends\nExec=tildefriends\nIcon=tildefriends\nType=Application\nCategories=Network" > out/AppDir/usr/share/applications/tildefriends.desktop
|
||||||
|
@cp src/ios/tildefriends.svg out/AppDir/usr/share/icons/hicolor/scalable/apps/
|
||||||
|
@cat out/release/tildefriends out/data.zip > out/AppDir/usr/bin/tildefriends
|
||||||
|
@chmod +x out/AppDir/usr/bin/tildefriends
|
||||||
|
@unset SOURCE_DATE_EPOCH; cd out; linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage; cd ..
|
||||||
|
|
||||||
|
appimage: out/Tilde_Friends-x86_64.AppImage
|
||||||
|
.PHONY: appimage
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILD_DIR)
|
rm -rf $(BUILD_DIR)
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user