Skip to content

Commit f89ed2a

Browse files
claudeJanDeDobbeleer
authored andcommitted
fix(msix): drop OnLaunch update check causing App Installer popups
The embedded appinstaller's OnLaunch setting gates every activation of the app-execution alias on an App Installer update check. Since the pwsh shell integration invokes oh-my-posh.exe through that alias on every prompt render and several key handlers, this made App Installer pop up (or fail to launch) on nearly every keystroke for MSIX/winget installs. AutomaticBackgroundTask still keeps the package up to date without gating foreground launches. Fixes #7833
1 parent b00dc7d commit f89ed2a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/msix/build.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ try {
234234
<AppInstaller xmlns="http://schemas.microsoft.com/appx/appinstaller/2018" Version="$Version.0" Uri="$DownloadUrl/latest/install-$Architecture.appinstaller">
235235
<MainPackage Name="$($identity.Name)" Version="$Version.0" Publisher="$($identity.Publisher)" ProcessorArchitecture="$Architecture" Uri="$DownloadUrl/v$Version/install-$Architecture.msix" />
236236
<UpdateSettings>
237-
<OnLaunch HoursBetweenUpdateChecks="24" />
238237
<AutomaticBackgroundTask />
239238
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
240239
</UpdateSettings>

0 commit comments

Comments
 (0)