Skip to content

Commit

Permalink
Bug fix + README fix
Browse files Browse the repository at this point in the history
- Updated the build number and version name.
- Partially fixed a UI Bug for people using macOS with non-hidpi screens/resolution.
- Fixed a problem with the README file.
  • Loading branch information
ITzTravelInTime committed Aug 22, 2021
1 parent f3354f9 commit e7f5f9f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This software is intended to be used to create a bootable macOS installer for co

Allows you to create easily a macOS install media without messing around with command line stuff and without using disk utility, and also detects and prevents the most common errors with the creation of bootable vanilla macOS installers.

# For the latest Source code check out the delopment branch!
# For the latest Source code check out the development branch!

# Features:
- Fully open: You can see how this programs works and you can freely contribute to it! (See the `Repository rules` and the `Note that` sections of this file)
Expand Down
10 changes: 5 additions & 5 deletions TINU.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 101;
CURRENT_PROJECT_VERSION = 102;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -1064,7 +1064,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = "3.0 RELEASE CANDIDATE 2";
MARKETING_VERSION = "3.0 RELEASE CANDIDATE 3";
ONLY_ACTIVE_ARCH = YES;
OTHER_LIBTOOLFLAGS = "-enable-library-evolution";
PRODUCT_BUNDLE_IDENTIFIER = org.pietrocaruso.TINU;
Expand Down Expand Up @@ -1095,18 +1095,18 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 101;
CURRENT_PROJECT_VERSION = 102;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_TESTABILITY = YES;
ENABLE_TESTABILITY = NO;
GCC_OPTIMIZATION_LEVEL = s;
INFOPLIST_FILE = TINU/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = "3.0 RELEASE CANDIDATE 2";
MARKETING_VERSION = "3.0 RELEASE CANDIDATE 3";
ONLY_ACTIVE_ARCH = NO;
OTHER_LIBTOOLFLAGS = "-enable-library-evolution";
PRODUCT_BUNDLE_IDENTIFIER = org.pietrocaruso.TINU;
Expand Down
5 changes: 4 additions & 1 deletion TINU/DriveView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,19 @@ class DriveView: ShadowView, ViewID {
image.contentTintColor = .systemGray
}


if warnImage.superview != nil{
self.warnImage.backgroundColor = NSColor.controlBackgroundColor
self.warnImage.layer?.cornerRadius = self.warnImage.frame.size.width / 2
}

}

if image.superview != nil && image.image == nil{
if image.image == nil{
image.image = current?.icon
}

/*
if #available(macOS 11.0, *), look.usesSFSymbols() {
image.image = image.image?.withSymbolWeight(.ultraLight)
Expand Down Expand Up @@ -206,7 +209,7 @@ class DriveView: ShadowView, ViewID {
self.warnImage.layer?.zPosition = (self.image.layer?.zPosition ?? 0) + 1

self.warnImage.imageScaling = NSImageScaling.scaleProportionallyUpOrDown
self.warnImage.imageAlignment = .alignBottom
self.warnImage.imageAlignment = .alignCenter

self.addSubview(self.warnImage)
}
Expand Down

0 comments on commit e7f5f9f

Please sign in to comment.