Skip to content

Commit

Permalink
fix(spec): remove spec file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed Mar 18, 2024
1 parent d6a7577 commit 4ab9a5a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions plenopticam/scripts/bundling/pyinst2app_gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ pyinstaller plenopticam/gui/top_level.py \
version=$(sed -ne 's@__version__ = \([^]]*\)@\1@gp' plenopticam/__init__.py)

# add config to spec file
sudo sed -i -e '$ d' ./plenopticam.spec
echo " bundle_identifier=None," >> ./plenopticam.spec
echo " info_plist={" >> ./plenopticam.spec
echo " 'NSHighResolutionCapable': 'True'," >> ./plenopticam.spec
echo " 'PyRuntimeLocations': $version," >> ./plenopticam.spec
echo " 'CFBundleShortVersionString': $version," >> ./plenopticam.spec
echo " 'CFBundleVersion': $version" >> ./plenopticam.spec
echo " }," >> ./plenopticam.spec
echo " )" >> ./plenopticam.spec
#sudo sed -i -e '$ d' ./plenopticam.spec
#echo " bundle_identifier=None," >> ./plenopticam.spec
#echo " info_plist={" >> ./plenopticam.spec
#echo " 'NSHighResolutionCapable': 'True'," >> ./plenopticam.spec
#echo " 'PyRuntimeLocations': $version," >> ./plenopticam.spec
#echo " 'CFBundleShortVersionString': $version," >> ./plenopticam.spec
#echo " 'CFBundleVersion': $version" >> ./plenopticam.spec
#echo " }," >> ./plenopticam.spec
#echo " )" >> ./plenopticam.spec

# re-run pyinstaller with extended spec file
sudo pyinstaller plenopticam.spec --noconfirm
Expand Down

0 comments on commit 4ab9a5a

Please sign in to comment.