Clean up chmods

This commit is contained in:
Tyrrrz 2025-06-25 19:27:26 +03:00
parent d071459a5b
commit adafaaa49d

View file

@ -213,13 +213,10 @@ jobs:
- name: Set permissions - name: Set permissions
if: ${{ !startsWith(matrix.rid, 'win-') }} if: ${{ !startsWith(matrix.rid, 'win-') }}
run: | run: |
if [ -f ${{ matrix.app }}/${{ matrix.asset }} ]; then [ -f ${{ matrix.app }}/${{ matrix.asset }} ] && chmod +x ${{ matrix.app }}/${{ matrix.asset }}
chmod +x ${{ matrix.app }}/${{ matrix.asset }}
fi
if [ -f ${{ matrix.app }}/${{ matrix.asset }}.app/Contents/MacOS/${{ matrix.asset }} ]; then # macOS bundle
chmod +x ${{ matrix.app }}/${{ matrix.asset }}.app/Contents/MacOS/${{ matrix.asset }} [ -f ${{ matrix.app }}/${{ matrix.asset }}.app/Contents/MacOS/${{ matrix.asset }} ] && chmod +x ${{ matrix.app }}/${{ matrix.asset }}.app/Contents/MacOS/${{ matrix.asset }}
fi
- name: Create package - name: Create package
# Change into the artifacts directory to avoid including the directory itself in the zip archive # Change into the artifacts directory to avoid including the directory itself in the zip archive