aredden / electron-G14Control

Electron desktop application replacement for G14ControlR3.
MIT License
209 stars 27 forks source link

App can't start #80

Open chuan0418-com opened 2 years ago

chuan0418-com commented 2 years ago

image I can't start the app, it pops up this error. I'm using windows 11, and it actually work fine before days.

aredden commented 2 years ago

Did you start with admin permissions?

chuan0418-com commented 2 years ago

Did you start with admin permissions?

Yes. I'd even reinstall serveral times and it didn't work for me.

aredden commented 2 years ago

I'm thinking it might have to be something like.. the "Allow local powershell scripts to run without signing" windows setting?

chuan0418-com commented 2 years ago

Scope ExecutionPolicy ----- --------------- MachinePolicy Undefined UserPolicy Undefined Process Bypass CurrentUser Bypass LocalMachine Bypass

I enter Get-ExecutionPolicy -List and it show up these setting. But the app still show up the error. Is my setting correct?

aredden commented 2 years ago

Well I know it's some sort of permission issue, since that's what an EPERM error is. It's probably related to powershell. Do you not have powershell installed? This is the file in question: https://github.com/aredden/electron-G14Control/blob/main/electron/src/IPCEvents/ComputerInfo.ts ..

aminbahjati commented 2 years ago
image image

I faced this problem today and these two errors raised. What should I do?