Unverified Commit 01d554c0 authored by hyrulelinks's avatar hyrulelinks Committed by GitHub
Browse files

Update macos-build-script.sh

parent 70930c1f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -77,11 +77,6 @@ unzip 'libopencv_world.4.4.0.dylib.zip' -d data/libs
unzip 'libpatchmatch_inpaint.dylib.zip' -d data/libs
rm -rf libopencv_world.4.4.0.dylib.zip libpatchmatch_inpaint.dylib.zip

# Comment lines 217-233 of launch.py
cp launch.py launch.py.bak # backup launch.py
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