diff --git a/.github/workflows/auto_aur_release_stable.yml b/.github/workflows/auto_aur_release_stable.yml index 1d592dfbd45..48d1214157c 100644 --- a/.github/workflows/auto_aur_release_stable.yml +++ b/.github/workflows/auto_aur_release_stable.yml @@ -66,13 +66,6 @@ jobs: install -Dm755 \${_pkgname} "\${pkgdir}/\${_installdir}/siyuan.AppImage" install -Dm644 "squashfs-root/resources/stage/icon.png" "\${pkgdir}/usr/share/icons/hicolor/512x512/apps/siyuan-bin.png" install -Dm644 "squashfs-root/siyuan.desktop" "\${pkgdir}/usr/share/applications/siyuan-bin.desktop" - - if [ ! -f "${pkgdir}/usr/bin/siyuan" ]; then - mkdir -p "${pkgdir}/usr/bin" - echo '#!/bin/sh' > "${pkgdir}/usr/bin/siyuan" - echo "exec ${_installdir}/siyuan.AppImage" >> "${pkgdir}/usr/bin/siyuan" - chmod 755 "${pkgdir}/usr/bin/siyuan" - fi } EOF