Skip to content

Commit

Permalink
Backup Flash Hotfix
Browse files Browse the repository at this point in the history
A small logic fix for the backup flashing function
  • Loading branch information
j4nf4b3l committed Jun 26, 2021
1 parent 2559695 commit b85614a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .gitignore
@@ -0,0 +1,13 @@

.DS_Store
MagicCFG.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
MagicCFG.xcodeproj/xcuserdata/janfabel.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
MagicCFG.xcworkspace/xcshareddata/swiftpm/Package.resolved
MagicCFG.xcworkspace/xcuserdata/j4nf4b3l.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
MagicCFG.xcworkspace/xcuserdata/janfabel.xcuserdatad/UserInterfaceState.xcuserstate
MagicCFG.xcworkspace/xcuserdata/janfabel.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
MagicCFG/.DS_Store
MagicCFG/Assets.xcassets/.DS_Store
MagicCFG/en.lproj/.DS_Store
MagicCFG/exploits/Fugu_8010/.DS_Store
MagicCFG/zh-HK.lproj/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion MagicCFG/RestoreBackupViewController.swift
Expand Up @@ -58,7 +58,7 @@ class RestoreBackupViewController: NSViewController, ORSSerialPortDelegate {
self.ProcessView.isHidden = false
self.StatusImg.image = #imageLiteral(resourceName: "inProgress")
delay(bySeconds: 1) {
if all_log == "" {
if all_log != "" {
var progressValue = 0.0
self.ProgressOFRestore.doubleValue = progressValue
DispatchQueue.global(qos: .background).async {
Expand Down

0 comments on commit b85614a

Please sign in to comment.