Remove unused installer icon handling in finalize-desktop-artifacts.mjs
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Deleted the logic for checking and applying the installer icon for macOS packages, streamlining the build process. - This change simplifies the artifact finalization workflow by eliminating unnecessary steps related to the installer icon.
This commit is contained in:
parent
f52ca059a1
commit
e81bc235a8
@ -485,12 +485,6 @@ function buildMacPkg(appBundlePath, arch) {
|
|||||||
throw new Error(`pkgbuild failed with exit code ${result.status ?? 1}`)
|
throw new Error(`pkgbuild failed with exit code ${result.status ?? 1}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const installerIcnsPath = path.join(MAC_DMG_ASSETS_DIR, 'volicon.icns')
|
|
||||||
if (!existsSync(installerIcnsPath)) {
|
|
||||||
buildInstallerIcns(installerIcnsPath)
|
|
||||||
}
|
|
||||||
applyMacInstallerFileIcon(pkgPath, installerIcnsPath)
|
|
||||||
|
|
||||||
console.log(`Published ${pkgPath}`)
|
console.log(`Published ${pkgPath}`)
|
||||||
return pkgPath
|
return pkgPath
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user