-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateZipFromDirectory exception on macOS Catalina (10.15) #1605
Comments
I'm having the same issue. |
@malept were you able to find any workaround to this issue, as I'm running into this as well when trying to build my app on macOS Catalina. I thought I might be able to just symlink wine to wine64 on my machine to force the use on wine64, but unfortunately that still results in the same error above. |
The workarounds that I know of that reliably work are:
|
same issue on catalina :( |
Please don't add "same issue"-type comments to this issue, it only adds noise to the folks subscribed to it. Instead, please add a reaction to the issue summary. |
I am waiting a solution for this bug too. ;) |
Same for me |
I'm also having this issue on Arch Linux with kernel 5.7.7 (so not MacOS exclusive). |
@mattfbacon install the 32-bit version of Wine. |
Hmm, I'm not sure what you mean, but I believe that you mean regenerate the .wine folder with |
@mattfbacon I still think you have a separate issue with a misconfigured wine (32 bit vs 64 bit). I would suggest (temporarily?) moving Any further questions about your wine install should go to the Arch Linux forum or the Wine forum, since this really isn't a Wine troubleshooting issue. |
temporary solution:
wine_proxy/wine:
|
I think it's better to support both wine and wine64 cmd dynamically so that we don't have to change anything by default, cuz brew install them both
Squirrel.Windows/src/Squirrel/Utility.cs Line 171 in 76c87af
Squirrel.Windows/src/Squirrel/Utility.cs Line 379 in 76c87af
Squirrel.Windows/src/Squirrel/Utility.cs Line 400 in 76c87af
|
Great approach! I managed to fix a series of issues when packaging Windows on MacOS 12.2 with cjahv's wrapper. Note: the right path of
Further memo about this topic: |
Hi all, I have the same issue today. And I had tried so many ways to solve it. And there's a workaround of it. |
For people still experiencing this issue try this, fixed the
|
@ToddAlvordMinerva Thx!!! It works fine for me. |
macOS is officially unsupported for Squirrel.Windows - if you get it to work, that's great, but tbh I recommend getting an actual Windows machine instead because even if you can build your Electron app on macOS, you're gonna have to test Windows before you ship something. You can set up CI via GitHub Actions to build an installer with some work |
Not everyone can afford a separate machine. Sending a windows installer to a friend or trusted user is much cheaper. Just because you can set up CI doesn't mean that's the most desirable solution. |
I believe this no-longer works :'( at least I could never get it to work. |
Squirrel version(s)
1.9.1 (as bundled in
electron-winstaller
4.0.0)Description
On macOS Catalina (10.15), 32-bit apps such as 32-bit wine can no longer be run. This means that running Windows apps with
wine
will not work. Instead, it should be usingwine64
.Steps to recreate
On macOS 10.15:
wine-stable
andmono
are installed (brew cask install xquartz wine-stable mono
)electron-winstaller
, orwine Squirrel.exe --releasify MyApp.1.0.0.nupkg
Expected behavior
Executes normally.
Actual behavior
Output:
Additional information
CI output where this occurred: https://app.circleci.com/pipelines/github/electron/windows-installer/81/workflows/fa34897f-dfa9-4a50-856a-34d3c1804c12/jobs/126
To work around this, I'm using macOS 10.14 in CI, but that doesn't help folks who are trying to use
electron-winstaller
on Catalina.I suspect it has something to do with this:
Squirrel.Windows/src/Squirrel/Utility.cs
Lines 399 to 402 in 1b7220b
My suggestion is to either:
wine
orwine64
accordinglyWINE
environment variable and fall back towine
The text was updated successfully, but these errors were encountered: