Skip to content

Commit

Permalink
Final polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben216k committed Mar 15, 2022
1 parent 48080b6 commit 2287a12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Patched Sur - For Catalina/Views/macOSDownloadView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ struct macOSDownloadView: View {
ProgressBar(value: $downloadProgress, length: 350)
.onReceive(timer, perform: { _ in
if let sizeCode = try? call("stat -f %z ~/.patched-sur/InstallAssistant.pkg") {
currentSize = Int(Float(sizeCode) ?? 10000)
downloadProgress = CGFloat(Float(sizeCode) ?? 10000) / CGFloat(downloadSize)
currentSize = Int(Double(sizeCode) ?? 12439328867)
downloadProgress = CGFloat(Double(sizeCode) ?? 12439328867) / CGFloat(downloadSize)
progressHuman = downloadProgress * 12.2
}
})
Expand Down
12 changes: 6 additions & 6 deletions Patched Sur.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 123;
CURRENT_PROJECT_VERSION = 124;
DEVELOPMENT_TEAM = 52RY4VB4F6;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "Patched Sur - Recovery/Info.plist";
Expand All @@ -919,7 +919,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 123;
CURRENT_PROJECT_VERSION = 124;
DEVELOPMENT_TEAM = 52RY4VB4F6;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "Patched Sur - Recovery/Info.plist";
Expand Down Expand Up @@ -1062,7 +1062,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 123;
CURRENT_PROJECT_VERSION = 124;
DEVELOPMENT_ASSET_PATHS = "\"Patched Sur - For Catalina/Preview Content\"";
DEVELOPMENT_TEAM = 52RY4VB4F6;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -1097,7 +1097,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 123;
CURRENT_PROJECT_VERSION = 124;
DEVELOPMENT_ASSET_PATHS = "\"Patched Sur - For Catalina/Preview Content\"";
DEVELOPMENT_TEAM = 52RY4VB4F6;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -1131,7 +1131,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 123;
CURRENT_PROJECT_VERSION = 124;
DEVELOPMENT_ASSET_PATHS = "\"Patched Sur/Preview Content\"";
DEVELOPMENT_TEAM = 52RY4VB4F6;
DSTROOT = "/tmp/Post-Install.dst";
Expand Down Expand Up @@ -1165,7 +1165,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 123;
CURRENT_PROJECT_VERSION = 124;
DEVELOPMENT_ASSET_PATHS = "\"Patched Sur/Preview Content\"";
DEVELOPMENT_TEAM = 52RY4VB4F6;
DSTROOT = "/tmp/Post-Install.dst";
Expand Down

0 comments on commit 2287a12

Please sign in to comment.