summarylogtreecommitdiffstats
path: root/youdao-dict.sh
diff options
context:
space:
mode:
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