Skip to content

Commit

Permalink
Mod bundles & Git Integration (#92)
Browse files Browse the repository at this point in the history
* Initial infrastructure for Mod bundles

* Rename "Explore Source" to "Explore Reference". Allow using "Explore Reference" and "Explore Mod" on the project root item.

* Improve warnings in CreateProjectUI

* Remove lastTimeUsed from Project settings and move to a single file instead

* Fix small bug

* Add Mod Properties UI. Read/write ModInfo.xml. Fix "Dont ask me again" box in dialogs.

* Create GitHub Action in new mod projects. Better manage packages and dlls in ModInfo

* Add Git Sync and Git Commit dialogs

* Add PublishModUI dialog

* Add dialogs to set Github user and to authenticate. Add automatic SSH keys

* Add check of git installation. Config username and email when committing

* Add CreateRepositoryUI

* Add ConnectToRepositoryUI dialog

* Moved git ribbon, improved new project dialog

* Fix SSH key generation bug
  • Loading branch information
emd4600 authored Oct 11, 2024
1 parent e1517c2 commit 1ccbf4e
Show file tree
Hide file tree
Showing 58 changed files with 4,678 additions and 273 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ config.properties
SporeModderFX.jar
desktop.ini
dependency-reduced-pom.xml
/src/sporemodder/resources/githubApp.txt
/config.properties
Binary file added Styles/Dark/git-commit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Dark/git-connect-existing-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Dark/git-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Dark/git-new-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Dark/git-publish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Dark/git-sync.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Default/git-commit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Default/git-connect-existing-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Default/git-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Default/git-new-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Default/git-publish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Styles/Default/git-sync.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 0 additions & 12 deletions config.properties

This file was deleted.

3 changes: 3 additions & 0 deletions smfx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

java -jar 'SporeModderFX.jar' $@
4 changes: 4 additions & 0 deletions smfx_docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"title": "Property Lists",
"url": "https://github.com/emd4600/SporeModder-FX/wiki/Property-Lists-(.prop)"
},
{
"title": "Publishing Mods & GitHub Integration",
"url": "https://github.com/emd4600/SporeModder-FX/wiki/GitHub-Integration-&-Automatic-Mod-Publishing"
},
{
"title": "How to use the Blender add-ons",
"url": "https://github.com/emd4600/SporeModder-FX/wiki/How-to-use-the-SporeModder-Blender-Addons"
Expand Down
2 changes: 2 additions & 0 deletions src/sporemodder/DocumentationManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import javafx.geometry.Insets;
import javafx.scene.control.Hyperlink;
import javafx.scene.control.Label;
import javafx.scene.control.Tooltip;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;

Expand Down Expand Up @@ -146,6 +147,7 @@ public Pane createDocumentationPane(String entry) {
hl.setDisable(true);
}
else {
hl.setTooltip(new Tooltip(link.url));
hl.setOnAction(event -> {
MainApp.get().getHostServices().showDocument(link.url);
});
Expand Down
Loading

0 comments on commit 1ccbf4e

Please sign in to comment.