Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Add .bat launcher for .jar
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoReX committed Dec 5, 2021
1 parent 5b92cc5 commit 97af80e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<property name="dist.dir" value="dist" />
<property name="build.dir" value="build" />
<property name="lib.dir" value="lib" />
<property name="extra.dir" value="extra" />
<property name="launch4j.dir" location="launch4j" />
<property name="main.class" value="io.github.brunorex.JMkvpropedit" />

Expand All @@ -30,6 +31,10 @@
<copy todir="${dist.dir}">
<fileset dir="." includes="*.txt" />
</copy>

<copy todir="${dist.dir}">
<fileset dir="${extra.dir}" includes="*.*" />
</copy>
</target>

<target name="compile" depends="init" >
Expand Down
10 changes: 10 additions & 0 deletions extra/JMkvpropedit.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@ECHO OFF

CD /D "%~dp0"
start javaw -jar JMkvpropedit.jar

IF '%ERRORLEVEL%'=='0' GOTO :OK
PAUSE

:OK
EXIT
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
JMkvpropedit v1.5.1
JMkvpropedit v1.5.2

A batch GUI for mkvpropedit (part of MKVToolNix) written in Java.
It should work on Windows, Linux and other *nixes (not tested).
Expand Down
2 changes: 1 addition & 1 deletion src/io/github/brunorex/JMkvpropedit.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

public class JMkvpropedit {

private static final String VERSION_NUMBER = "1.5.1";
private static final String VERSION_NUMBER = "1.5.2";
private static final int MAX_STREAMS = 200;
private static String[] argsArray;

Expand Down

0 comments on commit 97af80e

Please sign in to comment.