From 8879ecf0dd73529aab9ce857e480fcc32a5ad4db Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Wed, 27 Feb 2019 23:00:32 +0100 Subject: [PATCH] Make sure the compiled app will be run as admin. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d38826a..d05ebb3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "main.js", "scripts": { "start": "electron .", - "build": "electron-packager . RyzenController --platform=win32 --arch=x64" + "build": "electron-packager . RyzenController --platform=win32 --arch=x64 --win32metadata.requested-execution-level=requireAdministrator" }, "repository": "https://gitlab.com/le.storm1er/ryzen-controller", "keywords": [