Built from the environment-theme branch of ryanrhughes/t3code (tag v0.0.35-omarchy.1) until upstream ships it: the app follows themes the machine publishes into its state directory -- Omarchy retints it live -- and t3 theme set works. Same packaging as t3code-bin, conflicts with it, and the next upstream release supersedes it after a rebase.
11 lines
478 B
Bash
Executable File
11 lines
478 B
Bash
Executable File
#!/bin/bash
|
|
# The T3 Code server CLI (`t3`) ships inside the app bundle; upstream only
|
|
# distributes it separately through npm. The bundled Electron doubles as the
|
|
# Node runtime for it, so the desktop package can put the CLI on PATH without
|
|
# shipping a second runtime. Electron's fs layer reads app.asar transparently
|
|
# in this mode.
|
|
set -euo pipefail
|
|
|
|
export ELECTRON_RUN_AS_NODE=1
|
|
exec /usr/lib/t3code/t3code /usr/lib/t3code/resources/app.asar/apps/server/dist/bin.mjs "$@"
|