1b72c5c2e5482cf10117b2b25f642f7616b2326c3Joe Onorato#!/bin/sh 2b72c5c2e5482cf10117b2b25f642f7616b2326c3Joe Onorato# 3b72c5c2e5482cf10117b2b25f642f7616b2326c3Joe Onorato# Start-up script for the GUI of ProGuard -- free class file shrinker, 4b72c5c2e5482cf10117b2b25f642f7616b2326c3Joe Onorato# optimizer, obfuscator, and preverifier for Java bytecode. 5b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# 6b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# Note: when passing file names containing spaces to this script, 7b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# you'll have to add escaped quotes around them, e.g. 8b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# "\"/My Directory/My File.txt\"" 9b72c5c2e5482cf10117b2b25f642f7616b2326c3Joe Onorato 10b9cc48a43ed984587c939d02fba5316bf5c0df6eYing WangPROGUARD_HOME=`dirname "$0"`/.. 11b72c5c2e5482cf10117b2b25f642f7616b2326c3Joe Onorato 12b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# On Linux, Java 1.6.0_24 and higher hang when starting the GUI: 13b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7027598 14b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wang# We're using the -D option as a workaround. 15b9cc48a43ed984587c939d02fba5316bf5c0df6eYing Wangjava -DsuppressSwingDropSupport=true -jar "$PROGUARD_HOME/lib/proguardgui.jar" "$@" 16