mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-13 16:53:29 +01:00
refactor to SideStoreAppKit
This commit is contained in:
18
Sources/SideStoreAppKit/ALTApplication+AltStoreApp.swift
Normal file
18
Sources/SideStoreAppKit/ALTApplication+AltStoreApp.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// ALTApplication+AltStoreApp.swift
|
||||
// AltStore
|
||||
//
|
||||
// Created by Riley Testut on 11/11/20.
|
||||
// Copyright © 2020 Riley Testut. All rights reserved.
|
||||
//
|
||||
|
||||
import AltSign
|
||||
|
||||
extension ALTApplication {
|
||||
static let altstoreBundleID = Bundle.Info.appbundleIdentifier
|
||||
|
||||
var isAltStoreApp: Bool {
|
||||
let isAltStoreApp = bundleIdentifier.contains(ALTApplication.altstoreBundleID)
|
||||
return isAltStoreApp
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user