Lines 90-148javascript
95 module.exports = { cursor, scroll, erase, beep };
100var config_exports = {};
101__export(config_exports, {
102 APPOSTLE_RELAY_ENDPOINT: () => APPOSTLE_RELAY_ENDPOINT,
103 APPOSTLE_WEB_URL: () => APPOSTLE_WEB_URL,
104 INSTALLER_PACKAGE: () => INSTALLER_PACKAGE
106var APPOSTLE_RELAY_ENDPOINT, APPOSTLE_WEB_URL, INSTALLER_PACKAGE;
107var init_config = __esm({
110 APPOSTLE_RELAY_ENDPOINT = "pair.appostle.app:443";
111 APPOSTLE_WEB_URL = "https://appostle.app";
112 INSTALLER_PACKAGE = "appostle-installer";
116// ../../node_modules/is-plain-obj/index.js
117function isPlainObject(value) {
118 if (typeof value !== "object" || value === null) {
121 const prototype = Object.getPrototypeOf(value);
122 return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
124var init_is_plain_obj = __esm({
125 "../../node_modules/is-plain-obj/index.js"() {
129// ../../node_modules/execa/lib/arguments/file-url.js
130import { fileURLToPath } from "node:url";
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/appostle-installer.jsView on unpkg · L110 131var safeNormalizeFileUrl, normalizeDenoExecPath, isDenoExecPath, normalizeFileUrl;
132var init_file_url = __esm({
133 "../../node_modules/execa/lib/arguments/file-url.js"() {
134 safeNormalizeFileUrl = (file, name) => {
135 const fileString = normalizeFileUrl(normalizeDenoExecPath(file));
136 if (typeof fileString !== "string") {
137 throw new TypeError(`${name} must be a string or a file URL: ${fileString}.`);
141 normalizeDenoExecPath = (file) => isDenoExecPath(file) ? file.toString() : file;
142 isDenoExecPath = (file) => typeof file !== "string" && file && Object.getPrototypeOf(file) === String.prototype;
143 normalizeFileUrl = (file) => file instanceof URL ? fileURLToPath(file) : file;
147// ../../node_modules/execa/lib/methods/parameters.js
148var normalizeParameters;