imfile-io / imfile-desktop

A full-featured download manager.
https://imfile.io
MIT License
2.14k stars 51 forks source link

archlinux安装包,颜色定制,多下载格式支持 #25

Closed petercao closed 4 months ago

petercao commented 5 months ago

1.可以提供下archlinux上的安装包,之前motrix都是有的; 2.界面颜色等希望能给成可定制的,目前全黑; 3.希望百度盘,阿里盘,youtube等,磁力,bt种子,等等链接下载都能提供或者以插件提供

xihale commented 5 months ago

我制作了一个简单的 aur 包,你可以试试: https://aur.archlinux.org/packages/imfile-electron

# recommended
paru -S imfile-electron
# or use yay
yay -S imfile-electron
chenjia404 commented 5 months ago

https://github.com/imfile-io/imfile-desktop/releases

xihale commented 5 months ago

https://github.com/imfile-io/imfile-desktop/releases

如果可以直接提供 app.asar 文件, 那么 aur PKGBUILD 制作工作流将会简单不少, 同理, 其他系统的类似构造脚本也将变得简单很多. 生成的 asar 应该是跨平台的. 可以这样生成: bun run build:dir (运行 build:dir script ) 然后在 release/xxx/resources/ 下可以找到 经测试, 可以直接用系统自带 electron 运行(我是 v28.2.5) 不过这个还是得看有没有使用 特定版本的 electron api 导致不兼容问题 这样的话, 程序的体积可以缩小到 <=15Mib 如果减去 aria2c 甚至可以减小到 <=5Mib 在 Windows 上应该也可以类似

chenjia404 commented 5 months ago

我可以每次提供一个 app.asar ,这个应该和平台无关,我等会测试一下。

xihale commented 4 months ago

我可以每次提供一个 app.asar ,这个应该和平台无关,我等会测试一下。

没有看到 Release 里面的 .asar 文件,是遇到什么问题了吗?