herdr-remote 0.2.16 → 0.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/herdr-remote.js +4 -0
- package/dist/tui.mjs +1394 -86
- package/herdr-plugin.toml +1 -1
- package/package.json +3 -2
- package/src/binary-plist.js +146 -0
- package/src/font-subset.js +110 -0
- package/src/host-connector.js +197 -0
- package/src/i18n/en.js +7 -1
- package/src/i18n/zh.js +7 -1
- package/src/service.js +14 -0
- package/src/terminal-font.js +1204 -0
- package/src/updater.js +203 -61
package/bin/herdr-remote.js
CHANGED
|
@@ -118,6 +118,10 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
118
118
|
// starts usually run detached with nothing to ask. Everything downstream
|
|
119
119
|
// inherits the answer through the environment.
|
|
120
120
|
require('../src/terminal-palette').captureTerminalPalette();
|
|
121
|
+
// The font, likewise, is read while this process still knows which terminal
|
|
122
|
+
// it runs in: its variables and its parent process are gone once a service
|
|
123
|
+
// manager or Herdr's detached server starts the connector.
|
|
124
|
+
require('../src/terminal-font').captureTerminalFont();
|
|
121
125
|
|
|
122
126
|
const config = loadConfig();
|
|
123
127
|
const preference = flags.lang && LANGUAGES.includes(flags.lang) ? flags.lang : config.ui.language;
|