aboutsummaryrefslogtreecommitdiffstats
path: root/typora-bin/README
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-08 21:34:56 +0200
committerDanilo M. <danix@danix.xyz>2026-08-08 21:34:56 +0200
commit4e34c235cd982baa2b8f8e01d081f3d148050cba (patch)
tree107ff167428e28d853a2614fff14c244654cf00c /typora-bin/README
parentf67bcd793194789ab78452f9d4f3133ce2517ee1 (diff)
downloadmy-slackbuilds-4e34c235cd982baa2b8f8e01d081f3d148050cba.tar.gz
my-slackbuilds-4e34c235cd982baa2b8f8e01d081f3d148050cba.zip
typora-bin: install to a versioned /opt directory
Was /opt/Typora-linux-x64 (upstream's own unversioned name), now /opt/typora-bin-$VERSION, matching kitty-bin and the rest of the repo. Upgrades can no longer leave a previous release's files behind. The versioned path is now generated rather than written down twice: the wrapper ships an @APPDIR@ placeholder that the SlackBuild substitutes, and the chrome-sandbox setuid line is appended to doinst.sh at build time. Both would otherwise be stale-version traps on the next bump, the doinst.sh one silently costing the sandbox its setuid bit. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'typora-bin/README')
-rw-r--r--typora-bin/README9
1 files changed, 5 insertions, 4 deletions
diff --git a/typora-bin/README b/typora-bin/README
index a04f077..040e31c 100644
--- a/typora-bin/README
+++ b/typora-bin/README
@@ -11,8 +11,9 @@ Typora is proprietary paid software. It ships as a time-limited free
trial and needs a purchased license key for continued use. Packaging
the tarball does not grant a license; see the homepage for terms.
-The app is installed under /opt/Typora-linux-x64 and launched through
-the /usr/bin/typora wrapper, which enables Electron's Ozone Wayland
+The app is installed under a versioned directory in /opt (for this
+release, /opt/typora-bin-1.14.9) and launched through the
+/usr/bin/typora wrapper, which enables Electron's Ozone Wayland
backend when it detects a Wayland session and otherwise leaves the
default X11 path alone. Force either backend by setting
TYPORA_OZONE=wayland or TYPORA_OZONE=x11.
@@ -25,5 +26,5 @@ Export to PDF works out of the box. For docx, epub, LaTeX and other
pandoc formats, install pandoc (available on SBo).
Upstream's bundled Chromium license file is not duplicated into
-/usr/doc; it ships in place as
-/opt/Typora-linux-x64/LICENSES.chromium.html.
+/usr/doc; it ships in place as LICENSES.chromium.html in that same
+directory.