Loading build-macos-app.sh +0 −5 Original line number Diff line number Diff line Loading @@ -20,10 +20,5 @@ pip install pyinstaller ditto ../libs data/libs -V ditto ../models data/models -V # Comment lines 213-229 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 # Build macOS app via pyinstaller sudo pyinstaller launch.spec launch.py +4 −1 Original line number Diff line number Diff line Loading @@ -212,6 +212,9 @@ def main(): sys.exit(app.exec()) def prepare_environment(): if getattr(sys, 'frozen', False): print('Running as app, skip dependency installation') return req_updated = False if sys.platform == 'win32': Loading macos-build-script.sh +0 −5 Original line number Diff line number Diff line Loading @@ -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 213-229 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 # Build macOS app via pyinstaller sudo pyinstaller launch.spec Loading Loading
build-macos-app.sh +0 −5 Original line number Diff line number Diff line Loading @@ -20,10 +20,5 @@ pip install pyinstaller ditto ../libs data/libs -V ditto ../models data/models -V # Comment lines 213-229 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 # Build macOS app via pyinstaller sudo pyinstaller launch.spec
launch.py +4 −1 Original line number Diff line number Diff line Loading @@ -212,6 +212,9 @@ def main(): sys.exit(app.exec()) def prepare_environment(): if getattr(sys, 'frozen', False): print('Running as app, skip dependency installation') return req_updated = False if sys.platform == 'win32': Loading
macos-build-script.sh +0 −5 Original line number Diff line number Diff line Loading @@ -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 213-229 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 # Build macOS app via pyinstaller sudo pyinstaller launch.spec Loading