Skip to content

Commit

Permalink
2.5.4 for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
iazarny committed Jun 29, 2024
1 parent dbab151 commit 6ac8cd6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
11 changes: 7 additions & 4 deletions ge-mac-installer.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
mkdir app
mv target/gitember-2.5.2-spring-boot.jar app
mv target/gitember-2.5.4-spring-boot.jar app

jpackage \
--input app/ --name Gitember2 --vendor "Igor Azarny" \
--main-jar gitember-2.5.2-spring-boot.jar --app-version 2.5 \
--main-jar gitember-2.5.4-spring-boot.jar --app-version 2.5 \
--icon src/main/resources/icon/gitember.icns \
--type "dmg" \
--mac-sign \
Expand All @@ -14,8 +14,11 @@ jpackage \
mv Gitember2-2.5.dmg Gitember2.5.dmg

# .dmg signing is required for notarization.
codesign --timestamp -s "3H6449CVS8" "Gitember2.5.dmg"
codesign --timestamp -s "Developer ID Application: Igor Azarny (3H6449CVS8)" "Gitember2.5.dmg"
#codesign --timestamp -s "Igor Azarny (3H6449CVS8)" "Gitember2.5.dmg"
#codesign -dv --verbose=4 Gitember2.5.dmg
#security find-identity -v -p codesigning
codesign --timestamp --sign D5D8A01CF3AA50AB7099527B727E97918FBADB6D "Gitember2.5.dmg"
#codesign --timestamp -s "Developer ID Application: Igor Azarny (3H6449CVS8)" "Gitember2.5.dmg"

####### notarization #######
xcrun notarytool submit "Gitember2.5.dmg" --wait --keychain-profile "Igor Azarny"
Expand Down
Binary file modified site/assets/img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">

<title>Avilon Bootstrap Template</title>
<meta content="" name="description">
<meta content="" name="keywords">
<title>Gitember</title>
<meta content="Git gui client for mac and windows" name="description">
<meta content="git gui " name="keywords">

<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void initialize(URL url, ResourceBundle resourceBundle) {
Context.setMain(this);
if (Context.isMac()) {
mainMenuBar.setUseSystemMenuBar(true);
mainMenuBar.setStyle("");
menuContainer.getChildren().remove(mainMenuBar);
mainPaneTop.getChildren().add(mainMenuBar);
mainPaneTop.getChildren().remove(menuContainer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class Workingcopy implements Initializable {
public Pane spacerPane;
public TextField searchText;
public CheckBox checkBoxShowLfs;
public CheckBox checkBoxShowLastChanges;
//public CheckBox checkBoxShowLastChanges;
private FilteredList filteredList;

private String headSha = "HEAD";
Expand Down Expand Up @@ -80,7 +80,7 @@ public void initialize(URL url, ResourceBundle resourceBundle) {
itemLstChangesDate.setCellValueFactory(
c -> new SimpleStringProperty(c.getValue().getChangeDateSafe() ));

checkBoxShowLastChanges.selectedProperty().addListener((observable, oldValue, newValue) -> {
/*checkBoxShowLastChanges.selectedProperty().addListener((observable, oldValue, newValue) -> {
if(newValue) {
new StatusUpdateEventHandler(true, workerStateEvent -> {
Expand All @@ -95,7 +95,7 @@ public void initialize(URL url, ResourceBundle resourceBundle) {
}
});
});*/

checkBoxShowLfs.setVisible(Context.lfsRepo.getValue());
checkBoxShowLfs.selectedProperty().addListener(
Expand All @@ -111,7 +111,7 @@ public void initialize(URL url, ResourceBundle resourceBundle) {


if (Context.lastChanges.get()) {
checkBoxShowLastChanges.setSelected(true);
// checkBoxShowLastChanges.setSelected(true);
itemLstChangesName.setVisible(true);
itemLstChangesAuthor.setVisible(true);
itemLstChangesDate.setVisible(true);
Expand All @@ -120,7 +120,7 @@ public void initialize(URL url, ResourceBundle resourceBundle) {

checkBoxShowLfs.selectedProperty().setValue(Context.showLfsFiles.get());

Bindings.bindBidirectional(Context.lastChanges, checkBoxShowLastChanges.selectedProperty());
//Bindings.bindBidirectional(Context.lastChanges, checkBoxShowLastChanges.selectedProperty());
Bindings.bindBidirectional(Context.showLfsFiles, checkBoxShowLfs.selectedProperty());

selectTableColumn.setCellValueFactory( c -> new SimpleObjectProperty(c.getValue()));
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/com/az/gitember/workingcopy.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
</Button>
<Pane id="MERGEITEM" fx:id="spacerPane"/>
<CheckBox id="MERGEITEM" fx:id="checkBoxShowLfs" text="Show large files" visible="false"/>
<CheckBox id="MERGEITEM" fx:id="checkBoxShowLastChanges" text="Last changes" />

<TextField id="MERGEITEM" fx:id="searchText" promptText="Search" />

Expand Down

0 comments on commit 6ac8cd6

Please sign in to comment.