在Debian上創建AppImage包,常用方法有以下兩種:
sudo apt update && sudo apt install appimagetool
。/path/to/your/app
。appimagetool your -app-name
,會自動生成包含依賴的.AppImage
文件。sudo apt update && sudo apt install linuxdeploy
。linuxdeployqt your -app-name --appimage
。生成后,使用chmod a+x your -app-name-x86_64.AppImage
賦予執行權限,即可運行。