summarylogtreecommitdiffstats
path: root/youdao-dict.sh
diff options
context:
space:
mode:
authorzxp198210052023-12-12 18:50:19 +0800
committerzxp198210052023-12-12 18:50:19 +0800
commitf31b680860e515ecba4b5f676c22843b1f9aee05 (patch)
tree87a518c5df5fd9c3be89fd23e4e63ccc58779e93 /youdao-dict.sh
parent2b716b40ae2d334e7db8dd6c3778c0f0025f3fd3 (diff)
downloadaur-f31b680860e515ecba4b5f676c22843b1f9aee05.tar.gz
fix errors
Diffstat (limited to 'youdao-dict.sh')
-rw-r--r--youdao-dict.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/youdao-dict.sh b/youdao-dict.sh
new file mode 100644
index 000000000000..cdc36831627d
--- /dev/null
+++ b/youdao-dict.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+_APPDIR=/opt/@appname@
+_APPNAME=@runappname@
+export PATH="${_APPDIR}:${PATH}"
+cd "${_APPDIR}"
+exec python "${_APPDIR}/${_APPNAME}" %f \ No newline at end of file