我尝试使用 js electro 将网站转换为桌面应用程序,但在构建我的 exe 应用程序时发现了这个问题:
electron-builder : File C:\Users\firas lweti\AppData\Roaming\npm\electron-builder.ps1 cannot be loaded because running
scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ electron-builder --win
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
我需要将我的网站转换为桌面应用
最佳答案
关于javascript - 无法加载 electro-builder.ps1,因为正在运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74239583/