Skip to content
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

electron-packager does not recognize 64-bit wine installations that do not include the wine64 command #1515

Open
3 tasks done
hexaheximal opened this issue Jun 12, 2023 · 3 comments
Labels

Comments

@hexaheximal
Copy link

Preflight Checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

  • Electron Packager Version:
    • 17.1.1
  • Electron Version:
    • 24.3.1
  • Operating System:
    • Debian 12 (bookworm) amd64

Expected Behavior

With 64-bit WINE installed via apt, it should build without any issues.

Actual Behavior

electron-packager checks for wine64, and fails to find it as debian does not package the wine64 command.

To Reproduce

Create an electron-packager app on Debian 12 (bookworm), install wine, and build for the win32 target.

Additional Information

An easy workaround for this issue is to simply create a wrapper script in the $PATH with the name wine64 that simply runs the regular wine command and passes the arguments provided to the script.

@welcome
Copy link

welcome bot commented Jun 12, 2023

👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@Properko
Copy link

I've had a similar issue with wine not working in our kubernetes/jenkins environment, but wine64 working fine.
I had no control on what electron-builder uses though, so I symlinked wine to wine64 via ln -sf /usr/bin/wine64 /usr/bin/wine

campersau added a commit to campersau/ungit that referenced this issue Oct 2, 2024
campersau added a commit to campersau/ungit that referenced this issue Oct 2, 2024
campersau added a commit to campersau/ungit that referenced this issue Oct 2, 2024
campersau added a commit to FredrikNoren/ungit that referenced this issue Oct 2, 2024
@campersau
Copy link
Contributor

Upstream issue: electron/windows-installer#513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants