File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -174,21 +174,12 @@ jobs:
174174 - name : Set permissions
175175 if : ${{ !startsWith(matrix.rid, 'win-') }}
176176 run : |
177- if [ -f YoutubeDownloader/YoutubeDownloader ]; then
178- chmod +x YoutubeDownloader/YoutubeDownloader
179- fi
177+ [ -f YoutubeDownloader/YoutubeDownloader ] && chmod +x YoutubeDownloader/YoutubeDownloader
178+ [ -f YoutubeDownloader/ffmpeg ] && chmod +x YoutubeDownloader/ffmpeg
180179
181- if [ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader ]; then
182- chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader
183- fi
184-
185- if [ -f YoutubeDownloader/ffmpeg ]; then
186- chmod +x YoutubeDownloader/ffmpeg
187- fi
188-
189- if [ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg ]; then
190- chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg
191- fi
180+ # macOS bundle
181+ [ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader] && chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/YoutubeDownloader
182+ [ -f YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg ] && chmod +x YoutubeDownloader/YoutubeDownloader.app/Contents/MacOS/ffmpeg
192183
193184 - name : Create package
194185 # Change into the artifacts directory to avoid including the directory itself in the zip archive
You can’t perform that action at this time.
0 commit comments