Unverified Commit 7f279d41 authored by hyrulelinks's avatar hyrulelinks Committed by GitHub
Browse files

Update build-macos-app.sh

parent a5e81325
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -20,10 +20,10 @@ pip install pyinstaller
ditto ../libs data/libs -V
ditto ../models data/models -V

# Comment lines 213-229 of launch.py
# Comment lines 217-233 of launch.py
cp launch.py launch.py.bak # backup launch.py
sed -i '' '213,229s|^| \#|' launch.py # comment specfied lines
sed -n '213,229p' launch.py # check if comment is successful
sed -i '' '217,233s|^| \#|' launch.py # comment specfied lines
sed -n '217,233p' launch.py # check if comment is successful

# Build macOS app via pyinstaller
sudo pyinstaller launch.spec