diff --git a/build.bat b/build.bat index 476249c..add9262 100644 --- a/build.bat +++ b/build.bat @@ -84,7 +84,7 @@ set platformMac=x64 arm64 for %%a in (%platformWin%) do ( echo. - echo Building windows-%%a + echo Building Windows-%%a CALL electron-packager . ntfy-electron --asar --platform="win32" --arch="%%a" --icon="ntfy.ico" --overwrite --ignore=\"!IgnorePattern!\" --prune=true --out=!dir_build! --appCopyright="!Copyright!" --win32metadata.FileDescription="!FileDescription!" --win32metadata.ProductName="!ProductName!" --win32metadata.OriginalFilename="!OriginalFilename!" --win32metadata.CompanyName="!CompanyName!" powershell Compress-Archive -Path "!dir_build!/ntfy-electron-win32-%%a" -DestinationPath "!dir_dist!/ntfy-electron-windows-%%a.zip" diff --git a/build.sh b/build.sh index 93f03c0..30e6e20 100644 --- a/build.sh +++ b/build.sh @@ -44,6 +44,7 @@ mkdir -p "${dir_dist}" for i in "${platformWin[@]}" do + echo -e "Building Windows-${i}" electron-packager . ntfy-electron --asar --platform="win32" --arch="$i" --icon="ntfy.ico" --overwrite --ignore="${IgnorePattern}" --prune=true --out=${dir_build} --appCopyright="${Copyright}" --win32metadata.FileDescription="${FileDescription}" --win32metadata.ProductName="${ProductName}" --win32metadata.OriginalFilename="${OriginalFilename}" --win32metadata.CompanyName="${CompanyName}" zip -r -q -9 "${dir_dist}/ntfy-electron-windows-$i.zip" "${dir_build}/ntfy-electron-win32-$i" rm -r "${dir_build}/ntfy-electron-win32-$i" @@ -55,6 +56,7 @@ mkdir -p "${dir_dist}" for i in "${platformLinux[@]}" do + echo -e "Building Linux-${i}" electron-packager . ntfy-electron --asar --platform="linux" --arch="$i" --icon="ntfy.png" --overwrite --ignore="${IgnorePattern}" --prune=true --out=${dir_build} --appCopyright="${Copyright}" --win32metadata.FileDescription="${FileDescription}" --win32metadata.ProductName="${ProductName}" --win32metadata.OriginalFilename="${OriginalFilename}" --win32metadata.CompanyName="${CompanyName}" zip -r -q -9 "${dir_dist}/ntfy-electron-linux-$i.zip" "${dir_build}/ntfy-electron-linux-$i" rm -r "${dir_build}/ntfy-electron-linux-$i" @@ -66,6 +68,7 @@ mkdir -p "${dir_dist}" for i in "${platformMac[@]}" do + echo -e "Building MacOS-${i}" electron-packager . ntfy-electron --asar --platform="darwin" --arch="$i" --icon="ntfy.icns" --overwrite --ignore="${IgnorePattern}" --prune=true --out=${dir_build} --appCopyright="${Copyright}" --win32metadata.FileDescription="${FileDescription}" --win32metadata.ProductName="${ProductName}" --win32metadata.OriginalFilename="${OriginalFilename}" --win32metadata.CompanyName="${CompanyName}" zip -r -q -9 "${dir_dist}/ntfy-electron-mac-$i.zip" "${dir_build}/ntfy-electron-darwin-$i" rm -r "${dir_build}/ntfy-electron-darwin-$i"