From 706229640f36e34a480543932abf9a401f683a81 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Wed, 10 Nov 2021 11:44:08 -0800 Subject: [PATCH] [AltServer] Fixes "Sideload .ipa" file picker not appearing in foreground --- AltServer/AppDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AltServer/AppDelegate.swift b/AltServer/AppDelegate.swift index cda869a6..15210162 100644 --- a/AltServer/AppDelegate.swift +++ b/AltServer/AppDelegate.swift @@ -126,6 +126,8 @@ private extension AppDelegate @objc func sideloadIPA(to device: ALTDevice) { + NSRunningApplication.current.activate(options: .activateIgnoringOtherApps) + let openPanel = NSOpenPanel() openPanel.canChooseDirectories = false openPanel.allowsMultipleSelection = false