From 7ec6324b62b8cd621fd18fc68d46782f3290c97f Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Thu, 3 Apr 2025 00:49:07 -0700 Subject: [PATCH] - minimuxer-ready: disabled minimuxer ready check which shows NO WIFI/VPN error since stosVPN can work on cellular too. --- AltStore/My Apps/MyAppsViewController.swift | 4 +- AltStore/Settings/Settings.storyboard | 81 +++++++++++++------ .../Settings/SettingsViewController.swift | 5 ++ .../Extensions/UserDefaults+AltStore.swift | 3 + 4 files changed, 69 insertions(+), 24 deletions(-) diff --git a/AltStore/My Apps/MyAppsViewController.swift b/AltStore/My Apps/MyAppsViewController.swift index b4a0851b..712611f2 100644 --- a/AltStore/My Apps/MyAppsViewController.swift +++ b/AltStore/My Apps/MyAppsViewController.swift @@ -166,8 +166,10 @@ class MyAppsViewController: UICollectionViewController, PeekPopPreviewing @IBAction func unwindToMyAppsViewController(_ segue: UIStoryboardSegue) { } + var minimuxerStatus: Bool { - guard minimuxer.ready() else { + // added isMinimuxerStatusCheckEnabled to forcefully ignore minimuxer status if status check is disabled in settings + guard !UserDefaults.standard.isMinimuxerStatusCheckEnabled || minimuxer.ready() else { ToastView(error: (OperationError.noWiFi as NSError).withLocalizedTitle("No WiFi or VPN!")).show(in: self) return false } diff --git a/AltStore/Settings/Settings.storyboard b/AltStore/Settings/Settings.storyboard index fe2a75eb..7f40aa1e 100644 --- a/AltStore/Settings/Settings.storyboard +++ b/AltStore/Settings/Settings.storyboard @@ -22,7 +22,7 @@ - +