bdy 1.16.0-dev → 1.16.2-dev
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/distTs/package.json
CHANGED
|
@@ -112,6 +112,9 @@ const installService = async (options) => {
|
|
|
112
112
|
output_1.default.exitSuccess(texts_1.TXT_AGENT_INSTALLED);
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
+
else {
|
|
116
|
+
output_1.default.exitSuccess(texts_1.TXT_AGENT_INSTALLED);
|
|
117
|
+
}
|
|
115
118
|
};
|
|
116
119
|
const installApp = async (options) => {
|
|
117
120
|
if (options.debug) {
|
|
@@ -190,7 +193,7 @@ commandAgentInstall.option('--pass <password>', texts_1.OPTION_PASS);
|
|
|
190
193
|
commandAgentInstall.option('--target', texts_1.OPTION_AGENT_TARGET);
|
|
191
194
|
commandAgentInstall.option('-d, --debug', texts_1.OPTION_AGENT_DEBUG);
|
|
192
195
|
commandAgentInstall.action(async (options) => {
|
|
193
|
-
options.start = options.start === 'true';
|
|
196
|
+
options.start = options.start === 'true' || options.start === true;
|
|
194
197
|
const hasAdminRights = await manager_1.default.system.hasAdminRights();
|
|
195
198
|
if (!hasAdminRights) {
|
|
196
199
|
output_1.default.exitError(texts_1.ERR_AGENT_ADMIN_RIGHTS);
|