Clean up chmod
s
This commit is contained in:
parent
bb50d8f1e9
commit
6c20aa5cc9
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -174,21 +174,12 @@ jobs:
|
|||||||
- name: Set permissions
|
- name: Set permissions
|
||||||
if: ${{ !startsWith(matrix.rid, 'win-') }}
|
if: ${{ !startsWith(matrix.rid, 'win-') }}
|
||||||
run: |
|
run: |
|
||||||
if [ -f YoutubeDownloader/YoutubeDownloader ]; then
|
[ -f YoutubeDownloader/YoutubeDownloader ] && chmod +x YoutubeDownloader/YoutubeDownloader
|
||||||
chmod +x YoutubeDownloader/YoutubeDownloader
|
[ -f YoutubeDownloader/ffmpeg ] && chmod +x YoutubeDownloader/ffmpeg
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader ]; then
|
# macOS bundle
|
||||||
chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader
|
[ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader] && chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader
|
||||||
fi
|
[ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg ] && chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg
|
||||||
|
|
||||||
if [ -f YoutubeDownloader/ffmpeg ]; then
|
|
||||||
chmod +x YoutubeDownloader/ffmpeg
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg ]; then
|
|
||||||
chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg
|
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user