@edgible-team/cli 1.2.20 → 1.2.21
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.
|
@@ -158,7 +158,6 @@ class PlatformDetector {
|
|
|
158
158
|
*/
|
|
159
159
|
static async getAvailableOptions() {
|
|
160
160
|
const platform = this.getPlatform();
|
|
161
|
-
const isRoot = await this.isRoot();
|
|
162
161
|
const hasSystemd = await this.hasSystemd();
|
|
163
162
|
const hasLaunchd = await this.hasLaunchd();
|
|
164
163
|
const options = [];
|
|
@@ -172,7 +171,8 @@ class PlatformDetector {
|
|
|
172
171
|
pros: ['Native performance', 'Direct system access', 'Integrated with system logs'],
|
|
173
172
|
cons: ['Requires root privileges', 'Platform-specific'],
|
|
174
173
|
bestFor: 'Production servers, bare metal deployments',
|
|
175
|
-
|
|
174
|
+
// Available when PID1 is systemd; installing the unit still needs root/sudo at runtime
|
|
175
|
+
available: hasSystemd,
|
|
176
176
|
requiresRoot: true
|
|
177
177
|
});
|
|
178
178
|
}
|
|
@@ -186,7 +186,7 @@ class PlatformDetector {
|
|
|
186
186
|
pros: ['Native macOS integration', 'System-managed lifecycle', 'Integrated logs'],
|
|
187
187
|
cons: ['Requires root privileges', 'macOS-specific'],
|
|
188
188
|
bestFor: 'macOS servers, development machines',
|
|
189
|
-
available: hasLaunchd
|
|
189
|
+
available: hasLaunchd,
|
|
190
190
|
requiresRoot: true
|
|
191
191
|
});
|
|
192
192
|
}
|
|
@@ -200,7 +200,7 @@ class PlatformDetector {
|
|
|
200
200
|
pros: ['Native Windows integration', 'System-managed lifecycle', 'Windows Event Log'],
|
|
201
201
|
cons: ['Requires administrator privileges', 'Windows-specific'],
|
|
202
202
|
bestFor: 'Windows servers, production deployments',
|
|
203
|
-
available:
|
|
203
|
+
available: true,
|
|
204
204
|
requiresRoot: true
|
|
205
205
|
});
|
|
206
206
|
}
|