From b93ab4e82d32c91b68fdedfad36a6be671c9e9b7 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Thu, 30 Dec 2021 19:02:55 +0100 Subject: [PATCH] fix(winget): add switches to install silently --- packages/inno/oh-my-posh.iss | 2 +- .../JanDeDobbeleer.OhMyPosh.installer.yaml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/packages/inno/oh-my-posh.iss b/packages/inno/oh-my-posh.iss index 2d38a548..9d28dea2 100644 --- a/packages/inno/oh-my-posh.iss +++ b/packages/inno/oh-my-posh.iss @@ -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" diff --git a/packages/winget/JanDeDobbeleer.OhMyPosh.installer.yaml b/packages/winget/JanDeDobbeleer.OhMyPosh.installer.yaml index 5bf955c2..ae8f4491 100644 --- a/packages/winget/JanDeDobbeleer.OhMyPosh.installer.yaml +++ b/packages/winget/JanDeDobbeleer.OhMyPosh.installer.yaml @@ -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/install-amd64.exe InstallerSha256: + Scope: machine + InstallerSwitches: + Custom: /ALLUSERS +- Architecture: x64 + InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v/install-amd64.exe + InstallerSha256: + Scope: user + InstallerSwitches: + Custom: /CURRENTUSER - Architecture: arm64 InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v/install-arm64.exe InstallerSha256: + Scope: machine + InstallerSwitches: + Custom: /ALLUSERS +- Architecture: arm64 + InstallerUrl: https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v/install-arm64.exe + InstallerSha256: + Scope: user + InstallerSwitches: + Custom: /CURRENTUSER ManifestType: installer ManifestVersion: 1.0.0