Commit 57c46a07 by web-desktop

chore:config launcher

parent 7d05f95a
#!/bin/bash #!/bin/bash
../jre/bin/java -jar mprj-web-desktop-jar-with-dependencies.jar -nativesDir ../natives FILE="mprj-web-desktop-jar-with-dependencies.jar"
if [ -f "../$FILE" ];
then
file1_md5=$(md5sum "${FILE}")
file2_md5=$(md5sum "../${FILE}")
if [ ! "${file1_md5}" == "${file2_md5}" ]; then
\cp $FILE ../
fi
else
echo "File $FILE does not exist" >&2
cp $FILE ../
fi
cd ..
jre/bin/java -jar mprj-web-desktop-jar-with-dependencies.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