Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
Devan-Kerman committed Jan 16, 2020
1 parent 8e1ba04 commit f542dd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/net/devtech/patchdoc/Patcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
import com.google.gson.Gson;
import net.devtech.patchdoc.files.FileInfo;
import net.devtech.patchdoc.gui.PatchGUI;
import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.WindowConstants;
import javax.swing.*;
import java.awt.Dimension;
import java.io.File;
import java.io.FileReader;
Expand All @@ -22,6 +19,9 @@ public class Patcher {

public static void main(String[] args) throws IOException, ClassNotFoundException, UnsupportedLookAndFeelException, InstantiationException, IllegalAccessException {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
if(args.length == 0)
args = new String[]{"data.json", "patches"};

File fileData = new File(args[0]);
File root = new File(args[1]);
if (fileData.exists()) {
Expand Down

0 comments on commit f542dd4

Please sign in to comment.