Skip to content

Commit

Permalink
feat: fix windows build #3
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jan 16, 2024
1 parent 39a4a8f commit 44179c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/make-distributions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ rm -rf ../dist


platform=$(uname | tr '[:upper:]' '[:lower:]')

if [[ $platform == mingw64_nt* ]]; then
platform="win32"
fi

echo "make distributions, platform: ${platform}"

npx electron-forge make --arch="x64" --platform="${platform}"
Expand Down

0 comments on commit 44179c9

Please sign in to comment.