diff --git a/AltDaemon/package/DEBIAN/control b/AltDaemon/package/DEBIAN/control deleted file mode 100644 index fa91ef73..00000000 --- a/AltDaemon/package/DEBIAN/control +++ /dev/null @@ -1,10 +0,0 @@ -Package: com.rileytestut.altdaemon -Name: AltDaemon -Depends: -Version: 1.0 -Architecture: iphoneos-arm -Description: AltDaemon allows AltStore to install and refresh apps without a computer. -Maintainer: Riley Testut -Author: Riley Testut -Homepage: https://altstore.io -Section: System diff --git a/AltDaemon/package/DEBIAN/postinst b/AltDaemon/package/DEBIAN/postinst deleted file mode 100755 index e5b799be..00000000 --- a/AltDaemon/package/DEBIAN/postinst +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -launchctl load /Library/LaunchDaemons/com.rileytestut.altdaemon.plist diff --git a/AltDaemon/package/DEBIAN/preinst b/AltDaemon/package/DEBIAN/preinst deleted file mode 100755 index cf29046c..00000000 --- a/AltDaemon/package/DEBIAN/preinst +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -launchctl unload /Library/LaunchDaemons/com.rileytestut.altdaemon.plist >> /dev/null 2>&1 diff --git a/AltDaemon/package/DEBIAN/prerm b/AltDaemon/package/DEBIAN/prerm deleted file mode 100755 index e88bf33b..00000000 --- a/AltDaemon/package/DEBIAN/prerm +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -launchctl unload /Library/LaunchDaemons/com.rileytestut.altdaemon.plist diff --git a/AltDaemon/package/Library/LaunchDaemons/com.rileytestut.altdaemon.plist b/AltDaemon/package/Library/LaunchDaemons/com.rileytestut.altdaemon.plist deleted file mode 100644 index 7808ca12..00000000 --- a/AltDaemon/package/Library/LaunchDaemons/com.rileytestut.altdaemon.plist +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Label - com.rileytestut.altdaemon - ProgramArguments - - /usr/bin/env - _MSSafeMode=1 - _SafeMode=1 - /usr/bin/AltDaemon - - UserName - mobile - KeepAlive - - RunAtLoad - - MachServices - - cy:io.altstore.altdaemon - - lh:io.altstore.altdaemon - - - - diff --git a/AltDaemon/package/usr/bin/AltDaemon b/AltDaemon/package/usr/bin/AltDaemon deleted file mode 100755 index 7f733693..00000000 Binary files a/AltDaemon/package/usr/bin/AltDaemon and /dev/null differ diff --git a/AltServer/ErrorDetailsViewController.swift b/AltServer/ErrorDetailsViewController.swift deleted file mode 100644 index 5ea59b7f..00000000 --- a/AltServer/ErrorDetailsViewController.swift +++ /dev/null @@ -1,63 +0,0 @@ -// -// ErrorDetailsViewController.swift -// AltServer -// -// Created by Riley Testut on 10/4/22. -// Copyright © 2022 Riley Testut. All rights reserved. -// - -import AppKit - -class ErrorDetailsViewController: NSViewController -{ - var error: NSError? { - didSet { - self.update() - } - } - - @IBOutlet private var errorCodeLabel: NSTextField! - @IBOutlet private var detailedDescriptionLabel: NSTextField! - - override func viewDidLoad() - { - super.viewDidLoad() - - self.detailedDescriptionLabel.preferredMaxLayoutWidth = 800 - } -} - -private extension ErrorDetailsViewController -{ - func update() - { - if !self.isViewLoaded - { - self.loadView() - } - - guard let error = self.error else { return } - - self.errorCodeLabel.stringValue = error.localizedErrorCode - - let font = self.detailedDescriptionLabel.font ?? NSFont.systemFont(ofSize: 12) - let detailedDescription = error.formattedDetailedDescription(with: font) - self.detailedDescriptionLabel.attributedStringValue = detailedDescription - } - - @IBAction func searchFAQ(_ sender: NSButton) - { - guard let error else { return } - - let baseURL = URL(string: "https://faq.altstore.io/getting-started/error-codes")! - var components = URLComponents(url: baseURL, resolvingAgainstBaseURL: false)! - - let nsError = error as NSError - let query = [nsError.domain, "\(error.displayCode)"].joined(separator: "+") - components.queryItems = [URLQueryItem(name: "q", value: query)] - - let url = components.url ?? baseURL - NSWorkspace.shared.open(url) - } -} -