dromara / dromara/electron-egg

在demo中设置了管理员权限后,构建免安装程序,程序无法运行

Open
#177 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.5k
Forks
336
PR merge metrics
No merged PRs in 30d

Description

拉了demo分支代码,修改builder.json配置:

Image

在命令行执行 npm run build-we 后,免安装程序图标右下角没有盾牌,双击也无法运行。右键以管理员身份运行则正常。

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue from the demo branch after changing builder.json and running npm run build-we. Start by checking the Windows packaging and administrator-permission settings represented in builder.json; done means the generated portable program launches normally without requiring the user to choose “Run as administrator.”

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
build-system, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.