@askexenow/exe-os 0.8.94 → 0.8.95
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/dist/bin/cli.js +1 -1
- package/dist/bin/update.js +1 -1
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -13182,7 +13182,7 @@ var init_update = __esm({
|
|
|
13182
13182
|
init_is_main();
|
|
13183
13183
|
init_update_check();
|
|
13184
13184
|
init_update_check();
|
|
13185
|
-
if (isMainModule(import.meta.url)) {
|
|
13185
|
+
if (isMainModule(import.meta.url) && process.argv[1]?.includes("update")) {
|
|
13186
13186
|
runUpdate().catch((err) => {
|
|
13187
13187
|
console.error(err instanceof Error ? err.message : String(err));
|
|
13188
13188
|
process.exit(1);
|
package/dist/bin/update.js
CHANGED
|
@@ -654,7 +654,7 @@ async function runUpdate(cliArgs) {
|
|
|
654
654
|
}
|
|
655
655
|
console.log("\n\u{1F680} Ready. Start your COO session to use the new version.\n");
|
|
656
656
|
}
|
|
657
|
-
if (isMainModule(import.meta.url)) {
|
|
657
|
+
if (isMainModule(import.meta.url) && process.argv[1]?.includes("update")) {
|
|
658
658
|
runUpdate().catch((err) => {
|
|
659
659
|
console.error(err instanceof Error ? err.message : String(err));
|
|
660
660
|
process.exit(1);
|
package/package.json
CHANGED