mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-09-21 02:51:04 +02:00
Clover.app show disks names selectin them. Improvement in the Update section.
Now selecting a disk it show the brand name/model of the disk it belongs to. Fixed the Update sectionthat was showing the latest Clover release even if already installed. Tiny change i the it.strings
This commit is contained in:
parent
77ff1c12b1
commit
b403b1b7ed
@ -782,7 +782,7 @@
|
||||
CODE_SIGN_ENTITLEMENTS = Clover/Clover.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1.03;
|
||||
CURRENT_PROJECT_VERSION = 1.04;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Clover/Frameworks",
|
||||
@ -796,7 +796,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Clover/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.03;
|
||||
MARKETING_VERSION = 1.04;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.slice.Clover;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
@ -811,7 +811,7 @@
|
||||
CODE_SIGN_ENTITLEMENTS = Clover/Clover.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1.03;
|
||||
CURRENT_PROJECT_VERSION = 1.04;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Clover/Frameworks",
|
||||
@ -825,7 +825,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Clover/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.03;
|
||||
MARKETING_VERSION = 1.04;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.slice.Clover;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
|
@ -729,8 +729,9 @@ class InstallerViewController: NSViewController {
|
||||
let psm : String = getPartitionSchemeMap(from: disk) ?? kNotAvailable.locale
|
||||
let name : String = getVolumeName(from: disk) ?? kNotAvailable.locale
|
||||
let mp : String = getMountPoint(from: disk) ?? kNotAvailable.locale
|
||||
let parentDiskName : String = getMediaName(from: getBSDParent(of: disk) ?? "") ?? kNotAvailable.locale
|
||||
if fs == "msdos" || fs == "fat32" || fs == "exfat" || fs == "hfs" {
|
||||
self.targetPop.addItem(withTitle: "\(disk)\t\(name), mount point: \(mp), \(fs.uppercased()), \(psm)")
|
||||
self.targetPop.addItem(withTitle: "\(disk)\t\(name), \("mount point".locale): \(mp), \(fs.uppercased()), \(psm): (\(parentDiskName))")
|
||||
self.targetPop.invalidateIntrinsicContentSize()
|
||||
// get the image
|
||||
if disk == bootPartition {
|
||||
|
@ -161,7 +161,8 @@ class SettingsViewController: NSViewController, NSTextFieldDelegate, URLSessionD
|
||||
if isWritable(diskOrMtp: e) {
|
||||
let fs = getFS(from: e) ?? kNotAvailable.locale
|
||||
let mp = getMountPoint(from: e) ?? kNotAvailable.locale
|
||||
let title : String = "\(e), \(fs), \("mount point".locale): \(mp)"
|
||||
let parentDiskName : String = getMediaName(from: getBSDParent(of: e) ?? "") ?? kNotAvailable.locale
|
||||
let title : String = "\(e), \(fs), \("mount point".locale): \(mp), \(parentDiskName)"
|
||||
self.disksPopUp.addItem(withTitle: title)
|
||||
self.disksPopUp.lastItem?.representedObject = e
|
||||
if e == self.bootDevice {
|
||||
@ -499,7 +500,8 @@ class SettingsViewController: NSViewController, NSTextFieldDelegate, URLSessionD
|
||||
DispatchQueue.main.async {
|
||||
let ll = UDs.string(forKey: kLastUpdateLink)
|
||||
let lr = UDs.string(forKey: kLastUpdateRevision)
|
||||
if (ll != nil && lr != nil) {
|
||||
let lrnum : Int = Int(lr ?? "0") ?? 0
|
||||
if ((ll != nil && lr != nil) && lrnum > currRevNum) {
|
||||
self.lastReleaseLink = ll
|
||||
self.lastReleaseRev = lr
|
||||
AppSD.statusItem.button?.title = "\(lastRevNum)"
|
||||
|
@ -21,7 +21,7 @@
|
||||
"Clover wants to umount %@" = "Clover vuole smontare %@";
|
||||
"Mount" = "Monta";
|
||||
"umount" = "smonta";
|
||||
"mount point" = "mount point";
|
||||
"mount point" = "punto di montaggio";
|
||||
|
||||
"true" = "vero";
|
||||
"false" = "falso";
|
||||
|
Loading…
Reference in New Issue
Block a user