summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/about.html6
-rw-r--r--src/test/resources/proguard-build.conf7
-rw-r--r--src/test/resources/proguard-test.conf9
3 files changed, 22 insertions, 0 deletions
diff --git a/src/main/resources/about.html b/src/main/resources/about.html
new file mode 100644
index 00000000..b75c1bf0
--- /dev/null
+++ b/src/main/resources/about.html
@@ -0,0 +1,6 @@
1<html>
2 <h1>%s</h1>
3 <p>A tool for debofuscation of Java code</p>
4 <p>
5 <p>Version: %s</p>
6</html> \ No newline at end of file
diff --git a/src/test/resources/proguard-build.conf b/src/test/resources/proguard-build.conf
new file mode 100644
index 00000000..117180e6
--- /dev/null
+++ b/src/test/resources/proguard-build.conf
@@ -0,0 +1,7 @@
1-libraryjars <java.home>/lib/rt.jar
2-dontoptimize
3-dontobfuscate
4-dontwarn
5-keep class cuchaz.enigma.Main { static void main(java.lang.String[]); }
6-keep class cuchaz.enigma.CommandMain { static void main(java.lang.String[]); }
7-keep class de.sciss.syntaxpane.** { *; } \ No newline at end of file
diff --git a/src/test/resources/proguard-test.conf b/src/test/resources/proguard-test.conf
new file mode 100644
index 00000000..0d3d60e9
--- /dev/null
+++ b/src/test/resources/proguard-test.conf
@@ -0,0 +1,9 @@
1-libraryjars <java.home>/lib/rt.jar
2-overloadaggressively
3-repackageclasses
4-allowaccessmodification
5-dontoptimize
6-dontshrink
7-keepparameternames
8-keepattributes
9-keep class cuchaz.enigma.inputs.Keep \ No newline at end of file