Win.PowerShell([`Unblock-File -Path "${__dirname}\\PowerShellScripts\\AudioDetection.ps1"`, `${__dirname}\\PowerShellScripts\\AudioDetection.ps1 input`], result => {
but it throws a new error so I'm not sure what's the problem:
Error: D:\11\node_modules\windows-interact\PowerShellScripts\AudioDetection.ps1 : File
D:\11\node_modules\windows-interact\PowerShellScripts\AudioDetection.ps1 cannot be loaded
because running scripts is disabled on this system.
It throws a powershell error:
I tried to change this part of the code: https://github.com/Arlodotexe/windows-interact/blob/06690030d9894f660c36f3330c9a5d8fc7cdb342/windows-interact.js#L1214 to
but it throws a new error so I'm not sure what's the problem: