mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Move download name construction to os installer function
This commit is contained in:
parent
fd559cfc63
commit
079e4893b1
2 changed files with 5 additions and 11 deletions
|
|
@ -19,7 +19,8 @@ export async function installOnWindows() {
|
|||
}
|
||||
|
||||
const architecture = getWindowsArchitecture();
|
||||
const downloadUrl = getAgentDownloadUrl("windows", architecture);
|
||||
const fileName = `SafeChainAgent-windows-${architecture}.msi`;
|
||||
const downloadUrl = getAgentDownloadUrl(fileName);
|
||||
const msiPath = join(tmpdir(), `SafeChainAgent-${Date.now()}.msi`);
|
||||
|
||||
ui.emptyLine();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue