jode.in updated to new package hierarchy

jode.bat.in added


git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1198 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 25 years ago
parent 23d5d05fe3
commit 19f4c534d4
  1. 3
      jode/bin/Makefile.am
  2. 19
      jode/bin/jode.bat.in
  3. 4
      jode/bin/jode.in

@ -1,4 +1,5 @@
## Input file for automake to generate the Makefile.in used by configure
bin_SCRIPTS = jode
bin_SCRIPTS = jode
EXTRA_DIST = jode.bat

@ -0,0 +1,19 @@
; Use this batch file to make invoking the decompiler easier.
; Please edit this file and insert correct directories where needed.
;
; Usage: jode dec [decompiler options]
; jode swi [swingui options]
; jode obf [obfuscator options]
; Since the decompiler is the most important program you can omit `dec':
; jode [decompiler options]
set CLASSPATH=jode-@VERSION@-1.2.jar;%CLASSPATH%
set PROGGY=default
if %1 == swi set PROGGY=swingui
if %1 == obf set PROGGY=obfuscator
if %1 == dec set PROGGY=decompiler
if NOT %PROGGY% == default shift
if %PROGGY% == default set PROGGY=decompiler
java jode.%PROGGY%.Main %1 %2 %3 %4 %5 %6 %7 %8 %9

@ -3,9 +3,9 @@ prefix=@prefix@
case $1 in
[Ss]wi*) CLAZZ=jode.swingui.Main; shift ;;
[Dd]ec*) CLAZZ=jode.Decompiler; shift ;;
[Dd]ec*) CLAZZ=jode.decompiler.Main; shift ;;
[Oo]bf*) CLAZZ=jode.obfuscator.Main; shift ;;
*) CLAZZ=jode.Decompiler ;;
*) CLAZZ=jode.decompiler.Main ;;
esac

Loading…
Cancel
Save