We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c90e2d commit b1284c0Copy full SHA for b1284c0
scripts/install-wad.mjs
@@ -159,8 +159,9 @@ async function installWad(version) {
159
const release = selectRelease(releases, version);
160
const asset = selectAsset(release);
161
const parsedName = path.parse(asset.name);
162
+ const realPath = await fs.realpath(tmpdir());
163
const installerPath = path.join(
- tmpdir(),
164
+ realPath,
165
`${parsedName.name}_${(Math.random() + 1).toString(36).substring(7)}${parsedName.ext}`
166
);
167
log.info(`Will download and install v${release.version} from ${asset.url}`);
0 commit comments