aboutsummaryrefslogtreecommitdiffstats
path: root/typora-bin/typora.sh
diff options
context:
space:
mode:
Diffstat (limited to 'typora-bin/typora.sh')
-rw-r--r--typora-bin/typora.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/typora-bin/typora.sh b/typora-bin/typora.sh
index 9ecdf48..4f56585 100644
--- a/typora-bin/typora.sh
+++ b/typora-bin/typora.sh
@@ -8,7 +8,9 @@
#
# Override either way with TYPORA_OZONE=wayland or TYPORA_OZONE=x11.
-APPDIR=/opt/Typora-linux-x64
+# @APPDIR@ is substituted by the SlackBuild at build time (it carries the
+# package version, so it must not be hardcoded here).
+APPDIR=@APPDIR@
ozone=${TYPORA_OZONE:-auto}
if [ "$ozone" = auto ]; then