Skip to content

Commit

Permalink
Hardcoded fix for .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrolin committed Feb 20, 2019
1 parent 01de1d6 commit 6dcbb50
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
Binary file modified LaTeX/dist/LaTeX.jar
Binary file not shown.
1 change: 0 additions & 1 deletion LaTeX/src/latex/Latex.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private static String getDefaultPath() {
String defaultPath = System.getProperty("user.dir");
String pathSeparator = defaultPath.contains("/") ? "/" : "\\";
defaultPath += pathSeparator;
System.out.println(defaultPath);
return defaultPath;
}

Expand Down
4 changes: 3 additions & 1 deletion LaTeX/src/latex/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ public class Main {

public static void main(String[] args) {
if(args.length > 0){
Latex.EQUATIONS_PATH = args[0];
String newPath = args[0];
newPath = newPath.substring(0, newPath.length()-7) + "equations.xml";
Latex.EQUATIONS_PATH = newPath;
}
System.out.println("- " + Latex.EQUATIONS_PATH);
MainWindow window = new MainWindow();
Expand Down
Binary file modified LaTeX/store/LaTeX.jar
Binary file not shown.
Binary file modified LaTeX/store/MeX.exe
Binary file not shown.

0 comments on commit 6dcbb50

Please sign in to comment.