summaryrefslogtreecommitdiff
path: root/bin/build-python
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-05-01 19:34:25 +0200
committerGitHub <noreply@github.com>2024-05-01 19:34:25 +0200
commit2ee4175437bbfcddf98e5eacba9b019113716ac8 (patch)
treeaff6c7c9adfc27f0f33ab4e14edcf17829dbb282 /bin/build-python
parenteb64c88a8bf9c8fe66c33a5309d28e526b994d25 (diff)
Remove electron entirely (#2859)
Co-authored-by: rejbasket
Diffstat (limited to 'bin/build-python')
-rwxr-xr-xbin/build-python8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/build-python b/bin/build-python
index cd3e84a2..e6fcf667 100755
--- a/bin/build-python
+++ b/bin/build-python
@@ -17,7 +17,7 @@ pyinstaller_args+="--log-level DEBUG "
# This adds bundle identifier in reverse DSN format for macos
if [ "$BUILD" = "osx" ]; then
pyinstaller_args+="--osx-bundle-identifier org.inkstitch.app "
- pyinstaller_args+="-i electron/build/icons/mac/inkstitch.icns "
+ pyinstaller_args+="-i images/inkstitch/mac/inkstitch.icns "
if [[ -z ${GITHUB_REF} ]]; then
echo "Dev or Local Build"
else
@@ -43,11 +43,11 @@ if [ "$BUILD" = "windows" ]; then
done;
sed -i'' 's/3, 2, 1,/'"${INFO_VERSION[0]}, ${INFO_VERSION[1]}, ${INFO_VERSION[2]},"'/' installer_scripts/file_version_info.txt
fi
- # set year and version in version_info
+ # set year and version in version_info
sed -i'' 's/1.1.1/'"${VERSION#v}"'/' installer_scripts/file_version_info.txt
sed -i'' 's/1234/'"${info_year}"'/' installer_scripts/file_version_info.txt
- # sets icon to inkstitch.exe
- pyinstaller_args+="--i electron/build/icons/win/inkstitch.ico "
+ # sets icon to inkstitch.exe
+ pyinstaller_args+="-i images/inkstitch/win/inkstitch.ico "
pyinstaller_args+="--version-file installer_scripts/file_version_info.txt "
python -m PyInstaller $pyinstaller_args inkstitch.py
elif [ "$BUILD" = "osx" ]; then