Apparently, hdiutil uses extensions to determine image type

This commit is contained in:
Dmitry Vedenko 2024-03-26 14:35:46 +03:00
parent 0c0c7d9e58
commit 1d53109dbf
No known key found for this signature in database
GPG Key ID: F4C37A6204F983A2
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -205,7 +205,7 @@ async function convertDMG(tempDmgPath, dmgPath) {
fs.rmSync(dmgPath);
}
const newTempPath = tempDmgPath + '.new';
const newTempPath = tempDmgPath + '.new.dmg';
if (fs.existsSync(newTempPath)) {
fs.rmSync(newTempPath);