@theia/remote 1.45.0 → 1.46.0-next.241
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/README.md +1 -1
- package/lib/electron-browser/local-backend-services.d.ts +11 -0
- package/lib/electron-browser/local-backend-services.d.ts.map +1 -0
- package/lib/electron-browser/local-backend-services.js +37 -0
- package/lib/electron-browser/local-backend-services.js.map +1 -0
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts +6 -0
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts.map +1 -0
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.js +40 -0
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.js.map +1 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts +20 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts.map +1 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-service.js +89 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-service.js.map +1 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts +17 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts.map +1 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.js +125 -0
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.js.map +1 -0
- package/lib/electron-browser/remote-electron-file-dialog-service.js +5 -13
- package/lib/electron-browser/remote-electron-file-dialog-service.js.map +1 -1
- package/lib/electron-browser/remote-frontend-contribution.d.ts +1 -1
- package/lib/electron-browser/remote-frontend-contribution.d.ts.map +1 -1
- package/lib/electron-browser/remote-frontend-contribution.js +27 -33
- package/lib/electron-browser/remote-frontend-contribution.js.map +1 -1
- package/lib/electron-browser/remote-frontend-module.d.ts +1 -0
- package/lib/electron-browser/remote-frontend-module.d.ts.map +1 -1
- package/lib/electron-browser/remote-frontend-module.js +29 -2
- package/lib/electron-browser/remote-frontend-module.js.map +1 -1
- package/lib/electron-browser/remote-preferences.d.ts +1 -1
- package/lib/electron-browser/remote-preferences.d.ts.map +1 -1
- package/lib/electron-browser/remote-registry-contribution.d.ts +1 -1
- package/lib/electron-browser/remote-registry-contribution.d.ts.map +1 -1
- package/lib/electron-browser/remote-registry-contribution.js +11 -16
- package/lib/electron-browser/remote-registry-contribution.js.map +1 -1
- package/lib/electron-browser/remote-service.js +3 -8
- package/lib/electron-browser/remote-service.js.map +1 -1
- package/lib/electron-browser/remote-ssh-contribution.js +12 -20
- package/lib/electron-browser/remote-ssh-contribution.js.map +1 -1
- package/lib/electron-browser/remote-user-storage-provider.d.ts +21 -0
- package/lib/electron-browser/remote-user-storage-provider.d.ts.map +1 -0
- package/lib/electron-browser/remote-user-storage-provider.js +75 -0
- package/lib/electron-browser/remote-user-storage-provider.js.map +1 -0
- package/lib/electron-common/remote-port-forwarding-provider.d.ts +12 -0
- package/lib/electron-common/remote-port-forwarding-provider.d.ts.map +1 -0
- package/lib/electron-common/remote-port-forwarding-provider.js +21 -0
- package/lib/electron-common/remote-port-forwarding-provider.js.map +1 -0
- package/lib/electron-common/remote-status-service.d.ts +2 -1
- package/lib/electron-common/remote-status-service.d.ts.map +1 -1
- package/lib/electron-node/backend-remote-service-impl.d.ts +1 -1
- package/lib/electron-node/backend-remote-service-impl.d.ts.map +1 -1
- package/lib/electron-node/backend-remote-service-impl.js +4 -9
- package/lib/electron-node/backend-remote-service-impl.js.map +1 -1
- package/lib/electron-node/remote-backend-module.d.ts.map +1 -1
- package/lib/electron-node/remote-backend-module.js +10 -4
- package/lib/electron-node/remote-backend-module.js.map +1 -1
- package/lib/electron-node/remote-connection-service.d.ts +2 -2
- package/lib/electron-node/remote-connection-service.d.ts.map +1 -1
- package/lib/electron-node/remote-connection-service.js +17 -19
- package/lib/electron-node/remote-connection-service.js.map +1 -1
- package/lib/electron-node/remote-connection-socket-provider.js +3 -8
- package/lib/electron-node/remote-connection-socket-provider.js.map +1 -1
- package/lib/electron-node/remote-port-forwarding-provider.d.ts +19 -0
- package/lib/electron-node/remote-port-forwarding-provider.d.ts.map +1 -0
- package/lib/electron-node/remote-port-forwarding-provider.js +59 -0
- package/lib/electron-node/remote-port-forwarding-provider.js.map +1 -0
- package/lib/electron-node/remote-proxy-server-provider.js +3 -8
- package/lib/electron-node/remote-proxy-server-provider.js.map +1 -1
- package/lib/electron-node/remote-status-service.d.ts +1 -0
- package/lib/electron-node/remote-status-service.d.ts.map +1 -1
- package/lib/electron-node/remote-status-service.js +11 -13
- package/lib/electron-node/remote-status-service.js.map +1 -1
- package/lib/electron-node/remote-types.d.ts +21 -8
- package/lib/electron-node/remote-types.d.ts.map +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.d.ts +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.d.ts.map +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.js +3 -8
- package/lib/electron-node/setup/app-native-dependency-contribution.js.map +1 -1
- package/lib/electron-node/setup/main-copy-contribution.d.ts +1 -1
- package/lib/electron-node/setup/main-copy-contribution.d.ts.map +1 -1
- package/lib/electron-node/setup/main-copy-contribution.js +3 -8
- package/lib/electron-node/setup/main-copy-contribution.js.map +1 -1
- package/lib/electron-node/setup/remote-copy-contribution.d.ts +3 -19
- package/lib/electron-node/setup/remote-copy-contribution.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-copy-contribution.js +20 -25
- package/lib/electron-node/setup/remote-copy-contribution.js.map +1 -1
- package/lib/electron-node/setup/remote-copy-service.d.ts +5 -3
- package/lib/electron-node/setup/remote-copy-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-copy-service.js +14 -21
- package/lib/electron-node/setup/remote-copy-service.js.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts +2 -2
- package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-contribution.js +2 -2
- package/lib/electron-node/setup/remote-native-dependency-contribution.js.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-service.d.ts +1 -1
- package/lib/electron-node/setup/remote-native-dependency-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-service.js +7 -15
- package/lib/electron-node/setup/remote-native-dependency-service.js.map +1 -1
- package/lib/electron-node/setup/remote-node-setup-service.d.ts +1 -1
- package/lib/electron-node/setup/remote-node-setup-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-node-setup-service.js +7 -15
- package/lib/electron-node/setup/remote-node-setup-service.js.map +1 -1
- package/lib/electron-node/setup/remote-setup-script-service.d.ts +1 -1
- package/lib/electron-node/setup/remote-setup-script-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-setup-script-service.js +11 -19
- package/lib/electron-node/setup/remote-setup-script-service.js.map +1 -1
- package/lib/electron-node/setup/remote-setup-service.d.ts +9 -2
- package/lib/electron-node/setup/remote-setup-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-setup-service.js +39 -23
- package/lib/electron-node/setup/remote-setup-service.js.map +1 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts +1 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts.map +1 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.js +28 -34
- package/lib/electron-node/ssh/remote-ssh-connection-provider.js.map +1 -1
- package/lib/electron-node/ssh/ssh-identity-file-collector.js +3 -8
- package/lib/electron-node/ssh/ssh-identity-file-collector.js.map +1 -1
- package/package.json +11 -10
- package/src/electron-browser/local-backend-services.ts +31 -0
- package/src/electron-browser/port-forwarding/port-forwading-contribution.ts +33 -0
- package/src/electron-browser/port-forwarding/port-forwarding-service.ts +93 -0
- package/src/electron-browser/port-forwarding/port-forwarding-widget.tsx +140 -0
- package/src/electron-browser/remote-frontend-contribution.ts +9 -7
- package/src/electron-browser/remote-frontend-module.ts +39 -3
- package/src/electron-browser/remote-registry-contribution.ts +9 -6
- package/src/electron-browser/remote-user-storage-provider.ts +64 -0
- package/src/electron-browser/style/port-forwarding-widget.css +44 -0
- package/src/electron-common/remote-port-forwarding-provider.ts +30 -0
- package/src/electron-common/remote-status-service.ts +3 -1
- package/src/electron-node/backend-remote-service-impl.ts +1 -1
- package/src/electron-node/remote-backend-module.ts +10 -3
- package/src/electron-node/remote-connection-service.ts +9 -4
- package/src/electron-node/remote-port-forwarding-provider.ts +66 -0
- package/src/electron-node/remote-status-service.ts +7 -0
- package/src/electron-node/remote-types.ts +20 -7
- package/src/electron-node/setup/app-native-dependency-contribution.ts +1 -1
- package/src/electron-node/setup/main-copy-contribution.ts +1 -1
- package/src/electron-node/setup/remote-copy-contribution.ts +14 -30
- package/src/electron-node/setup/remote-copy-service.ts +6 -4
- package/src/electron-node/setup/remote-native-dependency-contribution.ts +1 -1
- package/src/electron-node/setup/remote-native-dependency-service.ts +1 -1
- package/src/electron-node/setup/remote-node-setup-service.ts +1 -1
- package/src/electron-node/setup/remote-setup-script-service.ts +1 -1
- package/src/electron-node/setup/remote-setup-service.ts +31 -6
- package/src/electron-node/ssh/remote-ssh-connection-provider.ts +10 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-copy-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-copy-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AAE1G,qBACa,iBAAiB;IAG1B,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAG1D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAGxD,SAAS,CAAC,QAAQ,CAAC,uBAAuB,EAAE,6BAA6B,CAAC;IAG1E,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;IAEnF,SAAS,CAAC,WAAW,UAAS;IAExB,YAAY,CAAC,MAAM,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cA+BhG,QAAQ,CAAC,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;cAQhF,qBAAqB,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;cAU9C,sBAAsB,CAAC,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;cAW9F,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;cAM7B,yBAAyB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAG3E"}
|
|
@@ -14,17 +14,9 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
18
|
exports.RemoteCopyService = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
28
20
|
const archiver = require("archiver");
|
|
29
21
|
const path = require("path");
|
|
30
22
|
const fs = require("fs");
|
|
@@ -34,6 +26,7 @@ const inversify_1 = require("@theia/core/shared/inversify");
|
|
|
34
26
|
const remote_native_dependency_service_1 = require("./remote-native-dependency-service");
|
|
35
27
|
const core_1 = require("@theia/core");
|
|
36
28
|
const remote_copy_contribution_1 = require("./remote-copy-contribution");
|
|
29
|
+
const remote_copy_contribution_2 = require("@theia/core/lib/node/remote/remote-copy-contribution");
|
|
37
30
|
let RemoteCopyService = class RemoteCopyService {
|
|
38
31
|
constructor() {
|
|
39
32
|
this.initialized = false;
|
|
@@ -103,25 +96,25 @@ let RemoteCopyService = class RemoteCopyService {
|
|
|
103
96
|
return undefined;
|
|
104
97
|
}
|
|
105
98
|
};
|
|
106
|
-
|
|
99
|
+
exports.RemoteCopyService = RemoteCopyService;
|
|
100
|
+
tslib_1.__decorate([
|
|
107
101
|
(0, inversify_1.inject)(application_package_1.ApplicationPackage),
|
|
108
|
-
__metadata("design:type", application_package_1.ApplicationPackage)
|
|
102
|
+
tslib_1.__metadata("design:type", application_package_1.ApplicationPackage)
|
|
109
103
|
], RemoteCopyService.prototype, "applicationPackage", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, inversify_1.inject)(remote_copy_contribution_1.
|
|
112
|
-
__metadata("design:type", remote_copy_contribution_1.
|
|
104
|
+
tslib_1.__decorate([
|
|
105
|
+
(0, inversify_1.inject)(remote_copy_contribution_1.RemoteCopyRegistryImpl),
|
|
106
|
+
tslib_1.__metadata("design:type", remote_copy_contribution_1.RemoteCopyRegistryImpl)
|
|
113
107
|
], RemoteCopyService.prototype, "copyRegistry", void 0);
|
|
114
|
-
__decorate([
|
|
108
|
+
tslib_1.__decorate([
|
|
115
109
|
(0, inversify_1.inject)(remote_native_dependency_service_1.RemoteNativeDependencyService),
|
|
116
|
-
__metadata("design:type", remote_native_dependency_service_1.RemoteNativeDependencyService)
|
|
110
|
+
tslib_1.__metadata("design:type", remote_native_dependency_service_1.RemoteNativeDependencyService)
|
|
117
111
|
], RemoteCopyService.prototype, "nativeDependencyService", void 0);
|
|
118
|
-
__decorate([
|
|
112
|
+
tslib_1.__decorate([
|
|
119
113
|
(0, inversify_1.inject)(core_1.ContributionProvider),
|
|
120
|
-
(0, inversify_1.named)(
|
|
121
|
-
__metadata("design:type", Object)
|
|
114
|
+
(0, inversify_1.named)(remote_copy_contribution_2.RemoteCopyContribution),
|
|
115
|
+
tslib_1.__metadata("design:type", Object)
|
|
122
116
|
], RemoteCopyService.prototype, "copyContributions", void 0);
|
|
123
|
-
RemoteCopyService = __decorate([
|
|
117
|
+
exports.RemoteCopyService = RemoteCopyService = tslib_1.__decorate([
|
|
124
118
|
(0, inversify_1.injectable)()
|
|
125
119
|
], RemoteCopyService);
|
|
126
|
-
exports.RemoteCopyService = RemoteCopyService;
|
|
127
120
|
//# sourceMappingURL=remote-copy-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-copy-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF
|
|
1
|
+
{"version":3,"file":"remote-copy-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qCAAqC;AACrC,6BAA6B;AAC7B,yBAAyB;AACzB,yBAAyB;AACzB,uFAAmF;AACnF,4DAAyE;AAGzE,yFAAmF;AACnF,sCAAmD;AACnD,yEAAoE;AACpE,mGAA0G;AAGnG,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QAcO,gBAAW,GAAG,KAAK,CAAC;IAuElC,CAAC;IArEG,KAAK,CAAC,YAAY,CAAC,MAAwB,EAAE,cAA8B,EAAE,WAAmB;;QAC5F,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;QAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC;QACxD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;QACxC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QAC3D,iEAAiE;QACjE,yEAAyE;QACzE,MAAM,MAAM,GAAG,EAAE,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC7C,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,EAAE;YAC5B,IAAI,EAAE,IAAI;SACb,CAAC,CAA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BAZ1E,iBAAiB;IAD7B,IAAA,sBAAU,GAAE;GACA,iBAAiB,CAqF7B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { RequestOptions } from '@theia/core/shared/@theia/request';
|
|
3
|
-
import { RemotePlatform } from '
|
|
3
|
+
import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
4
4
|
export interface FileDependencyResult {
|
|
5
5
|
path: string;
|
|
6
6
|
mode?: number;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type DependencyDownload = FileDependencyDownload | DirectoryDependencyDownload;
|
|
9
9
|
export interface FileDependencyDownload {
|
|
10
10
|
file: FileDependencyResult;
|
|
11
11
|
buffer: Buffer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAErF,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AAEtF,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,yBAAiB,oBAAoB,CAAC;IAClC,SAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,sBAAsB,CAEhE;CACJ;AAED,MAAM,WAAW,2BAA2B;IACxC,OAAO,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;IAC9B,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,yBAAiB,2BAA2B,CAAC;IACzC,SAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,2BAA2B,CAErE;CACJ;AAED,MAAM,WAAW,eAAe;IAC5B,cAAc,EAAE,cAAc,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtE;AAED,eAAO,MAAM,kCAAkC,eAA+C,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACnE"}
|
|
@@ -23,13 +23,13 @@ var FileDependencyResult;
|
|
|
23
23
|
return (0, core_1.isObject)(item) && 'buffer' in item && 'file' in item;
|
|
24
24
|
}
|
|
25
25
|
FileDependencyResult.is = is;
|
|
26
|
-
})(FileDependencyResult
|
|
26
|
+
})(FileDependencyResult || (exports.FileDependencyResult = FileDependencyResult = {}));
|
|
27
27
|
var DirectoryDependencyDownload;
|
|
28
28
|
(function (DirectoryDependencyDownload) {
|
|
29
29
|
function is(item) {
|
|
30
30
|
return (0, core_1.isObject)(item) && 'buffer' in item && 'archive' in item;
|
|
31
31
|
}
|
|
32
32
|
DirectoryDependencyDownload.is = is;
|
|
33
|
-
})(DirectoryDependencyDownload
|
|
33
|
+
})(DirectoryDependencyDownload || (exports.DirectoryDependencyDownload = DirectoryDependencyDownload = {}));
|
|
34
34
|
exports.RemoteNativeDependencyContribution = Symbol('RemoteNativeDependencyContribution');
|
|
35
35
|
//# sourceMappingURL=remote-native-dependency-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,sCAAuC;AAgBvC,IAAiB,oBAAoB,CAIpC;AAJD,WAAiB,oBAAoB;IACjC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC;IAChE,CAAC;IAFe,uBAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"remote-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,sCAAuC;AAgBvC,IAAiB,oBAAoB,CAIpC;AAJD,WAAiB,oBAAoB;IACjC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC;IAChE,CAAC;IAFe,uBAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,oBAAoB,oCAApB,oBAAoB,QAIpC;AAOD,IAAiB,2BAA2B,CAI3C;AAJD,WAAiB,2BAA2B;IACxC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,CAAC;IACnE,CAAC;IAFe,8BAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,2BAA2B,2CAA3B,2BAA2B,QAI3C;AAQY,QAAA,kCAAkC,GAAG,MAAM,CAAC,oCAAoC,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { ContributionProvider } from '@theia/core';
|
|
3
3
|
import { RequestService, RequestOptions } from '@theia/core/shared/@theia/request';
|
|
4
4
|
import { DependencyDownload, RemoteNativeDependencyContribution } from './remote-native-dependency-contribution';
|
|
5
|
-
import { RemotePlatform } from '
|
|
5
|
+
import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
6
6
|
export declare const DEFAULT_HTTP_OPTIONS: {
|
|
7
7
|
method: string;
|
|
8
8
|
headers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-native-dependency-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-service.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAE,oBAAoB,EAAiB,MAAM,aAAa,CAAC;AAElE,OAAO,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAInG,OAAO,EAAE,kBAAkB,EAA+B,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC9I,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-native-dependency-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-service.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAE,oBAAoB,EAAiB,MAAM,aAAa,CAAC;AAElE,OAAO,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAInG,OAAO,EAAE,kBAAkB,EAA+B,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC9I,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAMrF,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBACa,6BAA6B;IAGtC,SAAS,CAAC,6BAA6B,EAAE,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;IAGlG,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAEnC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;cAc9F,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;cAYzE,eAAe,CAAC,UAAU,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;CAiCtH"}
|
|
@@ -14,17 +14,9 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
18
|
exports.RemoteNativeDependencyService = exports.DEFAULT_HTTP_OPTIONS = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
28
20
|
const core_1 = require("@theia/core");
|
|
29
21
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
30
22
|
const request_1 = require("@theia/core/shared/@theia/request");
|
|
@@ -103,17 +95,17 @@ let RemoteNativeDependencyService = class RemoteNativeDependencyService {
|
|
|
103
95
|
}
|
|
104
96
|
}
|
|
105
97
|
};
|
|
106
|
-
|
|
98
|
+
exports.RemoteNativeDependencyService = RemoteNativeDependencyService;
|
|
99
|
+
tslib_1.__decorate([
|
|
107
100
|
(0, inversify_1.inject)(core_1.ContributionProvider),
|
|
108
101
|
(0, inversify_1.named)(remote_native_dependency_contribution_1.RemoteNativeDependencyContribution),
|
|
109
|
-
__metadata("design:type", Object)
|
|
102
|
+
tslib_1.__metadata("design:type", Object)
|
|
110
103
|
], RemoteNativeDependencyService.prototype, "nativeDependencyContributions", void 0);
|
|
111
|
-
__decorate([
|
|
104
|
+
tslib_1.__decorate([
|
|
112
105
|
(0, inversify_1.inject)(request_1.RequestService),
|
|
113
|
-
__metadata("design:type", Object)
|
|
106
|
+
tslib_1.__metadata("design:type", Object)
|
|
114
107
|
], RemoteNativeDependencyService.prototype, "requestService", void 0);
|
|
115
|
-
RemoteNativeDependencyService = __decorate([
|
|
108
|
+
exports.RemoteNativeDependencyService = RemoteNativeDependencyService = tslib_1.__decorate([
|
|
116
109
|
(0, inversify_1.injectable)()
|
|
117
110
|
], RemoteNativeDependencyService);
|
|
118
|
-
exports.RemoteNativeDependencyService = RemoteNativeDependencyService;
|
|
119
111
|
//# sourceMappingURL=remote-native-dependency-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-native-dependency-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF
|
|
1
|
+
{"version":3,"file":"remote-native-dependency-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,sCAAkE;AAClE,4DAAyE;AACzE,+DAAmG;AACnG,yCAAyC;AACzC,6BAA6B;AAC7B,kCAAkC;AAClC,mGAA8I;AAG9I,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAChD,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AACpD,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAEvC,QAAA,oBAAoB,GAAG;IAChC,MAAM,EAAE,KAAK;IACb,OAAO,EAAE;QACL,MAAM,EAAE,0BAA0B;KACrC;CACJ,CAAC;AASK,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IAQtC,KAAK,CAAC,oBAAoB,CAAC,cAA8B,EAAE,SAAiB;QACxE,MAAM,mBAAmB,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,6BAA6B,CAAC,gBAAgB,EAAE;aAC9F,GAAG,CAAC,KAAK,EAAC,YA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C;CAEJ,CAAA;AAnEY,sEAA6B;AAG5B;IADT,IAAA,kBAAM,EAAC,2BAAoB,CAAC;IAAE,IAAA,iBAAK,EAAC,0EAAkC,CAAC;;oFAC0B;AAGxF;IADT,IAAA,kBAAM,EAAC,wBAAc,CAAC;;qEACkB;wCANhC,6BAA6B;IADzC,IAAA,sBAAU,GAAE;GACA,6BAA6B,CAmEzC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RequestService } from '@theia/core/shared/@theia/request';
|
|
2
2
|
import { RemoteSetupScriptService } from './remote-setup-script-service';
|
|
3
|
-
import { RemotePlatform } from '
|
|
3
|
+
import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
4
4
|
/**
|
|
5
5
|
* The current node version that Theia recommends.
|
|
6
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-node-setup-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-node-setup-service.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-node-setup-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-node-setup-service.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAGrF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAE7C,qBACa,sBAAsB;IAG/B,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;IAE3D,oBAAoB,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAItD,SAAS,CAAC,eAAe,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAY3D,SAAS,CAAC,gBAAgB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAU1D,SAAS,CAAC,kBAAkB,CAAC,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,GAAG,KAAK;IAIpF,SAAS,CAAC,oBAAoB,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAYhE,eAAe,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAI3C,YAAY,CAAC,QAAQ,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAexF,sBAAsB,CAAC,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM;IAUvG,SAAS,CAAC,eAAe,CAAC,QAAQ,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM;CASzF"}
|
|
@@ -14,17 +14,9 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
18
|
exports.RemoteNodeSetupService = exports.REMOTE_NODE_VERSION = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
28
20
|
const path = require("path");
|
|
29
21
|
const fs = require("@theia/core/shared/fs-extra");
|
|
30
22
|
const os = require("os");
|
|
@@ -118,16 +110,16 @@ let RemoteNodeSetupService = class RemoteNodeSetupService {
|
|
|
118
110
|
return downloadPath;
|
|
119
111
|
}
|
|
120
112
|
};
|
|
121
|
-
|
|
113
|
+
exports.RemoteNodeSetupService = RemoteNodeSetupService;
|
|
114
|
+
tslib_1.__decorate([
|
|
122
115
|
(0, inversify_1.inject)(request_1.RequestService),
|
|
123
|
-
__metadata("design:type", Object)
|
|
116
|
+
tslib_1.__metadata("design:type", Object)
|
|
124
117
|
], RemoteNodeSetupService.prototype, "requestService", void 0);
|
|
125
|
-
__decorate([
|
|
118
|
+
tslib_1.__decorate([
|
|
126
119
|
(0, inversify_1.inject)(remote_setup_script_service_1.RemoteSetupScriptService),
|
|
127
|
-
__metadata("design:type", remote_setup_script_service_1.RemoteSetupScriptService)
|
|
120
|
+
tslib_1.__metadata("design:type", remote_setup_script_service_1.RemoteSetupScriptService)
|
|
128
121
|
], RemoteNodeSetupService.prototype, "scriptService", void 0);
|
|
129
|
-
RemoteNodeSetupService = __decorate([
|
|
122
|
+
exports.RemoteNodeSetupService = RemoteNodeSetupService = tslib_1.__decorate([
|
|
130
123
|
(0, inversify_1.injectable)()
|
|
131
124
|
], RemoteNodeSetupService);
|
|
132
|
-
exports.RemoteNodeSetupService = RemoteNodeSetupService;
|
|
133
125
|
//# sourceMappingURL=remote-node-setup-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-node-setup-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-node-setup-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF
|
|
1
|
+
{"version":3,"file":"remote-node-setup-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-node-setup-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,6BAA6B;AAC7B,kDAAkD;AAClD,yBAAyB;AAEzB,4DAAkE;AAClE,+DAAmE;AACnE,+EAAyE;AAEzE,sCAAiC;AAEjC;;;;GAIG;AACU,QAAA,mBAAmB,GAAG,SAAS,CAAC;AAGtC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAQ/B,oBAAoB,CAAC,QAAwB;QACzC,OAAO,SAAS,2BAAmB,IAAI,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;IAC7F,CAAC;IAES,eAAe,CAAC,QAAwB;QAC9C,IAAI,UAAkB,CAAC;QACvB,IAAI,QAAQ,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClC,UAAU,GAAG,KAAK,CAAC;QACvB,CAAC;aAAM,IAAI,QAAQ,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACrC,UAAU,GAAG,QAAQ,CAAC;QAC1B,CAAC;aAAM,CAAC;YACJ,UAAU,GAAG,OAAO,CAAC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AC,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAClF,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;QACtE,OAAO,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;IAES,eAAe,CAAC,QAAwB,EAAE,gBAAyB;QACzE,MAAM,QAAQ,GAAG,gBAAgB,IAAI,sEAAsE,CAAC;QAC5G,MAAM,YAAY,GAAG,QAAQ;aACxB,OAAO,CAAC,YAAY,EAAE,2BAAmB,CAAC;aAC1C,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;aAChD,OAAO,CAAC,SAAS,EAAE,QAAQ,CAAC,IAAI,CAAC;aACjC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC5D,OAAO,YAAY,CAAC;IACxB,CAAC;CACJ,CAAA;AAxFY,wDAAsB;AAGZ;IADlB,IAAA,kBAAM,EAAC,wBAAc,CAAC;;8DAC2B;AAG/B;IADlB,IAAA,kBAAM,EAAC,sDAAwB,CAAC;sCACC,sDAAwB;6DAAC;iCANlD,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CAwFlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-setup-script-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-setup-script-service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-setup-script-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/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G,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM;IAIvC,UAAU,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM;CAG5C;AAED,qBACa,wBAAwB;IAGjC,SAAS,CAAC,eAAe,EAAE,2BAA2B,CAAC;IAGvD,SAAS,CAAC,aAAa,EAAE,yBAAyB,CAAC;IAEnD,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,cAAc,GAAG,oBAAoB;IAIrE,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAItC,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAItC,YAAY,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAI3E,KAAK,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;IAIxE,KAAK,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;IAIrD,QAAQ,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM;IAIjE,UAAU,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM;CAGtE"}
|
|
@@ -14,17 +14,9 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
18
|
exports.RemoteSetupScriptService = exports.RemotePosixScriptStrategy = exports.RemoteWindowsScriptStrategy = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
28
20
|
const core_1 = require("@theia/core");
|
|
29
21
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
30
22
|
let RemoteWindowsScriptStrategy = class RemoteWindowsScriptStrategy {
|
|
@@ -50,10 +42,10 @@ let RemoteWindowsScriptStrategy = class RemoteWindowsScriptStrategy {
|
|
|
50
42
|
return segments.join('\r\n');
|
|
51
43
|
}
|
|
52
44
|
};
|
|
53
|
-
RemoteWindowsScriptStrategy =
|
|
45
|
+
exports.RemoteWindowsScriptStrategy = RemoteWindowsScriptStrategy;
|
|
46
|
+
exports.RemoteWindowsScriptStrategy = RemoteWindowsScriptStrategy = tslib_1.__decorate([
|
|
54
47
|
(0, inversify_1.injectable)()
|
|
55
48
|
], RemoteWindowsScriptStrategy);
|
|
56
|
-
exports.RemoteWindowsScriptStrategy = RemoteWindowsScriptStrategy;
|
|
57
49
|
let RemotePosixScriptStrategy = class RemotePosixScriptStrategy {
|
|
58
50
|
home() {
|
|
59
51
|
return 'eval echo ~';
|
|
@@ -88,10 +80,10 @@ fi
|
|
|
88
80
|
return segments.join('\n');
|
|
89
81
|
}
|
|
90
82
|
};
|
|
91
|
-
RemotePosixScriptStrategy =
|
|
83
|
+
exports.RemotePosixScriptStrategy = RemotePosixScriptStrategy;
|
|
84
|
+
exports.RemotePosixScriptStrategy = RemotePosixScriptStrategy = tslib_1.__decorate([
|
|
92
85
|
(0, inversify_1.injectable)()
|
|
93
86
|
], RemotePosixScriptStrategy);
|
|
94
|
-
exports.RemotePosixScriptStrategy = RemotePosixScriptStrategy;
|
|
95
87
|
let RemoteSetupScriptService = class RemoteSetupScriptService {
|
|
96
88
|
getStrategy(platform) {
|
|
97
89
|
return platform.os === core_1.OS.Type.Windows ? this.windowsStrategy : this.posixStrategy;
|
|
@@ -118,16 +110,16 @@ let RemoteSetupScriptService = class RemoteSetupScriptService {
|
|
|
118
110
|
return this.getStrategy(platform).joinScript(...segments);
|
|
119
111
|
}
|
|
120
112
|
};
|
|
121
|
-
|
|
113
|
+
exports.RemoteSetupScriptService = RemoteSetupScriptService;
|
|
114
|
+
tslib_1.__decorate([
|
|
122
115
|
(0, inversify_1.inject)(RemoteWindowsScriptStrategy),
|
|
123
|
-
__metadata("design:type", RemoteWindowsScriptStrategy)
|
|
116
|
+
tslib_1.__metadata("design:type", RemoteWindowsScriptStrategy)
|
|
124
117
|
], RemoteSetupScriptService.prototype, "windowsStrategy", void 0);
|
|
125
|
-
__decorate([
|
|
118
|
+
tslib_1.__decorate([
|
|
126
119
|
(0, inversify_1.inject)(RemotePosixScriptStrategy),
|
|
127
|
-
__metadata("design:type", RemotePosixScriptStrategy)
|
|
120
|
+
tslib_1.__metadata("design:type", RemotePosixScriptStrategy)
|
|
128
121
|
], RemoteSetupScriptService.prototype, "posixStrategy", void 0);
|
|
129
|
-
RemoteSetupScriptService = __decorate([
|
|
122
|
+
exports.RemoteSetupScriptService = RemoteSetupScriptService = tslib_1.__decorate([
|
|
130
123
|
(0, inversify_1.injectable)()
|
|
131
124
|
], RemoteSetupScriptService);
|
|
132
|
-
exports.RemoteSetupScriptService = RemoteSetupScriptService;
|
|
133
125
|
//# sourceMappingURL=remote-setup-script-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-setup-script-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-setup-script-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF
|
|
1
|
+
{"version":3,"file":"remote-setup-script-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-setup-script-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,sCAAiC;AACjC,4DAAkE;AAc3D,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAEpC,IAAI;QACA,OAAO,2BAA2B,CAAC;IACvC,CAAC;IAED,IAAI;QACA,OAAO,qBAAqB,CAAC;IACjC,CAAC;IAED,YAAY,CAAC,GAAW,EAAE,MAAc;QACpC,OAAO,+CAA+C,GAAG,cAAc,MAAM,EAAE,CAAC;IACpF,CAAC;IAED,KAAK,CAAC,IAAY,EAAE,SAAiB;QACjC,OAAO,YAAY,IAAI,SAAS,SAAS,GAAG,CAAC;IACjD,CAAC;IAED,KAAK,CAAC,IAAY;QACd,OAAO,kEAAkE,IAAI,GAAG,CAAC;IACrF,CAAC;IAED,QAAQ,CAAC,GAAG,QAAkB;QAC1B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAED,UAAU,CAAC,GAAG,QAAkB;QAC5B,OAAO,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;CACJ,CAAA;AA7BY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,sBAAU,GAAE;G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B,EAAE,GAAW,EAAE,MAAc;QAC9D,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAChE,CAAC;IAED,KAAK,CAAC,QAAwB,EAAE,IAAY,EAAE,SAAiB;QAC3D,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,KAAK,CAAC,QAAwB,EAAE,IAAY;QACxC,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IAED,QAAQ,CAAC,QAAwB,EAAE,GAAG,QAAkB;QACpD,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;IAC5D,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,GAAG,QAAkB;QACtD,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC,CAAC;IAC9D,CAAC;CACJ,CAAA;AAvCY,4DAAwB;AAGvB;IADT,IAAA,kBAAM,EAAC,2BAA2B,CAAC;sCACT,2BAA2B;iEAAC;AAG7C;IADT,IAAA,kBAAM,EAAC,yBAAyB,CAAC;sCACT,yBAAyB;+DAAC;mCAN1C,wBAAwB;IADpC,IAAA,sBAAU,GAAE;GACA,wBAAwB,CAuCpC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { RemoteConnection, RemoteExecResult,
|
|
1
|
+
import { RemoteConnection, RemoteExecResult, RemoteStatusReport } from '../remote-types';
|
|
2
|
+
import { RemoteCliContribution, RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
2
3
|
import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
|
|
3
4
|
import { RemoteCopyService } from './remote-copy-service';
|
|
4
5
|
import { RemoteNativeDependencyService } from './remote-native-dependency-service';
|
|
6
|
+
import { ContributionProvider } from '@theia/core';
|
|
5
7
|
import { RemoteNodeSetupService } from './remote-node-setup-service';
|
|
6
8
|
import { RemoteSetupScriptService } from './remote-setup-script-service';
|
|
7
9
|
export interface RemoteSetupOptions {
|
|
@@ -9,13 +11,18 @@ export interface RemoteSetupOptions {
|
|
|
9
11
|
report: RemoteStatusReport;
|
|
10
12
|
nodeDownloadTemplate?: string;
|
|
11
13
|
}
|
|
14
|
+
export interface RemoteSetupResult {
|
|
15
|
+
applicationDirectory: string;
|
|
16
|
+
nodeDirectory: string;
|
|
17
|
+
}
|
|
12
18
|
export declare class RemoteSetupService {
|
|
13
19
|
protected readonly copyService: RemoteCopyService;
|
|
14
20
|
protected readonly nativeDependencyService: RemoteNativeDependencyService;
|
|
15
21
|
protected readonly nodeSetupService: RemoteNodeSetupService;
|
|
16
22
|
protected readonly scriptService: RemoteSetupScriptService;
|
|
17
23
|
protected readonly applicationPackage: ApplicationPackage;
|
|
18
|
-
|
|
24
|
+
protected readonly cliContributions: ContributionProvider<RemoteCliContribution>;
|
|
25
|
+
setup(options: RemoteSetupOptions): Promise<RemoteSetupResult>;
|
|
19
26
|
protected startApplication(connection: RemoteConnection, platform: RemotePlatform, remotePath: string, nodeDir: string): Promise<number>;
|
|
20
27
|
protected detectRemotePlatform(connection: RemoteConnection): Promise<RemotePlatform>;
|
|
21
28
|
protected getRemoteHomeDirectory(connection: RemoteConnection, platform: RemotePlatform): Promise<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-setup-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-setup-service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"remote-setup-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-setup-service.ts"],"names":[],"mappings":"AAiB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EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;cAiC9H,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC;cAgD3E,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAK/G,SAAS,CAAC,gBAAgB,IAAI,MAAM;IAMpC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;cAIpC,WAAW,CAAC,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cAOtG,eAAe,CAAC,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;cAKnF,WAAW,CAAC,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cAO/H,mBAAmB,CAAC,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGzI"}
|
|
@@ -14,18 +14,11 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
18
|
exports.RemoteSetupService = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
28
20
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
+
const remote_cli_contribution_1 = require("@theia/core/lib/node/remote/remote-cli-contribution");
|
|
29
22
|
const application_package_1 = require("@theia/core/shared/@theia/application-package");
|
|
30
23
|
const remote_copy_service_1 = require("./remote-copy-service");
|
|
31
24
|
const remote_native_dependency_service_1 = require("./remote-native-dependency-service");
|
|
@@ -68,19 +61,34 @@ let RemoteSetupService = class RemoteSetupService {
|
|
|
68
61
|
report('Starting application on remote...');
|
|
69
62
|
const port = await this.startApplication(connection, platform, applicationDirectory, remoteNodeDirectory);
|
|
70
63
|
connection.remotePort = port;
|
|
64
|
+
return {
|
|
65
|
+
applicationDirectory: libDir,
|
|
66
|
+
nodeDirectory: remoteNodeDirectory
|
|
67
|
+
};
|
|
71
68
|
}
|
|
72
69
|
async startApplication(connection, platform, remotePath, nodeDir) {
|
|
70
|
+
var _a;
|
|
73
71
|
const nodeExecutable = this.scriptService.joinPath(platform, nodeDir, ...(platform.os === core_1.OS.Type.Windows ? ['node.exe'] : ['bin', 'node']));
|
|
74
72
|
const mainJsFile = this.scriptService.joinPath(platform, remotePath, 'lib', 'backend', 'main.js');
|
|
75
|
-
const localAddressRegex = /listening on http:\/\/
|
|
73
|
+
const localAddressRegex = /listening on http:\/\/0.0.0.0:(\d+)/;
|
|
76
74
|
let prefix = '';
|
|
77
75
|
if (platform.os === core_1.OS.Type.Windows) {
|
|
78
76
|
// We might to switch to PowerShell beforehand on Windows
|
|
79
77
|
prefix = this.scriptService.exec(platform) + ' ';
|
|
80
78
|
}
|
|
79
|
+
const remoteContext = {
|
|
80
|
+
platform,
|
|
81
|
+
directory: remotePath
|
|
82
|
+
};
|
|
83
|
+
const args = ['--hostname=0.0.0.0', `--port=${(_a = connection.remotePort) !== null && _a !== void 0 ? _a : 0}`, '--remote'];
|
|
84
|
+
for (const cli of this.cliContributions.getContributions()) {
|
|
85
|
+
if (cli.enhanceArgs) {
|
|
86
|
+
args.push(...await cli.enhanceArgs(remoteContext));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
81
89
|
// Change to the remote application path and start a node process with the copied main.js file
|
|
82
90
|
// This way, our current working directory is set as expected
|
|
83
|
-
const result = await connection.execPartial(`${prefix}cd "${remotePath}";${nodeExecutable}`, stdout => localAddressRegex.test(stdout), [mainJsFile,
|
|
91
|
+
const result = await connection.execPartial(`${prefix}cd "${remotePath}";${nodeExecutable}`, stdout => localAddressRegex.test(stdout), [mainJsFile, ...args]);
|
|
84
92
|
const match = localAddressRegex.exec(result.stdout);
|
|
85
93
|
if (!match) {
|
|
86
94
|
throw new Error('Could not start remote system: ' + result.stdout);
|
|
@@ -128,6 +136,9 @@ let RemoteSetupService = class RemoteSetupService {
|
|
|
128
136
|
else if (archResult.match(/i\d83/)) { // i386, i483, i683
|
|
129
137
|
arch = 'x86';
|
|
130
138
|
}
|
|
139
|
+
else if (archResult.includes('aarch64')) {
|
|
140
|
+
arch = 'arm64';
|
|
141
|
+
}
|
|
131
142
|
else {
|
|
132
143
|
arch = archResult.trim();
|
|
133
144
|
}
|
|
@@ -172,28 +183,33 @@ let RemoteSetupService = class RemoteSetupService {
|
|
|
172
183
|
return connection.exec(this.scriptService.exec(platform), [script]);
|
|
173
184
|
}
|
|
174
185
|
};
|
|
175
|
-
|
|
186
|
+
exports.RemoteSetupService = RemoteSetupService;
|
|
187
|
+
tslib_1.__decorate([
|
|
176
188
|
(0, inversify_1.inject)(remote_copy_service_1.RemoteCopyService),
|
|
177
|
-
__metadata("design:type", remote_copy_service_1.RemoteCopyService)
|
|
189
|
+
tslib_1.__metadata("design:type", remote_copy_service_1.RemoteCopyService)
|
|
178
190
|
], RemoteSetupService.prototype, "copyService", void 0);
|
|
179
|
-
__decorate([
|
|
191
|
+
tslib_1.__decorate([
|
|
180
192
|
(0, inversify_1.inject)(remote_native_dependency_service_1.RemoteNativeDependencyService),
|
|
181
|
-
__metadata("design:type", remote_native_dependency_service_1.RemoteNativeDependencyService)
|
|
193
|
+
tslib_1.__metadata("design:type", remote_native_dependency_service_1.RemoteNativeDependencyService)
|
|
182
194
|
], RemoteSetupService.prototype, "nativeDependencyService", void 0);
|
|
183
|
-
__decorate([
|
|
195
|
+
tslib_1.__decorate([
|
|
184
196
|
(0, inversify_1.inject)(remote_node_setup_service_1.RemoteNodeSetupService),
|
|
185
|
-
__metadata("design:type", remote_node_setup_service_1.RemoteNodeSetupService)
|
|
197
|
+
tslib_1.__metadata("design:type", remote_node_setup_service_1.RemoteNodeSetupService)
|
|
186
198
|
], RemoteSetupService.prototype, "nodeSetupService", void 0);
|
|
187
|
-
__decorate([
|
|
199
|
+
tslib_1.__decorate([
|
|
188
200
|
(0, inversify_1.inject)(remote_setup_script_service_1.RemoteSetupScriptService),
|
|
189
|
-
__metadata("design:type", remote_setup_script_service_1.RemoteSetupScriptService)
|
|
201
|
+
tslib_1.__metadata("design:type", remote_setup_script_service_1.RemoteSetupScriptService)
|
|
190
202
|
], RemoteSetupService.prototype, "scriptService", void 0);
|
|
191
|
-
__decorate([
|
|
203
|
+
tslib_1.__decorate([
|
|
192
204
|
(0, inversify_1.inject)(application_package_1.ApplicationPackage),
|
|
193
|
-
__metadata("design:type", application_package_1.ApplicationPackage)
|
|
205
|
+
tslib_1.__metadata("design:type", application_package_1.ApplicationPackage)
|
|
194
206
|
], RemoteSetupService.prototype, "applicationPackage", void 0);
|
|
195
|
-
|
|
207
|
+
tslib_1.__decorate([
|
|
208
|
+
(0, inversify_1.inject)(core_1.ContributionProvider),
|
|
209
|
+
(0, inversify_1.named)(remote_cli_contribution_1.RemoteCliContribution),
|
|
210
|
+
tslib_1.__metadata("design:type", Object)
|
|
211
|
+
], RemoteSetupService.prototype, "cliContributions", void 0);
|
|
212
|
+
exports.RemoteSetupService = RemoteSetupService = tslib_1.__decorate([
|
|
196
213
|
(0, inversify_1.injectable)()
|
|
197
214
|
], RemoteSetupService);
|
|
198
|
-
exports.RemoteSetupService = RemoteSetupService;
|
|
199
215
|
//# sourceMappingURL=remote-setup-service.js.map
|