Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit e6e2a56

Browse files
committed
make sure debug log doesn't falsely enable
1 parent d0b3518 commit e6e2a56

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

LazyHackintoshGenerator/AppDelegate.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, MenuControlProtocol {
2525
}
2626

2727
func getDebugStatus() ->Bool{
28-
print(debugging.title)
29-
if debugging.title == "#Debug On#".localized(){
30-
return false
31-
}else {
28+
if debugging.title == "#Debug Off#".localized(){
3229
return true
30+
}else {
31+
return false
3332
}
3433
}
3534
func ProcessStarted(){

LazyHackintoshGenerator/ViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class ViewController: NSViewController, NSWindowDelegate,BatchProcessAPIProtocol
6767
}else {
6868
let appDelegate = NSApplication.shared().delegate as! AppDelegate
6969
debugLog = appDelegate.getDebugStatus()
70-
print(debugLog)
7170
start.isHidden = true
7271
CLT.isHidden = true
7372
progress.isHidden = false

0 commit comments

Comments
 (0)