Skip to content

Commit

Permalink
initial commit after fork
Browse files Browse the repository at this point in the history
Signed-off-by: Slice <[email protected]>
  • Loading branch information
SergeySlice committed Sep 13, 2023
1 parent 88bace6 commit a015c9c
Show file tree
Hide file tree
Showing 134 changed files with 686 additions and 3,469 deletions.
163 changes: 34 additions & 129 deletions About This Hack.xcodeproj/project.pbxproj
100755 → 100644

Large diffs are not rendered by default.

Empty file.
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file modified About This Hack/.DS_Store
Binary file not shown.
Empty file modified About This Hack/About_This_Hack.entitlements
100755 → 100644
Empty file.
Empty file modified About This Hack/About_This_HackApp.swift
100755 → 100644
Empty file.
40 changes: 13 additions & 27 deletions About This Hack/AppDelegate.swift
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
//
// AppDelegate.swift
// About This Hack
//
//

import Cocoa
import Foundation

@main
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {


override init() {

}



func applicationDidFinishLaunching(_ aNotification: Notification) {
print("Checking for Updates...")
if UpdateController.checkForUpdates() {
UpdateController.updateATH()
}

}

func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
_ = run("rm -rf ~/.ath 2>/dev/null")
}

func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
Expand All @@ -27,21 +28,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}

@IBAction func showOverview(_ sender: Any) {
let windCtrl: WindowController = NSApplication.shared.mainWindow?.windowController as! WindowController
windCtrl.changeView(new: 0)
}
@IBAction func showDisplays(_ sender: Any) {
let windCtrl: WindowController = NSApplication.shared.mainWindow?.windowController as! WindowController
windCtrl.changeView(new: 1)
}
@IBAction func showStorage(_ sender: Any) {
let windCtrl: WindowController = NSApplication.shared.mainWindow?.windowController as! WindowController
windCtrl.changeView(new: 2)
}
@IBAction func showHelp(_ sender: Any) {
let windCtrl: WindowController = NSApplication.shared.mainWindow?.windowController as! WindowController
windCtrl.changeView(new: 3)
}

}

Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 10 additions & 10 deletions About This Hack/Assets.xcassets/AppIcon.appiconset/Contents.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"images" : [
{
"filename" : "About This Hack-9.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-10.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"filename" : "About This Hack-8.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-9.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"filename" : "About This Hack-7.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-8.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"filename" : "About This Hack-6.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-7.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"filename" : "About This Hack-3.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-6.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"filename" : "About This Hack-2.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-5.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"filename" : "About This Hack-1.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-4.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"filename" : "About This Hack.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-3.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"filename" : "About This Hack-5.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview-1.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"filename" : "About This Hack-4.png",
"filename" : "Screen_Shot_2021-03-20_at_4.36.15_PM-removebg-preview.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
Expand Down
Empty file modified About This Hack/Assets.xcassets/Big Sur.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified ...ts/Big Sur.imageset/dark_icon_256x256@2x_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ...ssets/Big Sur.imageset/dark_icon_256x256_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ...s/Big Sur.imageset/light_icon_256x256@2x_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ...sets/Big Sur.imageset/light_icon_256x256_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified About This Hack/Assets.xcassets/Catalina.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified About This Hack/Assets.xcassets/Catalina.imageset/icon_256x256-1.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/Catalina.imageset/icon_256x256.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/Catalina.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/Catalina.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified About This Hack/Assets.xcassets/Contents.json
100755 → 100644
Empty file.
Empty file modified About This Hack/Assets.xcassets/HDD.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified About This Hack/Assets.xcassets/HDD.imageset/HDD.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Binary file modified About This Hack/Assets.xcassets/High Sierra.imageset/icon_256x256.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/High Sierra.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified About This Hack/Assets.xcassets/LG4K.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified About This Hack/Assets.xcassets/LG4K.imageset/icon_256x256.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/LG4K.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/LG4K.imageset/icon_512x512.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified About This Hack/Assets.xcassets/Mojave.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified About This Hack/Assets.xcassets/Mojave.imageset/icon_256x256-1.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About This Hack/Assets.xcassets/Mojave.imageset/icon_256x256.png
100755 → 100644
Binary file modified About This Hack/Assets.xcassets/Mojave.imageset/[email protected]
100755 → 100644
Binary file modified About This Hack/Assets.xcassets/Mojave.imageset/[email protected]
100755 → 100644
Empty file modified About This Hack/Assets.xcassets/Monterey.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified ...cassets/Monterey.imageset/icon_256x256-1_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Binary file modified ...sets/Monterey.imageset/icon_256x256@2x-1_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Binary file modified ...assets/Monterey.imageset/icon_256x256@2x_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Binary file modified ....xcassets/Monterey.imageset/icon_256x256_55A54008AD1BA589AA210D2629C1DF41_0.png
100755 → 100644
Empty file modified About This Hack/Assets.xcassets/SSD.imageset/Contents.json
100755 → 100644
Empty file.
Empty file modified About This Hack/Assets.xcassets/SSD.imageset/apple ssd.png
100755 → 100644
Empty file modified About This Hack/Assets.xcassets/Sierra.imageset/Contents.json
100755 → 100644
Empty file.
Binary file modified About This Hack/Assets.xcassets/Sierra.imageset/icon_256x256.png
100755 → 100644
Binary file modified About This Hack/Assets.xcassets/Sierra.imageset/[email protected]
100755 → 100644
Loading

0 comments on commit a015c9c

Please sign in to comment.