@theia/remote 1.67.0-next.13 → 1.67.0-next.56
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/package.json +6 -6
- package/src/electron-browser/port-forwarding/port-forwarding-service.ts +1 -1
- package/src/electron-browser/port-forwarding/port-forwarding-widget.tsx +1 -1
- package/lib/electron-browser/local-backend-services.d.ts +0 -11
- package/lib/electron-browser/local-backend-services.d.ts.map +0 -1
- package/lib/electron-browser/local-backend-services.js +0 -37
- package/lib/electron-browser/local-backend-services.js.map +0 -1
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts +0 -6
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts.map +0 -1
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.js +0 -40
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.js.map +0 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts +0 -20
- package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts.map +0 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-service.js +0 -89
- package/lib/electron-browser/port-forwarding/port-forwarding-service.js.map +0 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts +0 -17
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts.map +0 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.js +0 -125
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.js.map +0 -1
- package/lib/electron-browser/remote-electron-file-dialog-service.d.ts +0 -14
- package/lib/electron-browser/remote-electron-file-dialog-service.d.ts.map +0 -1
- package/lib/electron-browser/remote-electron-file-dialog-service.js +0 -50
- package/lib/electron-browser/remote-electron-file-dialog-service.js.map +0 -1
- package/lib/electron-browser/remote-frontend-contribution.d.ts +0 -26
- package/lib/electron-browser/remote-frontend-contribution.d.ts.map +0 -1
- package/lib/electron-browser/remote-frontend-contribution.js +0 -160
- package/lib/electron-browser/remote-frontend-contribution.js.map +0 -1
- package/lib/electron-browser/remote-frontend-module.d.ts +0 -5
- package/lib/electron-browser/remote-frontend-module.d.ts.map +0 -1
- package/lib/electron-browser/remote-frontend-module.js +0 -70
- package/lib/electron-browser/remote-frontend-module.js.map +0 -1
- package/lib/electron-browser/remote-registry-contribution.d.ts +0 -19
- package/lib/electron-browser/remote-registry-contribution.d.ts.map +0 -1
- package/lib/electron-browser/remote-registry-contribution.js +0 -70
- package/lib/electron-browser/remote-registry-contribution.js.map +0 -1
- package/lib/electron-browser/remote-service.d.ts +0 -6
- package/lib/electron-browser/remote-service.d.ts.map +0 -1
- package/lib/electron-browser/remote-service.js +0 -33
- package/lib/electron-browser/remote-service.js.map +0 -1
- package/lib/electron-browser/remote-ssh-contribution.d.ts +0 -23
- package/lib/electron-browser/remote-ssh-contribution.d.ts.map +0 -1
- package/lib/electron-browser/remote-ssh-contribution.js +0 -183
- package/lib/electron-browser/remote-ssh-contribution.js.map +0 -1
- package/lib/electron-browser/remote-user-storage-provider.d.ts +0 -21
- package/lib/electron-browser/remote-user-storage-provider.d.ts.map +0 -1
- package/lib/electron-browser/remote-user-storage-provider.js +0 -75
- package/lib/electron-browser/remote-user-storage-provider.js.map +0 -1
- package/lib/electron-common/remote-port-forwarding-provider.d.ts +0 -12
- package/lib/electron-common/remote-port-forwarding-provider.d.ts.map +0 -1
- package/lib/electron-common/remote-port-forwarding-provider.js +0 -21
- package/lib/electron-common/remote-port-forwarding-provider.js.map +0 -1
- package/lib/electron-common/remote-preferences.d.ts +0 -13
- package/lib/electron-common/remote-preferences.d.ts.map +0 -1
- package/lib/electron-common/remote-preferences.js +0 -54
- package/lib/electron-common/remote-preferences.js.map +0 -1
- package/lib/electron-common/remote-ssh-connection-provider.d.ts +0 -16
- package/lib/electron-common/remote-ssh-connection-provider.d.ts.map +0 -1
- package/lib/electron-common/remote-ssh-connection-provider.js +0 -21
- package/lib/electron-common/remote-ssh-connection-provider.js.map +0 -1
- package/lib/electron-common/remote-status-service.d.ts +0 -16
- package/lib/electron-common/remote-status-service.d.ts.map +0 -1
- package/lib/electron-common/remote-status-service.js +0 -21
- package/lib/electron-common/remote-status-service.js.map +0 -1
- package/lib/electron-node/backend-remote-service-impl.d.ts +0 -12
- package/lib/electron-node/backend-remote-service-impl.d.ts.map +0 -1
- package/lib/electron-node/backend-remote-service-impl.js +0 -46
- package/lib/electron-node/backend-remote-service-impl.js.map +0 -1
- package/lib/electron-node/remote-backend-module.d.ts +0 -5
- package/lib/electron-node/remote-backend-module.d.ts.map +0 -1
- package/lib/electron-node/remote-backend-module.js +0 -83
- package/lib/electron-node/remote-backend-module.js.map +0 -1
- package/lib/electron-node/remote-connection-service.d.ts +0 -15
- package/lib/electron-node/remote-connection-service.d.ts.map +0 -1
- package/lib/electron-node/remote-connection-service.js +0 -64
- package/lib/electron-node/remote-connection-service.js.map +0 -1
- package/lib/electron-node/remote-connection-socket-provider.d.ts +0 -9
- package/lib/electron-node/remote-connection-socket-provider.d.ts.map +0 -1
- package/lib/electron-node/remote-connection-socket-provider.js +0 -33
- package/lib/electron-node/remote-connection-socket-provider.js.map +0 -1
- package/lib/electron-node/remote-port-forwarding-provider.d.ts +0 -19
- package/lib/electron-node/remote-port-forwarding-provider.d.ts.map +0 -1
- package/lib/electron-node/remote-port-forwarding-provider.js +0 -59
- package/lib/electron-node/remote-port-forwarding-provider.js.map +0 -1
- package/lib/electron-node/remote-proxy-server-provider.d.ts +0 -6
- package/lib/electron-node/remote-proxy-server-provider.d.ts.map +0 -1
- package/lib/electron-node/remote-proxy-server-provider.js +0 -39
- package/lib/electron-node/remote-proxy-server-provider.js.map +0 -1
- package/lib/electron-node/remote-status-service.d.ts +0 -8
- package/lib/electron-node/remote-status-service.d.ts.map +0 -1
- package/lib/electron-node/remote-status-service.js +0 -53
- package/lib/electron-node/remote-status-service.js.map +0 -1
- package/lib/electron-node/remote-types.d.ts +0 -49
- package/lib/electron-node/remote-types.d.ts.map +0 -1
- package/lib/electron-node/remote-types.js +0 -18
- package/lib/electron-node/remote-types.js.map +0 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.d.ts +0 -8
- package/lib/electron-node/setup/app-native-dependency-contribution.d.ts.map +0 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.js +0 -53
- package/lib/electron-node/setup/app-native-dependency-contribution.js.map +0 -1
- package/lib/electron-node/setup/main-copy-contribution.d.ts +0 -5
- package/lib/electron-node/setup/main-copy-contribution.d.ts.map +0 -1
- package/lib/electron-node/setup/main-copy-contribution.js +0 -33
- package/lib/electron-node/setup/main-copy-contribution.js.map +0 -1
- package/lib/electron-node/setup/remote-copy-contribution.d.ts +0 -13
- package/lib/electron-node/setup/remote-copy-contribution.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-copy-contribution.js +0 -74
- package/lib/electron-node/setup/remote-copy-contribution.js.map +0 -1
- package/lib/electron-node/setup/remote-copy-service.d.ts +0 -21
- package/lib/electron-node/setup/remote-copy-service.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-copy-service.js +0 -120
- package/lib/electron-node/setup/remote-copy-service.js.map +0 -1
- package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts +0 -36
- package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-native-dependency-contribution.js +0 -35
- package/lib/electron-node/setup/remote-native-dependency-contribution.js.map +0 -1
- package/lib/electron-node/setup/remote-native-dependency-service.d.ts +0 -25
- package/lib/electron-node/setup/remote-native-dependency-service.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-native-dependency-service.js +0 -116
- package/lib/electron-node/setup/remote-native-dependency-service.js.map +0 -1
- package/lib/electron-node/setup/remote-node-setup-service.d.ts +0 -23
- package/lib/electron-node/setup/remote-node-setup-service.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-node-setup-service.js +0 -125
- package/lib/electron-node/setup/remote-node-setup-service.js.map +0 -1
- package/lib/electron-node/setup/remote-setup-script-service.d.ts +0 -41
- package/lib/electron-node/setup/remote-setup-script-service.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-setup-script-service.js +0 -125
- package/lib/electron-node/setup/remote-setup-script-service.js.map +0 -1
- package/lib/electron-node/setup/remote-setup-service.d.ts +0 -36
- package/lib/electron-node/setup/remote-setup-service.d.ts.map +0 -1
- package/lib/electron-node/setup/remote-setup-service.js +0 -215
- package/lib/electron-node/setup/remote-setup-service.js.map +0 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts +0 -60
- package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts.map +0 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.js +0 -394
- package/lib/electron-node/ssh/remote-ssh-connection-provider.js.map +0 -1
- package/lib/electron-node/ssh/ssh-identity-file-collector.d.ts +0 -13
- package/lib/electron-node/ssh/ssh-identity-file-collector.d.ts.map +0 -1
- package/lib/electron-node/ssh/ssh-identity-file-collector.js +0 -127
- package/lib/electron-node/ssh/ssh-identity-file-collector.js.map +0 -1
- package/lib/package.spec.d.ts +0 -1
- package/lib/package.spec.d.ts.map +0 -1
- package/lib/package.spec.js +0 -26
- package/lib/package.spec.js.map +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.RemoteConnectionSocketProvider = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
-
const socket_io_client_1 = require("socket.io-client");
|
|
22
|
-
let RemoteConnectionSocketProvider = class RemoteConnectionSocketProvider {
|
|
23
|
-
getProxySocket(options) {
|
|
24
|
-
const socket = (0, socket_io_client_1.io)(`ws://localhost:${options.port}${options.path}`);
|
|
25
|
-
socket.connect();
|
|
26
|
-
return socket;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider;
|
|
30
|
-
exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider = tslib_1.__decorate([
|
|
31
|
-
(0, inversify_1.injectable)()
|
|
32
|
-
], RemoteConnectionSocketProvider);
|
|
33
|
-
//# sourceMappingURL=remote-connection-socket-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-connection-socket-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-socket-provider.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,4DAA0D;AAC1D,uDAA8C;AAQvC,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,cAAc,CAAC,OAAyC;QACpD,MAAM,MAAM,GAAG,IAAA,qBAAE,EAAC,kBAAkB,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACnE,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ,CAAA;AARY,wEAA8B;yCAA9B,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CAQ1C"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { ForwardedPort, RemotePortForwardingProvider } from '../electron-common/remote-port-forwarding-provider';
|
|
3
|
-
import { Server } from 'net';
|
|
4
|
-
import { RemoteConnectionService } from './remote-connection-service';
|
|
5
|
-
import { RemoteConnection } from './remote-types';
|
|
6
|
-
interface ForwardInfo {
|
|
7
|
-
connection: RemoteConnection;
|
|
8
|
-
port: ForwardedPort;
|
|
9
|
-
server: Server;
|
|
10
|
-
}
|
|
11
|
-
export declare class RemotePortForwardingProviderImpl implements RemotePortForwardingProvider {
|
|
12
|
-
protected readonly connectionService: RemoteConnectionService;
|
|
13
|
-
protected static forwardedPorts: ForwardInfo[];
|
|
14
|
-
forwardPort(connectionPort: number, portToForward: ForwardedPort): Promise<void>;
|
|
15
|
-
portRemoved(forwardedPort: ForwardedPort): Promise<void>;
|
|
16
|
-
getForwardedPorts(): Promise<ForwardedPort[]>;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=remote-port-forwarding-provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-port-forwarding-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,aAAa,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAgB,MAAM,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,UAAU,WAAW;IACjB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,qBACa,gCAAiC,YAAW,4BAA4B;IAGjF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IAE9D,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,EAAE,CAAM;IAE9C,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBhF,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,iBAAiB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;CAItD"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2024 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var RemotePortForwardingProviderImpl_1;
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.RemotePortForwardingProviderImpl = void 0;
|
|
20
|
-
const tslib_1 = require("tslib");
|
|
21
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
-
const net_1 = require("net");
|
|
23
|
-
const remote_connection_service_1 = require("./remote-connection-service");
|
|
24
|
-
let RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl_1 = class RemotePortForwardingProviderImpl {
|
|
25
|
-
async forwardPort(connectionPort, portToForward) {
|
|
26
|
-
const currentConnection = this.connectionService.getConnectionFromPort(connectionPort);
|
|
27
|
-
if (!currentConnection) {
|
|
28
|
-
throw new Error(`No connection found for port ${connectionPort}`);
|
|
29
|
-
}
|
|
30
|
-
const server = (0, net_1.createServer)(socket => {
|
|
31
|
-
currentConnection === null || currentConnection === void 0 ? void 0 : currentConnection.forwardOut(socket, portToForward.port);
|
|
32
|
-
}).listen(portToForward.port, portToForward.address);
|
|
33
|
-
currentConnection.onDidDisconnect(() => {
|
|
34
|
-
this.portRemoved(portToForward);
|
|
35
|
-
});
|
|
36
|
-
RemotePortForwardingProviderImpl_1.forwardedPorts.push({ connection: currentConnection, port: portToForward, server });
|
|
37
|
-
}
|
|
38
|
-
async portRemoved(forwardedPort) {
|
|
39
|
-
const forwardInfo = RemotePortForwardingProviderImpl_1.forwardedPorts.find(info => info.port.port === forwardedPort.port);
|
|
40
|
-
if (forwardInfo) {
|
|
41
|
-
forwardInfo.server.close();
|
|
42
|
-
RemotePortForwardingProviderImpl_1.forwardedPorts.splice(RemotePortForwardingProviderImpl_1.forwardedPorts.indexOf(forwardInfo), 1);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
async getForwardedPorts() {
|
|
46
|
-
return Array.from(RemotePortForwardingProviderImpl_1.forwardedPorts)
|
|
47
|
-
.map(forwardInfo => ({ ...forwardInfo.port, editing: false }));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl;
|
|
51
|
-
RemotePortForwardingProviderImpl.forwardedPorts = [];
|
|
52
|
-
tslib_1.__decorate([
|
|
53
|
-
(0, inversify_1.inject)(remote_connection_service_1.RemoteConnectionService),
|
|
54
|
-
tslib_1.__metadata("design:type", remote_connection_service_1.RemoteConnectionService)
|
|
55
|
-
], RemotePortForwardingProviderImpl.prototype, "connectionService", void 0);
|
|
56
|
-
exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl_1 = tslib_1.__decorate([
|
|
57
|
-
(0, inversify_1.injectable)()
|
|
58
|
-
], RemotePortForwardingProviderImpl);
|
|
59
|
-
//# sourceMappingURL=remote-port-forwarding-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.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,4DAAkE;AAElE,6BAA2C;AAC3C,2EAAsE;AAU/D,IAAM,gCAAgC,wCAAtC,MAAM,gCAAgC;IAOzC,KAAK,CAAC,WAAW,CAAC,cAAsB,EAAE,aAA4B;QAClE,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;QACvF,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,gCAAgC,cAAc,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,MAAM,MAAM,GAAG,IAAA,kBAAY,EAAC,MAAM,CAAC,EAAE;YACjC,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,UAAU,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;QAC9D,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;QAErD,iBAAiB,CAAC,eAAe,CAAC,GAAG,EAAE;YACnC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;QAEH,kCAAgC,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,iBAAiB,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,CAAC;IACzH,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,aAA4B;QAC1C,MAAM,WAAW,GAAG,kCAAgC,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC;QACxH,IAAI,WAAW,EAAE,CAAC;YACd,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YAC3B,kCAAgC,CAAC,cAAc,CAAC,MAAM,CAAC,kCAAgC,CAAC,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;QACpI,CAAC;IACL,CAAC;IAED,KAAK,CAAC,iBAAiB;QACnB,OAAO,KAAK,CAAC,IAAI,CAAC,kCAAgC,CAAC,cAAc,CAAC;aAC7D,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC;;AAnCQ,4EAAgC;AAKxB,+CAAc,GAAkB,EAAE,AAApB,CAAqB;AAFjC;IADlB,IAAA,kBAAM,EAAC,mDAAuB,CAAC;sCACM,mDAAuB;2EAAC;2CAHrD,gCAAgC;IAD5C,IAAA,sBAAU,GAAE;GACA,gCAAgC,CAoC5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-proxy-server-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-proxy-server-provider.ts"],"names":[],"mappings":";AAkBA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,qBACa,yBAAyB;IAE5B,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;CAarF"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.RemoteProxyServerProvider = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const promise_util_1 = require("@theia/core/lib/common/promise-util");
|
|
21
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
-
const net = require("net");
|
|
23
|
-
let RemoteProxyServerProvider = class RemoteProxyServerProvider {
|
|
24
|
-
async getProxyServer(callback) {
|
|
25
|
-
const deferred = new promise_util_1.Deferred();
|
|
26
|
-
const proxy = net.createServer(socket => {
|
|
27
|
-
callback === null || callback === void 0 ? void 0 : callback(socket);
|
|
28
|
-
}).listen(0, () => {
|
|
29
|
-
deferred.resolve();
|
|
30
|
-
});
|
|
31
|
-
await deferred.promise;
|
|
32
|
-
return proxy;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
exports.RemoteProxyServerProvider = RemoteProxyServerProvider;
|
|
36
|
-
exports.RemoteProxyServerProvider = RemoteProxyServerProvider = tslib_1.__decorate([
|
|
37
|
-
(0, inversify_1.injectable)()
|
|
38
|
-
], RemoteProxyServerProvider);
|
|
39
|
-
//# sourceMappingURL=remote-proxy-server-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-proxy-server-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-proxy-server-provider.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,sEAA+D;AAC/D,4DAA0D;AAC1D,2BAA2B;AAGpB,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAElC,KAAK,CAAC,cAAc,CAAC,QAAuC;QACxD,MAAM,QAAQ,GAAG,IAAI,uBAAQ,EAAE,CAAC;QAEhC,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YACpC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,MAAM,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE;YACd,QAAQ,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,OAAO,CAAC;QACvB,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ,CAAA;AAfY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,sBAAU,GAAE;GACA,yBAAyB,CAerC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RemoteStatus, RemoteStatusService } from '../electron-common/remote-status-service';
|
|
2
|
-
import { RemoteConnectionService } from './remote-connection-service';
|
|
3
|
-
export declare class RemoteStatusServiceImpl implements RemoteStatusService {
|
|
4
|
-
protected remoteConnectionService: RemoteConnectionService;
|
|
5
|
-
getStatus(localPort: number): Promise<RemoteStatus>;
|
|
6
|
-
connectionClosed(localPort: number): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=remote-status-service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-status-service.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,qBACa,uBAAwB,YAAW,mBAAmB;IAG/D,SAAS,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;IAErD,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAenD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAM3D"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.RemoteStatusServiceImpl = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
-
const remote_connection_service_1 = require("./remote-connection-service");
|
|
22
|
-
let RemoteStatusServiceImpl = class RemoteStatusServiceImpl {
|
|
23
|
-
async getStatus(localPort) {
|
|
24
|
-
const connection = this.remoteConnectionService.getConnectionFromPort(localPort);
|
|
25
|
-
if (connection) {
|
|
26
|
-
return {
|
|
27
|
-
alive: true,
|
|
28
|
-
name: connection.name,
|
|
29
|
-
type: connection.type
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return {
|
|
34
|
-
alive: false
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
async connectionClosed(localPort) {
|
|
39
|
-
const connection = this.remoteConnectionService.getConnectionFromPort(localPort);
|
|
40
|
-
if (connection) {
|
|
41
|
-
connection.dispose();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl;
|
|
46
|
-
tslib_1.__decorate([
|
|
47
|
-
(0, inversify_1.inject)(remote_connection_service_1.RemoteConnectionService),
|
|
48
|
-
tslib_1.__metadata("design:type", remote_connection_service_1.RemoteConnectionService)
|
|
49
|
-
], RemoteStatusServiceImpl.prototype, "remoteConnectionService", void 0);
|
|
50
|
-
exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl = tslib_1.__decorate([
|
|
51
|
-
(0, inversify_1.injectable)()
|
|
52
|
-
], RemoteStatusServiceImpl);
|
|
53
|
-
//# sourceMappingURL=remote-status-service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-status-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,4DAAkE;AAElE,2EAAsE;AAG/D,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAKhC,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,OAAO;gBACH,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,IAAI,EAAE,UAAU,CAAC,IAAI;aACxB,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,OAAO;gBACH,KAAK,EAAE,KAAK;aACf,CAAC;QACN,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,SAAiB;QACpC,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,UAAU,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC;IACL,CAAC;CACJ,CAAA;AA1BY,0DAAuB;AAGtB;IADT,IAAA,kBAAM,EAAC,mDAAuB,CAAC;sCACG,mDAAuB;wEAAC;kCAHlD,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CA0BnC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
/// <reference types="node" />
|
|
4
|
-
/// <reference types="node" />
|
|
5
|
-
/// <reference types="node" />
|
|
6
|
-
import { Disposable, Event } from '@theia/core';
|
|
7
|
-
import * as net from 'net';
|
|
8
|
-
export type RemoteStatusReport = (message: string) => void;
|
|
9
|
-
export interface ExpressLayer {
|
|
10
|
-
name: string;
|
|
11
|
-
regexp: RegExp;
|
|
12
|
-
handle: Function;
|
|
13
|
-
path?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface RemoteExecOptions {
|
|
16
|
-
env?: NodeJS.ProcessEnv;
|
|
17
|
-
}
|
|
18
|
-
export interface RemoteExecResult {
|
|
19
|
-
stdout: string;
|
|
20
|
-
stderr: string;
|
|
21
|
-
}
|
|
22
|
-
export type RemoteExecTester = (stdout: string, stderr: string) => boolean;
|
|
23
|
-
export interface RemoteConnection extends Disposable {
|
|
24
|
-
id: string;
|
|
25
|
-
name: string;
|
|
26
|
-
type: string;
|
|
27
|
-
localPort: number;
|
|
28
|
-
remotePort: number;
|
|
29
|
-
onDidDisconnect: Event<void>;
|
|
30
|
-
forwardOut(socket: net.Socket, port?: number): void;
|
|
31
|
-
/**
|
|
32
|
-
* execute a single command on the remote machine
|
|
33
|
-
*/
|
|
34
|
-
exec(cmd: string, args?: string[], options?: RemoteExecOptions): Promise<RemoteExecResult>;
|
|
35
|
-
/**
|
|
36
|
-
* execute a command on the remote machine and wait for a specific output
|
|
37
|
-
* @param tester function which returns true if the output is as expected
|
|
38
|
-
*/
|
|
39
|
-
execPartial(cmd: string, tester: RemoteExecTester, args?: string[], options?: RemoteExecOptions): Promise<RemoteExecResult>;
|
|
40
|
-
/**
|
|
41
|
-
* copy files from local to remote
|
|
42
|
-
*/
|
|
43
|
-
copy(localPath: string | Buffer | NodeJS.ReadableStream, remotePath: string): Promise<void>;
|
|
44
|
-
/**
|
|
45
|
-
* used for disposing when theia is shutting down
|
|
46
|
-
*/
|
|
47
|
-
disposeSync?(): void;
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=remote-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-types.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-types.ts"],"names":[],"mappings":";;;;;AAgBA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;AAE3D,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,QAAQ,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;AAE3E,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpD;;OAEG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAE3F;;;OAGG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAE5H;;OAEG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,cAAc,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5F;;OAEG;IACH,WAAW,CAAC,IAAI,IAAI,CAAC;CACxB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
//# sourceMappingURL=remote-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-types.js","sourceRoot":"","sources":["../../src/electron-node/remote-types.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,8 +0,0 @@
|
|
|
1
|
-
import { RemoteNativeDependencyContribution, DownloadOptions, DependencyDownload } from './remote-native-dependency-contribution';
|
|
2
|
-
import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
3
|
-
export declare class AppNativeDependencyContribution implements RemoteNativeDependencyContribution {
|
|
4
|
-
appDownloadUrlBase: string;
|
|
5
|
-
protected getDefaultURLForFile(remotePlatform: RemotePlatform, theiaVersion: string): string;
|
|
6
|
-
download(options: DownloadOptions): Promise<DependencyDownload>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=app-native-dependency-contribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClI,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAGrF,qBACa,+BAAgC,YAAW,kCAAkC;IAEtF,kBAAkB,SAA8D;IAEhF,SAAS,CAAC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAetF,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAMxE"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.AppNativeDependencyContribution = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
-
const core_1 = require("@theia/core");
|
|
22
|
-
let AppNativeDependencyContribution = class AppNativeDependencyContribution {
|
|
23
|
-
constructor() {
|
|
24
|
-
this.appDownloadUrlBase = 'https://github.com/eclipse-theia/theia/releases/download';
|
|
25
|
-
}
|
|
26
|
-
getDefaultURLForFile(remotePlatform, theiaVersion) {
|
|
27
|
-
if (remotePlatform.arch !== 'x64') {
|
|
28
|
-
throw new Error(`Unsupported remote architecture '${remotePlatform.arch}'. Remote support is only available for x64 architectures.`);
|
|
29
|
-
}
|
|
30
|
-
let platform;
|
|
31
|
-
if (remotePlatform.os === core_1.OS.Type.Windows) {
|
|
32
|
-
platform = 'win32';
|
|
33
|
-
}
|
|
34
|
-
else if (remotePlatform.os === core_1.OS.Type.OSX) {
|
|
35
|
-
platform = 'darwin';
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
platform = 'linux';
|
|
39
|
-
}
|
|
40
|
-
return `${this.appDownloadUrlBase}/v${theiaVersion}/native-dependencies-${platform}-${remotePlatform.arch}.zip`;
|
|
41
|
-
}
|
|
42
|
-
async download(options) {
|
|
43
|
-
return {
|
|
44
|
-
buffer: await options.download(this.getDefaultURLForFile(options.remotePlatform, options.theiaVersion)),
|
|
45
|
-
archive: 'zip'
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.AppNativeDependencyContribution = AppNativeDependencyContribution;
|
|
50
|
-
exports.AppNativeDependencyContribution = AppNativeDependencyContribution = tslib_1.__decorate([
|
|
51
|
-
(0, inversify_1.injectable)()
|
|
52
|
-
], AppNativeDependencyContribution);
|
|
53
|
-
//# sourceMappingURL=app-native-dependency-contribution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-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,4DAA0D;AAG1D,sCAAiC;AAG1B,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAArC;QAEH,uBAAkB,GAAG,0DAA0D,CAAC;IAuBpF,CAAC;IArBa,oBAAoB,CAAC,cAA8B,EAAE,YAAoB;QAC/E,IAAI,cAAc,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;YAChC,MAAM,IAAI,KAAK,CAAC,oCAAoC,cAAc,CAAC,IAAI,4DAA4D,CAAC,CAAC;QACzI,CAAC;QACD,IAAI,QAAgB,CAAC;QACrB,IAAI,cAAc,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACxC,QAAQ,GAAG,OAAO,CAAC;QACvB,CAAC;aAAM,IAAI,cAAc,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YAC3C,QAAQ,GAAG,QAAQ,CAAC;QACxB,CAAC;aAAM,CAAC;YACJ,QAAQ,GAAG,OAAO,CAAC;QACvB,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,kBAAkB,KAAK,YAAY,wBAAwB,QAAQ,IAAI,cAAc,CAAC,IAAI,MAAM,CAAC;IACpH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,OAAwB;QACnC,OAAO;YACH,MAAM,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;YACvG,OAAO,EAAE,KAAK;SACjB,CAAC;IACN,CAAC;CACJ,CAAA;AAzBY,0EAA+B;0CAA/B,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;GACA,+BAA+B,CAyB3C"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RemoteCopyContribution, RemoteCopyRegistry } from '@theia/core/lib/node/remote/remote-copy-contribution';
|
|
2
|
-
export declare class MainCopyContribution implements RemoteCopyContribution {
|
|
3
|
-
copy(registry: RemoteCopyRegistry): Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=main-copy-contribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAElH,qBACa,oBAAqB,YAAW,sBAAsB;IACzD,IAAI,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAM1D"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.MainCopyContribution = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
-
let MainCopyContribution = class MainCopyContribution {
|
|
22
|
-
async copy(registry) {
|
|
23
|
-
registry.file('package.json');
|
|
24
|
-
await registry.glob('lib/backend/**/*.js');
|
|
25
|
-
await registry.directory('lib/frontend');
|
|
26
|
-
await registry.directory('lib/webview');
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.MainCopyContribution = MainCopyContribution;
|
|
30
|
-
exports.MainCopyContribution = MainCopyContribution = tslib_1.__decorate([
|
|
31
|
-
(0, inversify_1.injectable)()
|
|
32
|
-
], MainCopyContribution);
|
|
33
|
-
//# sourceMappingURL=main-copy-contribution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-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,4DAA0D;AAInD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,KAAK,CAAC,IAAI,CAAC,QAA4B;QACnC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC9B,MAAM,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3C,MAAM,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,QAAQ,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAPY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CAOhC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
|
|
2
|
-
import { RemoteCopyRegistry, RemoteFile, RemoteCopyOptions } from '@theia/core/lib/node/remote/remote-copy-contribution';
|
|
3
|
-
export declare class RemoteCopyRegistryImpl implements RemoteCopyRegistry {
|
|
4
|
-
protected readonly applicationPackage: ApplicationPackage;
|
|
5
|
-
protected readonly files: RemoteFile[];
|
|
6
|
-
getFiles(): RemoteFile[];
|
|
7
|
-
glob(pattern: string, target?: string): Promise<void>;
|
|
8
|
-
doGlob(pattern: string, cwd: string, target?: string): Promise<void>;
|
|
9
|
-
file(file: string, target?: string, options?: RemoteCopyOptions): void;
|
|
10
|
-
directory(dir: string, target?: string): Promise<void>;
|
|
11
|
-
protected withTarget(file: string, target?: string): string;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=remote-copy-contribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAOzH,qBACa,sBAAuB,YAAW,kBAAkB;IAG7D,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAE1D,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,CAAM;IAE5C,QAAQ,IAAI,UAAU,EAAE;IAIlB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrD,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAY1E,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI;IAShE,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ5D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;CAG9D"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.RemoteCopyRegistryImpl = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const application_package_1 = require("@theia/core/shared/@theia/application-package");
|
|
21
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
-
const glob_1 = require("glob");
|
|
23
|
-
const util_1 = require("util");
|
|
24
|
-
const path = require("path");
|
|
25
|
-
const promiseGlob = (0, util_1.promisify)(glob_1.glob);
|
|
26
|
-
let RemoteCopyRegistryImpl = class RemoteCopyRegistryImpl {
|
|
27
|
-
constructor() {
|
|
28
|
-
this.files = [];
|
|
29
|
-
}
|
|
30
|
-
getFiles() {
|
|
31
|
-
return this.files.slice();
|
|
32
|
-
}
|
|
33
|
-
async glob(pattern, target) {
|
|
34
|
-
return this.doGlob(pattern, this.applicationPackage.projectPath, target);
|
|
35
|
-
}
|
|
36
|
-
async doGlob(pattern, cwd, target) {
|
|
37
|
-
const projectPath = this.applicationPackage.projectPath;
|
|
38
|
-
const globResult = await promiseGlob(pattern, { cwd, nodir: true });
|
|
39
|
-
for (const file of globResult) {
|
|
40
|
-
const targetFile = this.withTarget(file, target);
|
|
41
|
-
this.files.push({
|
|
42
|
-
path: path.relative(projectPath, path.resolve(cwd, file)),
|
|
43
|
-
target: targetFile
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
file(file, target, options) {
|
|
48
|
-
const targetFile = this.withTarget(file, target);
|
|
49
|
-
this.files.push({
|
|
50
|
-
path: file,
|
|
51
|
-
target: targetFile,
|
|
52
|
-
options
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
async directory(dir, target) {
|
|
56
|
-
let absoluteDir = dir;
|
|
57
|
-
if (!path.isAbsolute(absoluteDir)) {
|
|
58
|
-
absoluteDir = path.join(this.applicationPackage.projectPath, dir);
|
|
59
|
-
}
|
|
60
|
-
return this.doGlob('**/*', absoluteDir, target !== null && target !== void 0 ? target : dir);
|
|
61
|
-
}
|
|
62
|
-
withTarget(file, target) {
|
|
63
|
-
return target ? path.join(target, file) : file;
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
exports.RemoteCopyRegistryImpl = RemoteCopyRegistryImpl;
|
|
67
|
-
tslib_1.__decorate([
|
|
68
|
-
(0, inversify_1.inject)(application_package_1.ApplicationPackage),
|
|
69
|
-
tslib_1.__metadata("design:type", application_package_1.ApplicationPackage)
|
|
70
|
-
], RemoteCopyRegistryImpl.prototype, "applicationPackage", void 0);
|
|
71
|
-
exports.RemoteCopyRegistryImpl = RemoteCopyRegistryImpl = tslib_1.__decorate([
|
|
72
|
-
(0, inversify_1.injectable)()
|
|
73
|
-
], RemoteCopyRegistryImpl);
|
|
74
|
-
//# sourceMappingURL=remote-copy-contribution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-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,uFAAmF;AACnF,4DAAkE;AAElE,+BAA4C;AAC5C,+BAAiC;AACjC,6BAA6B;AAE7B,MAAM,WAAW,GAAG,IAAA,gBAAS,EAAC,WAAY,CAAC,CAAC;AAGrC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAA5B;QAKgB,UAAK,GAAiB,EAAE,CAAC;IA0ChD,CAAC;IAxCG,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAAe,EAAE,MAAe;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAC7E,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,GAAW,EAAE,MAAe;QACtD,MAAM,WAAW,GAAG,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC;QACxD,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACpE,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE,CAAC;YAC5B,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACjD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;gBACzD,MAAM,EAAE,UAAU;aACrB,CAAC,CAAC;QACP,CAAC;IACL,CAAC;IAED,IAAI,CAAC,IAAY,EAAE,MAAe,EAAE,OAA2B;QAC3D,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACjD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,UAAU;YAClB,OAAO;SACV,CAAC,CAAC;IACP,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,GAAW,EAAE,MAAe;QACxC,IAAI,WAAW,GAAG,GAAG,CAAC;QACtB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;YAChC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;QACtE,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,GAAG,CAAC,CAAC;IAC3D,CAAC;IAES,UAAU,CAAC,IAAY,EAAE,MAAe;QAC9C,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;CACJ,CAAA;AA/CY,wDAAsB;AAGZ;IADlB,IAAA,kBAAM,EAAC,wCAAkB,CAAC;sCACY,wCAAkB;kEAAC;iCAHjD,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA+ClC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
|
|
2
|
-
import { RemoteConnection } from '../remote-types';
|
|
3
|
-
import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
4
|
-
import { RemoteNativeDependencyService } from './remote-native-dependency-service';
|
|
5
|
-
import { ContributionProvider } from '@theia/core';
|
|
6
|
-
import { RemoteCopyRegistryImpl } from './remote-copy-contribution';
|
|
7
|
-
import { RemoteCopyContribution, RemoteFile } from '@theia/core/lib/node/remote/remote-copy-contribution';
|
|
8
|
-
export declare class RemoteCopyService {
|
|
9
|
-
protected readonly applicationPackage: ApplicationPackage;
|
|
10
|
-
protected readonly copyRegistry: RemoteCopyRegistryImpl;
|
|
11
|
-
protected readonly nativeDependencyService: RemoteNativeDependencyService;
|
|
12
|
-
protected readonly copyContributions: ContributionProvider<RemoteCopyContribution>;
|
|
13
|
-
protected initialized: boolean;
|
|
14
|
-
copyToRemote(remote: RemoteConnection, remotePlatform: RemotePlatform, destination: string): Promise<void>;
|
|
15
|
-
protected getFiles(remotePlatform: RemotePlatform, tempDir: string): Promise<RemoteFile[]>;
|
|
16
|
-
protected loadCopyContributions(): Promise<RemoteFile[]>;
|
|
17
|
-
protected loadNativeDependencies(remotePlatform: RemotePlatform, tempDir: string): Promise<RemoteFile[]>;
|
|
18
|
-
protected getTempDir(): Promise<string>;
|
|
19
|
-
protected getRemoteDownloadLocation(): Promise<string | undefined>;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=remote-copy-service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|