|
|
@ -351,7 +351,6 @@ class DotnetInstallScript {
|
|
|
|
this.setupScriptBash();
|
|
|
|
this.setupScriptBash();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setupScriptPowershell() {
|
|
|
|
setupScriptPowershell() {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
|
|
|
|
this.scriptArguments = [
|
|
|
|
this.scriptArguments = [
|
|
|
|
'-NoLogo',
|
|
|
|
'-NoLogo',
|
|
|
|
'-Sta',
|
|
|
|
'-Sta',
|
|
|
@ -369,12 +368,9 @@ class DotnetInstallScript {
|
|
|
|
if (process.env['no_proxy'] != null) {
|
|
|
|
if (process.env['no_proxy'] != null) {
|
|
|
|
this.scriptArguments.push(`-ProxyBypassList ${process.env['no_proxy']}`);
|
|
|
|
this.scriptArguments.push(`-ProxyBypassList ${process.env['no_proxy']}`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setupScriptBash() {
|
|
|
|
setupScriptBash() {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
|
|
|
|
(0, fs_1.chmodSync)(this.escapedScript, '777');
|
|
|
|
(0, fs_1.chmodSync)(this.escapedScript, '777');
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
getScriptPath() {
|
|
|
|
getScriptPath() {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|