






















For very weird reasons, the current cherry-studio-electron.sh is not working correctly. It launches an empty electron41 window instead. Running electron41 /usr/bin/cherry-studio-electron/app.asar lanuches the app correctly.
@txyyh Yes, the upstream had deleted it. Maybe it will come soon.
Can't build version 1.9.0, because it don't exist at now.
@linux_voyager We just need the stable verion !
@bkun31 Thanks for your feedback, fixed already.
Hi,
The app currently fails at runtime with an ENOENT error because it expects the app.asar.unpacked directory to exist, but the current package() function flattens the structure.
Problem: Using ${subdir}/* copies the contents but not the folder itself.
Proposed Fix:
In the package() function (in the PKGBUILD), please change:
cp -Pr --no-preserve=ownership "${subdir}"/* "${pkgdir}/usr/lib/${pkgname%-bin}"
to:
cp -Pr --no-preserve=ownership "${subdir}" "${pkgdir}/usr/lib/${pkgname%-bin}/"
Removing the /* ensures that the app.asar.unpacked directory (and any others) is created correctly in /usr/lib/${pkgname%-bin}/. This allows modules like font-list to be located by the application.
Package not building.
==> Retrieving sources...
-> Found LICENSE-1.7.16
-> Found cherry-studio-electron.sh
-> Downloading cherry-studio-electron-1.7.16-x86_64.rpm...
HTTP ERROR response 404 [https://github.com/CherryHQ/cherry-studio/releases/download/v1.7.16/Cherry-Studicherry-studio-electr 100% [=======================================================>] 9 --.-KB/s
[Files: 0 Bytes: 9 [17 B/s] Redirects: 0 Todo: 0 Erro]
==> ERROR: Failure while downloading https://github.com/CherryHQ/cherry-studio/releases/download/v1.7.16/Cherry-Studio-1.7.16-x86_64.rpm
Aborting...
error: failed to download sources for 'cherry-studio-electron-bin-1.7.16-1':
error: packages failed to build: cherry-studio-electron-bin-1.7.16-1
Only .zip and .tar.gz source code packages are current available in the 1.7.16 release page. Will the rpm package be available soon?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@shanoaice Thanks for your feedback, fixed it.