Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
Improvements to the useraw mode
Fixing some maven things
  • Loading branch information
pandaninjas committed Nov 22, 2022
1 parent 9b8c3da commit 577ec88
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@
<!-- Default configuration for running with: mvn clean javafx:run -->
<id>default-cli</id>
<configuration>
<mainClass>com.example.narumideobfgui/com.example.narumideobfgui.HelloApplication
</mainClass>
<mainClass>NarumiDeobfGUI/gq.malwarefight.narumiideobfgui.DeobfuscatorGUIApp</mainClass>
<launcher>app</launcher>
<jlinkZipName>app</jlinkZipName>
<jlinkImageName>app</jlinkImageName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import javafx.fxml.FXML;
import javafx.scene.control.CheckBox;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TextField;
import javafx.scene.layout.VBox;
import javafx.stage.FileChooser;
Expand Down Expand Up @@ -32,6 +33,8 @@ public class DeobfuscatorGUIController {
@FXML
public Label result;
@FXML
public ScrollPane scrollPane;
@FXML
protected void chooseInputFile() {
FileChooser fileChooser = new FileChooser();
fileChooser.setInitialDirectory(new File(System.getProperty("user.dir")));
Expand Down Expand Up @@ -76,6 +79,7 @@ public void initialize() {
buttonContainer.getChildren().add(box);
deobfuscatorHashMap.put(box, transformer);
}
DeobfuscatorGUIApp.stage.widthProperty().addListener((obs, oldVal, newVal) -> buttonContainer.setMinWidth(newVal.doubleValue()));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<TextField fx:id="outputName"/>
<Button text="Choose" onAction="#chooseOutputFile"/>
</HBox>
<ScrollPane>
<VBox alignment="CENTER" fx:id="buttonContainer">
<CheckBox onAction="#toggleAll">Toggle all</CheckBox>
<ScrollPane fx:id="scrollPane">
<VBox fx:id="buttonContainer" alignment="CENTER">
<CheckBox alignment="CENTER" onAction="#toggleAll">Toggle all</CheckBox>
</VBox>
</ScrollPane>
<Button text="Deobfuscate" onAction="#deobfuscate"/>
Expand Down

0 comments on commit 577ec88

Please sign in to comment.