diff --git a/pkg2appimage.yml b/pkg2appimage.yml deleted file mode 100644 index 0b4565c7..00000000 --- a/pkg2appimage.yml +++ /dev/null @@ -1,37 +0,0 @@ -app: v2rayN -binpatch: true - -ingredients: - script: - - export FileName="v2rayN-${AppImageOutputArch}.zip" - - wget -nv -O $FileName "https://github.com/2dust/v2rayN-core-bin/raw/refs/heads/master/${FileName}" - - 7z x $FileName -aoa - - cp -rf v2rayN-${AppImageOutputArch}/* $OutputPath - -script: - - mkdir -p usr/bin usr/lib - - cp -rf $OutputPath usr/lib/v2rayN - - echo "When this file exists, app will not store configs under this folder" > usr/lib/v2rayN/NotStoreConfigHere.txt - - ln -sf usr/lib/v2rayN/v2rayN usr/bin/v2rayN - - chmod a+x usr/lib/v2rayN/v2rayN - - find usr -type f -exec sh -c 'file "{}" | grep -qi "executable" && chmod +x "{}"' \; - - install -Dm644 usr/lib/v2rayN/v2rayN.png v2rayN.png - - install -Dm644 usr/lib/v2rayN/v2rayN.png usr/share/pixmaps/v2rayN.png - - cat > v2rayN.desktop < AppRun <<\EOF - - #!/bin/sh - - HERE="$(dirname "$(readlink -f "${0}")")" - - cd ${HERE}/usr/lib/v2rayN - - exec ${HERE}/usr/lib/v2rayN/v2rayN $@ - - EOF - - chmod a+x AppRun