fix(winget): add switches to install silently

This commit is contained in:
Jan De Dobbeleer 2021-12-30 19:02:55 +01:00 committed by Jan De Dobbeleer
parent 53470eb3cb
commit b93ab4e82d
2 changed files with 21 additions and 1 deletions

View file

@ -9,7 +9,7 @@ AppSupportURL=https://github.com/JanDeDobbeleer/oh-my-posh/issues
LicenseFile="bin\COPYING.txt"
OutputBaseFilename=install
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=commandline dialog
PrivilegesRequiredOverridesAllowed=dialog
[Files]
Source: "bin\oh-my-posh.exe"; DestDir: "{app}\bin"

View file

@ -7,12 +7,32 @@ InstallerType: inno
Scope: user
InstallModes:
- interactive
- silent
- silentWithProgress
Installers:
- Architecture: x64
InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v<VERSION>/install-amd64.exe
InstallerSha256: <HASH-AMD64>
Scope: machine
InstallerSwitches:
Custom: /ALLUSERS
- Architecture: x64
InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v<VERSION>/install-amd64.exe
InstallerSha256: <HASH-AMD64>
Scope: user
InstallerSwitches:
Custom: /CURRENTUSER
- Architecture: arm64
InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v<VERSION>/install-arm64.exe
InstallerSha256: <HASH-ARM64>
Scope: machine
InstallerSwitches:
Custom: /ALLUSERS
- Architecture: arm64
InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v<VERSION>/install-arm64.exe
InstallerSha256: <HASH-ARM64>
Scope: user
InstallerSwitches:
Custom: /CURRENTUSER
ManifestType: installer
ManifestVersion: 1.0.0