Skip to content

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

Open
@hexaheximal

Description

@hexaheximal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions