SwitchHosts
SwitchHosts copied to clipboard
如何打包 deb ?
System (Mac, Windows 7/8/10, Linux) / 操作系统
Debian GNU/Linux 10 (buster) aarch64
SwitchHosts! Version / SwitchHosts! 版本
4.0.2
Description / 描述
执行 npm run make 打包出来的是 AppImage ,但我还想打包 deb。
How to reproduce / 重现步骤
git clone https://github.com/oldj/SwitchHosts
cd SwitchHosts
npm install
npm run build
npm run make
cd dist
里面只有 AppImage
pi@raspberrypi:~/SwitchHosts/dist $ ls
builder-debug.yml __snap-arm64
builder-effective-config.yaml SwitchHosts-4.0.2-arm64.AppImage
linux-arm64-unpacked
还有一个问题,运行 AppImage 版的 SwitchHosts 会没有任务栏图标。

打包脚本里是包含 .deb 格式的,我这边执行 npm run make 能打包出 .deb 格式,你修改过 make.js 吗?
@oldj 我用的是 arm64 系统,执行 npm run make 只能打包出 AppImage,把 x64 改成 arm64 仍然只有 AppImage。