Skip to content

Commit b4f9011

Browse files
committed
feat: run installed app elevated for full-drive coverage
Set win.requestedExecutionLevel = requireAdministrator so the packaged exe manifest requests UAC elevation on every launch. This lets the scanner read protected/locked files (pagefile.sys, hiberfil.sys, other users dirs, protected Windows folders) that were previously skipped, so the scan total now matches the drive's actual used space. Verified the embedded manifest.
1 parent 0d0418c commit b4f9011

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
],
5454
"win": {
5555
"icon": "public/icons/icon-256.ico",
56+
"requestedExecutionLevel": "requireAdministrator",
5657
"target": [
5758
{
5859
"target": "nsis",

0 commit comments

Comments
 (0)