Commit 4d3716a8 by web-desktop

chore:config launcher

parent bc20cabd
cp natives/icudtl.dat jre/bin/
cp natives/natives_blob.bin jre/bin/
cp natives/snapshot_blob.bin jre/bin/
#sudo cp natives/icudtl.dat /usr/lib/jvm/java-8-oracle/bin/
#sudo cp natives/natives_blob.bin /usr/lib/jvm/java-8-oracle/bin/
#sudo cp natives/snapshot_blob.bin /usr/lib/jvm/java-8-oracle/bin/
#sudo cp natives/icudtl.dat /usr/lib/jvm/java-8-oracle/jre/bin/
#sudo cp natives/natives_blob.bin /usr/lib/jvm/java-8-oracle/jre/bin/
#sudo cp natives/snapshot_blob.bin /usr/lib/jvm/java-8-oracle/jre/bin/
#!/bin/bash
cd app
FILE="WebDesktop.jar"
if [ -f "../$FILE" ];
then
file1_md5=$(md5sum "${FILE}")
file2_md5=$(md5sum "../${FILE}")
if [ ! "${file1_md5}" == "${file2_md5}" ]; then
\cp $FILE ../
fi
else
cp $FILE ../
fi
cd ..
jre/bin/java -jar WebDesktop.jar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment