Skip to content

Commit 9c40950

Browse files
committed
More improvements to desktop shortcut detection
1 parent 06d1d60 commit 9c40950

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/UniGetUI.PackageEngine.Operations/PackageOperations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,13 @@ protected override async Task HandleSuccess()
203203

204204
UpgradablePackagesLoader.Instance.Remove(Package);
205205

206-
if (await Package.HasUpdatesIgnoredAsync() && await Package.GetIgnoredUpdatesVersionAsync() != "*")
207-
await Package.RemoveFromIgnoredUpdatesAsync();
208-
209206
if (Settings.Get("AskToDeleteNewDesktopShortcuts"))
210207
{
211208
DesktopShortcutsDatabase.TryRemoveNewShortcuts(DesktopShortcutsBeforeStart);
212209
}
210+
211+
if (await Package.HasUpdatesIgnoredAsync() && await Package.GetIgnoredUpdatesVersionAsync() != "*")
212+
await Package.RemoveFromIgnoredUpdatesAsync();
213213
}
214214

215215
protected override void Initialize()

0 commit comments

Comments
 (0)