thrust-cli 1.0.2 → 1.0.3
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/index.js +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ let packageJson = { version: "1.0.0" };
|
|
|
15
15
|
try {
|
|
16
16
|
packageJson = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json'), 'utf8'));
|
|
17
17
|
} catch (e) {
|
|
18
|
-
console.warn("⚠️ Could not read package.json, defaulting version.
|
|
18
|
+
console.warn("⚠️ Could not read package.json, defaulting version.");
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const program = new Command();
|
|
@@ -80,6 +80,9 @@ async function enableAutoLaunchSafe() {
|
|
|
80
80
|
if (!isEnabled) {
|
|
81
81
|
await thrustAutoLauncher.enable();
|
|
82
82
|
console.log('⚙️ Added to OS Startup programs.');
|
|
83
|
+
} else {
|
|
84
|
+
// NEW: Always reassure the user that startup is active!
|
|
85
|
+
console.log('⚙️ OS Startup auto-launch is active.');
|
|
83
86
|
}
|
|
84
87
|
} catch (err) {
|
|
85
88
|
console.log(`⚠️ Auto-launch setup skipped (not supported on this setup).`);
|