Package Details: xunscore-bin 1.3.13.03-3

Git Clone URL: https://aur.archlinux.org/xunscore-bin.git (read-only, click to copy)
Package Base: xunscore-bin
Description: A music notation software, let you easily create and share sheet music. The editor is called "xūn", is hoping it will be a better balance between the Chinese national music
Upstream URL: https://www.xunscore.cn
Keywords: music music-notation
Licenses: LicenseRef-custom
Conflicts: xunscore
Provides: xunscore
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 0
Popularity: 0.000000
First Submitted: 2023-03-30 08:43 (UTC)
Last Updated: 2024-10-15 02:38 (UTC)

Latest Comments

zxp19821005 commented on 2024-10-15 02:38 (UTC)

@taotieren 感谢反馈,已经上传到AUR仓库,并且添加了程序图标。

taotieren commented on 2024-10-14 06:16 (UTC) (edited on 2024-10-14 06:30 (UTC) by taotieren)

LICENSE 文件能内置到 AUR 仓库中吗?现在 gitee 需要登录才能下载文件。或者换 github 等其他免登录的托管服务器地址。

...
<div class='header'>
登录提示
</div>
<div class='container actions'>
<div class='content'>
该操作需登录 Gitee 帐号,请先登录后再操作。
</div>
<div class='ui orange icon large button ok'>
立即登录
</div>
<div class='ui button blank cancel'>
没有帐号,去注册
...

测试发现改成用原始地址方式下载,不用登陆。下载地址是

https://gitee.com/xunscore/xunapp/raw/master/README.md

zxp19821005 commented on 2024-10-14 04:15 (UTC)

@taotieren 感谢反馈,是我没注意修改脚本中的变量,已修复。

taotieren commented on 2024-10-13 13:28 (UTC) (edited on 2024-10-13 13:36 (UTC) by taotieren)

运行时提示找不到变量,查看源码发现是 _ASAR ,发现没找到相关定义。

❯ xunscore
/usr/bin/xunscore: 第 11 行:exec: : 未找到
#!/bin/bash
set -o pipefail
_APPDIR="/usr/lib/xunscore"
_RUNNAME="${_APPDIR}/xunscore"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${_APPDIR}/plugins:${QT_PLUGIN_PATH}"
export QML_IMPORT_PATH="${_APPDIR}/qml:${QML_IMPORT_PATH}"
export QML2_IMPORT_PATH="${_APPDIR}/qml:${QML2_IMPORT_PATH}"
cd "${_APPDIR}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; }
exec "${_ASAR}" "$@" || exit $?%                      
LICENSE 文件校验值不通过,也需要更新。

修改后

#!/bin/bash
set -o pipefail
_APPDIR="/usr/lib/@appname@"
_RUNNAME="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${_APPDIR}/plugins:${QT_PLUGIN_PATH}"
export QML_IMPORT_PATH="${_APPDIR}/qml:${QML_IMPORT_PATH}"
export QML2_IMPORT_PATH="${_APPDIR}/qml:${QML2_IMPORT_PATH}"
cd "${_APPDIR}" || {
    echo "Failed to change directory to ${_APPDIR}"
    exit 1
}
exec "${_RUNNAME}" "$@" || exit $?