在Debian上创建自定义AppImage,可参考以下步骤:
sudo apt update和sudo apt install appimagetool linuxdeploy,安装打包所需的工具。/appimage。/appimage目录下,创建应用程序的目录结构,如MyApp.AppDir,并将可执行文件放入其中。MyApp.AppDir/usr/bin下创建启动脚本,如myapp-start.sh,并赋予执行权限。MyApp.AppDir/usr/share/applications下创建.desktop文件,指定应用程序的名称、图标、执行路径等信息。MyApp.AppDir目录,并在桌面文件中正确引用。appimagetool MyApp.AppDir命令生成AppImage文件,文件名格式为MyApp-x86_64.AppImage(具体依系统架构而定)。