Commit 3928b392 authored by akiraohgaki's avatar akiraohgaki

Update launcher

parent 5ee0dcbb
......@@ -5,14 +5,18 @@ export OPENSSL_CONF=/etc/ssl/
PREFIX="$(cd "$(dirname "${0}")" && pwd)"
if [ ${APPIMAGE} ]; then
export PATH=${PREFIX}/usr/local/bin:${PREFIX}/usr/bin:${PATH}
fi
if [ -f "${PREFIX}/ocs-store-linux-x64/ocs-store" ]; then
${PREFIX}/ocs-store-linux-x64/ocs-store
elif [ -f "${PREFIX}/../lib/ocs-store-linux-x64/ocs-store" ]; then
${PREFIX}/../lib/ocs-store-linux-x64/ocs-store
elif [ -f "${PREFIX}/usr/local/lib/ocs-store-linux-x64/ocs-store" ]; then
${PREFIX}/usr/local/lib/ocs-store-linux-x64/ocs-store
elif [ -f "${PREFIX}/usr/lib/ocs-store-linux-x64/ocs-store" ]; then
${PREFIX}/usr/lib/ocs-store-linux-x64/ocs-store
elif [ -f "${PREFIX}/../lib/ocs-store-linux-x64/ocs-store" ]; then
${PREFIX}/../lib/ocs-store-linux-x64/ocs-store
else
exit 1
fi
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