Skip to content

Commit

Permalink
fix: revert previous path change for move
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Dec 2, 2022
1 parent 939e087 commit f8d0fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/pack/win.ts
Expand Up @@ -249,7 +249,7 @@ the CLI should already exist in a directory named after the CLI that is the root
await exec(`makensis ${installerBase}/${config.bin}.nsi | grep -v "\\[compress\\]" | grep -v "^File: Descending to"`)
const templateKey = templateShortKey('win32', {bin: config.bin, version: config.version, sha: buildConfig.gitSha, arch})
const o = buildConfig.dist(`win32/${templateKey}`)
await fs.move(path.join(installerBase, 'installer.exe'), path.join(o, 'installer.exe'))
await fs.move(path.join(installerBase, 'installer.exe'), o)

const windows = (config.pjson.oclif as any).windows as {name: string; keypath: string; homepage?: string}
if (windows && windows.name && windows.keypath) {
Expand Down

0 comments on commit f8d0fb1

Please sign in to comment.