brew-tui 2.0.0 → 2.0.1
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/build/index.js
CHANGED
|
@@ -4668,7 +4668,7 @@ function AccountView() {
|
|
|
4668
4668
|
status === "pro" || status === "team" || status === "expired" ? `v ${t("hint_revalidate")} ` : "",
|
|
4669
4669
|
revalidating ? t("account_revalidating") : "",
|
|
4670
4670
|
" ",
|
|
4671
|
-
t("app_version", { version: "2.0.
|
|
4671
|
+
t("app_version", { version: "2.0.1" })
|
|
4672
4672
|
] }) })
|
|
4673
4673
|
] });
|
|
4674
4674
|
}
|
|
@@ -6176,7 +6176,7 @@ async function reportError(err, context = {}) {
|
|
|
6176
6176
|
const config = await resolveConfig();
|
|
6177
6177
|
if (!config.enabled || !config.endpoint) return;
|
|
6178
6178
|
const machineId = await getMachineId();
|
|
6179
|
-
const version = true ? "2.0.
|
|
6179
|
+
const version = true ? "2.0.1" : "unknown";
|
|
6180
6180
|
await postReport(buildReport("error", err, context, machineId, version), config);
|
|
6181
6181
|
}
|
|
6182
6182
|
async function installCrashReporter() {
|
|
@@ -6185,7 +6185,7 @@ async function installCrashReporter() {
|
|
|
6185
6185
|
if (!config.enabled || !config.endpoint) return;
|
|
6186
6186
|
_installed = true;
|
|
6187
6187
|
const machineId = await getMachineId();
|
|
6188
|
-
const version = true ? "2.0.
|
|
6188
|
+
const version = true ? "2.0.1" : "unknown";
|
|
6189
6189
|
process.on("uncaughtException", (err) => {
|
|
6190
6190
|
void postReport(buildReport("fatal", err, { kind: "uncaughtException" }, machineId, version), config);
|
|
6191
6191
|
});
|
|
@@ -6200,7 +6200,7 @@ import { jsx as jsx39 } from "react/jsx-runtime";
|
|
|
6200
6200
|
var [, , command, arg] = process.argv;
|
|
6201
6201
|
async function runCli() {
|
|
6202
6202
|
if (command === "--version" || command === "-v" || command === "version") {
|
|
6203
|
-
process.stdout.write("2.0.
|
|
6203
|
+
process.stdout.write("2.0.1\n");
|
|
6204
6204
|
return;
|
|
6205
6205
|
}
|
|
6206
6206
|
await ensureDataDirs();
|
|
@@ -6218,6 +6218,7 @@ async function runCli() {
|
|
|
6218
6218
|
if (license.expiresAt) {
|
|
6219
6219
|
console.log(t("cli_expires", { date: formatDate(license.expiresAt) }));
|
|
6220
6220
|
}
|
|
6221
|
+
await ensureBrewTUIBarRunning();
|
|
6221
6222
|
} catch (err) {
|
|
6222
6223
|
console.error(t("cli_activationFailed", { error: err instanceof Error ? err.message : String(err) }));
|
|
6223
6224
|
process.exit(1);
|
|
@@ -6389,7 +6390,7 @@ async function ensureBrewTUIBarRunning() {
|
|
|
6389
6390
|
await useLicenseStore.getState().initialize();
|
|
6390
6391
|
if (!useLicenseStore.getState().isPro()) return;
|
|
6391
6392
|
const { isBrewTUIBarInstalled, installBrewTUIBar, launchBrewTUIBar } = await import("./brew-tui-bar-installer-4JLEZSJA.js");
|
|
6392
|
-
const { checkBrewTUIBarVersion } = await import("./version-check-
|
|
6393
|
+
const { checkBrewTUIBarVersion } = await import("./version-check-HMPVTOOY.js");
|
|
6393
6394
|
try {
|
|
6394
6395
|
if (!await isBrewTUIBarInstalled()) {
|
|
6395
6396
|
console.log(t("cli_brewtuibarInstalling"));
|