pjlt / lanthing-pc

BSD 3-Clause "New" or "Revised" License
92 stars 12 forks source link

主动请求管理员权限 #142

Closed numbaa closed 9 months ago

numbaa commented 10 months ago

当前做法是编译时加链接参数,让app.exe使用管理员启动。但在有些环境下启动时不会弹管理员,因此需要用代码的方式主动请求管理员。

numbaa commented 10 months ago

完成编码,等待验证

numbaa commented 9 months ago

close