Make MacOS build executable

Right now the MacOS app doesn't work without marking it as executable
This commit is contained in:
Bas 2021-03-21 17:36:24 +01:00 committed by GitHub
parent 294c6ad459
commit 7564510507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,9 @@ jobs:
python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py
- name: See dist directory
run: ls dist
- name: Make executeable
run: |
chmod ug+x dist/ESPHome-Flasher.app/Contents/MacOS/ESPHome-Flasher
- name: Move app
run: |
mv dist/ESPHome-Flasher.app dist/ESPHome-Flasher-dev-macOS.app