for all intents and purposes, their website is now offline, adding source files that may not be available anywhere else any more
This commit is contained in:
parent
4e0b5b87a9
commit
2f46c5cf59
BIN
i-Bright7x/WiFiDeviceAPI.jar
Normal file
BIN
i-Bright7x/WiFiDeviceAPI.jar
Normal file
Binary file not shown.
17
i-Bright7x/WiFiDeviceAPI.jnlp
Normal file
17
i-Bright7x/WiFiDeviceAPI.jnlp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<jnlp codebase="" href="" spec="1.0+">
|
||||||
|
<information>
|
||||||
|
<title>WiFi Device API</title>
|
||||||
|
<vendor>Tri Cascade Inc.</vendor>
|
||||||
|
</information>
|
||||||
|
<resources>
|
||||||
|
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.7.0_51+" />
|
||||||
|
<jar href="WiFiDeviceAPI.jar" main="true" version="1.4.2" />
|
||||||
|
<property name="jnlp.versionEnabled" value="true" />
|
||||||
|
</resources>
|
||||||
|
<applet-desc height="1" main-class="com.insnergy.wifi.applet.WiFiDeviceAPI" name="WiFi Device API" width="1" />
|
||||||
|
<update check="always" policy="always" />
|
||||||
|
<security>
|
||||||
|
<all-permissions />
|
||||||
|
</security>
|
||||||
|
</jnlp>
|
21
i-Bright7x/decompile.sh
Executable file
21
i-Bright7x/decompile.sh
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
## decompile.sh - find .class files and decompile them
|
||||||
|
|
||||||
|
DIR=$1
|
||||||
|
IB_JAR="./WiFiDeviceAPI.jar"
|
||||||
|
CFR_JAR="./cfr_0_129.jar"
|
||||||
|
|
||||||
|
if [ ! -f ${CFR_JAR} ]; then
|
||||||
|
echo "could not find cfr JAR[${CFR_JAR}]"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
7z x ${IB_JAR}
|
||||||
|
|
||||||
|
|
||||||
|
for f in $(find ${DIR} -iname '*.class'); do
|
||||||
|
NEW_F=`echo ${f} | sed -e "s/class/java/"`
|
||||||
|
echo "${f} -> ${NEW_F}"
|
||||||
|
java -jar ${CFR_JAR} ${f} > ${NEW_F}
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user