diff --git a/electron-builder.json b/electron-builder.json index 59a37b2b..41bc3fc3 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -20,6 +20,7 @@ }, "win": { "target": ["zip", "nsis"], + "requestedExecutionLevel": "requireAdministrator", "icon": "./dist/ucap-webmessenger-electron/resources/image/16_16.ico" }, "linux": { @@ -30,7 +31,8 @@ "oneClick": true, "allowToChangeInstallationDirectory": false, "perMachine": false, - "differentialPackage": true + "differentialPackage": true, + "deleteAppDataOnUninstall": true }, "directories": { "buildResources": "./dist/ucap-webmessenger-electron/resources/installer/",