Skip to content

Electron + Windows 7 #397

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

Closed
1 task
MaikonPanazzolo opened this issue Apr 26, 2022 · 2 comments
Closed
1 task

Electron + Windows 7 #397

MaikonPanazzolo opened this issue Apr 26, 2022 · 2 comments

Comments

@MaikonPanazzolo
Copy link

2.0.1

Short overview

I'm using ElectronJS version 18.0.3 and running in my computer with Windows 11 and before 10 works fine but when I try to run
in my gf's notebook I got an error, and I have installed the necessary packages as mentioned in another issue ( #126 ) but still the same.

Issue occurs on

  • [ x] Virtual machine
  • Docker container
  • [ x] Dev/Host system

Detailed error description

[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: The specified procedure could not be found.
\?\C:\Users\Teste\Desktop\win-unpacked\resources\app\node_modules@nut-tree\libnut-win32\build\Release\libnut.node
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1812)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at bindings (C:\Users\Teste\Desktop\win-unpacked\resources\app\node_modules\bindings\bindings.js:112:48)
at Object. (C:\Users\Teste\Desktop\win-unpacked\resources\app\node_modules@nut-tree\libnut-win32\index.js:1:35)

[OK]

Steps to reproduce error

Just run any Electron app with the package installed

Additional content

Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)

@s1hofmann
Copy link
Member

Hi @MaikonPanazzolo 👋

Windows 7 is EOL and not considered for support.

If you want to get support on this, feel free to reach out to via my GH contact mail.

@MaikonPanazzolo
Copy link
Author

Apparently, I found the problem, the package is using a function that only exists from windows 10 forward:

SetThreadDpiAwarenessContext - screengrab.c

image

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

No branches or pull requests

2 participants