Explorar el Código

安装包默认管理员权限

wugren hace 3 años
padre
commit
58e15fcfd6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/lib/nsis-gen/NsisComposer.ts

+ 1 - 1
src/lib/nsis-gen/NsisComposer.ts

@@ -161,7 +161,7 @@ OutFile "\${_OUTPUT}"
 InstallDir "${ this.options.installDirectory }"
 InstallDirRegKey HKCU "Software\\\${_APPNAME}" "InstallDir"
 
-RequestExecutionLevel user
+RequestExecutionLevel admin
 XPStyle on`;
     }