Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit a3daa17

Browse files
authored
Merge pull request #80 from Romanitho/dev
Remove required admin rights on app install
2 parents 5e701e2 + c11c1bb commit a3daa17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Winget-Install-GUI.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ function Start-Installations {
275275

276276
#Run Winget-Install
277277
$WIInstallFile = (Resolve-Path $TestPath)[0].Path
278-
Start-Process "powershell.exe" -Argument "-NoProfile -ExecutionPolicy Bypass -Command `"$WIInstallFile -AppIDs $AppToInstall`"" -Wait -Verb RunAs
278+
Start-Process "powershell.exe" -Argument "-NoProfile -ExecutionPolicy Bypass -Command `"$WIInstallFile -AppIDs $AppToInstall`"" -Wait #-Verb RunAs -> Removing admin rights for user context apps
279279
}
280280

281281
## WAU PART ##

0 commit comments

Comments
 (0)