Skip to content

Commit b1284c0

Browse files
committed
fix: use real path
1 parent 0c90e2d commit b1284c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/install-wad.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ async function installWad(version) {
159159
const release = selectRelease(releases, version);
160160
const asset = selectAsset(release);
161161
const parsedName = path.parse(asset.name);
162+
const realPath = await fs.realpath(tmpdir());
162163
const installerPath = path.join(
163-
tmpdir(),
164+
realPath,
164165
`${parsedName.name}_${(Math.random() + 1).toString(36).substring(7)}${parsedName.ext}`
165166
);
166167
log.info(`Will download and install v${release.version} from ${asset.url}`);

0 commit comments

Comments
 (0)