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