mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-27 15:37:40 +01:00
wrappers: keep imports them private to file scope for encapsulation
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
//
|
||||
// EMProxyWrwapper.swift
|
||||
// AltStore
|
||||
// SideStore
|
||||
//
|
||||
// Created by Magesh K on 22/02/26.
|
||||
// Copyright © 2026 SideStore. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import em_proxy
|
||||
private import em_proxy
|
||||
|
||||
public func startEMProxy(bind_addr: String) {
|
||||
#if targetEnvironment(simulator)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
//
|
||||
// MinimuxerWrapper.swift
|
||||
// SideStore
|
||||
//
|
||||
// Created by Jackson Coxson on 10/26/22.
|
||||
// Created by Magesh K on 22/02/26.
|
||||
// Copyright © 2026 SideStore. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import minimuxer
|
||||
private import minimuxer
|
||||
|
||||
var isMinimuxerReady: Bool {
|
||||
#if targetEnvironment(simulator)
|
||||
@@ -80,7 +80,7 @@ func fetchUDID() -> String? {
|
||||
|
||||
|
||||
|
||||
extension MinimuxerError: LocalizedError {
|
||||
extension MinimuxerError: @retroactive LocalizedError {
|
||||
public var failureReason: String? {
|
||||
switch self {
|
||||
case .NoDevice:
|
||||
|
||||
Reference in New Issue
Block a user