fix: change relative path to install scripts
This commit is contained in:
parent
3fcae62228
commit
061d7afe7f
|
@ -71290,7 +71290,7 @@ class DotnetCoreInstaller {
|
||||||
];
|
];
|
||||||
const scriptName = utils_1.IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
const scriptName = utils_1.IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||||
const escapedScript = path_1.default
|
const escapedScript = path_1.default
|
||||||
.join(__dirname, '..', 'externals', scriptName)
|
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||||
.replace(/'/g, "''");
|
.replace(/'/g, "''");
|
||||||
let scriptArguments;
|
let scriptArguments;
|
||||||
let scriptPath = '';
|
let scriptPath = '';
|
||||||
|
|
|
@ -188,7 +188,7 @@ export class DotnetCoreInstaller {
|
||||||
];
|
];
|
||||||
const scriptName = IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
const scriptName = IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||||
const escapedScript = path
|
const escapedScript = path
|
||||||
.join(__dirname, '..', 'externals', scriptName)
|
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||||
.replace(/'/g, "''");
|
.replace(/'/g, "''");
|
||||||
let scriptArguments: string[];
|
let scriptArguments: string[];
|
||||||
let scriptPath = '';
|
let scriptPath = '';
|
||||||
|
|
Loading…
Reference in New Issue