Skip to content

Commit

Permalink
Change footer buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
benbaker76 committed May 31, 2023
1 parent 86888a1 commit 6b219d7
Show file tree
Hide file tree
Showing 24 changed files with 194 additions and 58 deletions.
8 changes: 4 additions & 4 deletions Hackintool.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 0396;
CURRENT_PROJECT_VERSION = 0397;
DEVELOPMENT_TEAM = 5LGHPJM9ZR;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_STRICT_OBJC_MSGSEND = NO;
Expand All @@ -736,7 +736,7 @@
INFOPLIST_FILE = "Hackintool/Hackintool-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.9.6;
MARKETING_VERSION = 3.9.7;
PRODUCT_BUNDLE_IDENTIFIER = com.Headsoft.Hackintool;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -757,7 +757,7 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 0396;
CURRENT_PROJECT_VERSION = 0397;
DEVELOPMENT_TEAM = 5LGHPJM9ZR;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_STRICT_OBJC_MSGSEND = NO;
Expand All @@ -772,7 +772,7 @@
INFOPLIST_FILE = "Hackintool/Hackintool-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.9.6;
MARKETING_VERSION = 3.9.7;
PRODUCT_BUNDLE_IDENTIFIER = com.Headsoft.Hackintool;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
6 changes: 3 additions & 3 deletions Hackintool/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,6 @@ typedef struct
@property (assign) IBOutlet NSComboBox *lspconConnectorComboBox;
@property (assign) IBOutlet NSButton *lspconPreferredModeButton;
@property (assign) IBOutlet NSComboBox *lspconPreferredModeComboBox;
// Other
@property (assign) IBOutlet NSButton *headsoftLogoButton;
// Menus
@property (assign) IBOutlet NSMenuItem *importIORegNativeMenuItem;
@property (assign) IBOutlet NSMenuItem *importIORegPatchedMenuItem;
Expand Down Expand Up @@ -452,7 +450,8 @@ typedef struct
- (IBAction)generateSerialComboBoxDidChange:(id)sender;
- (IBAction)generateSerialButtonDidChange:(id)sender;
- (IBAction)generatePatchButtonClicked:(id)sender;
- (IBAction)headsoftLogoButtonClicked:(id)sender;
- (IBAction)starButtonClicked:(id)sender;
- (IBAction)webButtonClicked:(id)sender;
- (IBAction)vramInfoChanged:(id)sender;
- (IBAction)openDocument:(id)sender;
- (IBAction)fileImportMenuItemClicked:(id)sender;
Expand Down Expand Up @@ -501,6 +500,7 @@ typedef struct
- (IBAction)resolutionsChanged:(id)sender;
- (IBAction)cancelButtonClicked:(id)sender;
- (IBAction)okButtonClicked:(id)sender;
- (IBAction)sponsorButtonClicked:(id)sender;
- (IBAction)donateButtonClicked:(id)sender;
- (IBAction)installedButtonClicked:(id)sender;
- (IBAction)progressCancelButtonClicked:(id)sender;
Expand Down
14 changes: 12 additions & 2 deletions Hackintool/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -8582,9 +8582,14 @@ - (IBAction)generatePatchButtonClicked:(id)sender
}
}

- (IBAction)headsoftLogoButtonClicked:(id)sender
- (IBAction)starButtonClicked:(id)sender
{
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://headsoft.com.au"]];
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://github.com/benbaker76/Hackintool"]];
}

- (IBAction)webButtonClicked:(id)sender
{
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.baker76.com/hackintool"]];
}

- (IBAction)vramInfoChanged:(id)sender
Expand Down Expand Up @@ -8869,6 +8874,11 @@ - (IBAction)okButtonClicked:(id)sender
[_window endSheet:superView.window returnCode:NSModalResponseOK];
}

- (IBAction)sponsorButtonClicked:(id)sender
{
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://github.com/sponsors/benbaker76"]];
}

- (IBAction)donateButtonClicked:(id)sender
{
[_window beginSheet:_donateWindow completionHandler:^(NSModalResponse returnCode)
Expand Down
134 changes: 85 additions & 49 deletions Hackintool/Base.lproj/MainMenu.xib

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Media.xcassets/BenBakerLogo.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BenBakerLogoSmall.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file modified Media.xcassets/IconDonate.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Media.xcassets/IconDonate.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Media.xcassets/IconDonate.imageset/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Media.xcassets/IconMount.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Media.xcassets/IconMount.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Media.xcassets/IconMount.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Media.xcassets/IconSponsor.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Media.xcassets/IconStar.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Media.xcassets/IconWeb.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6b219d7

Please sign in to comment.