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 build is not working on windows #10

Open
dhufnagel opened this issue Aug 20, 2024 · 6 comments
Open

Electron build is not working on windows #10

dhufnagel opened this issue Aug 20, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@dhufnagel
Copy link

The build on windows fails due to electron package for Windows universal is not found:

• packaging platform=win32 arch=universal electron=29.1.6 appOutDir=release\0.1.0\win-universal-unpacked
⨯ cannot resolve https://github.com/electron/electron/releases/download/v29.1.6/electron-v29.1.6-win32-universal.zip: status code 404

If i remove "universal" from electron-builder.json for windows, the setup is created, but the application is not working as expected after the installation. The settings and monitored app views are not found:
image

@alanhamlett alanhamlett added the bug Something isn't working label Aug 20, 2024
@iam-rohid
Copy link
Contributor

Thanks, @dhufnagel for introducing this bug. I'm looking into it.

@iam-rohid iam-rohid self-assigned this Aug 20, 2024
@iam-rohid
Copy link
Contributor

Marged PR #11 should fix the issue "The settings and monitored app views are not found".

@dhufnagel
Copy link
Author

I think the builder still is not working, as the universal electron package is not available to download.

@iam-rohid
Copy link
Contributor

Can you share the whole build output log? And, Are you using an Intel/x64 Windows device?

@dhufnagel
Copy link
Author

Well I guess the provided log says all:

cannot resolve https://github.com/electron/electron/releases/download/v29.1.6/electron-v29.1.6-win32-universal.zip: status code 404

The electron-builder.json contains universal as platform, but electron does not provide universal as platform (anymore?):

"arch": ["x64", "arm64", "universal"]

If you remove the "unviersal" from the array, the build is working. But the file it tries to download for universals truely is not available: https://github.com/electron/electron/releases/download/v29.1.6/electron-v29.1.6-win32-universal.zip

@iam-rohid iam-rohid reopened this Aug 21, 2024
@gandarez
Copy link
Member

@dhufnagel It should be fixed with latest release, can you please download from here and let me know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants