Remove unused installer icon handling in finalize-desktop-artifacts.mjs
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:
Tom Butcher 2026-08-04 23:39:57 +01:00
parent f52ca059a1
commit e81bc235a8

View File

@ -485,12 +485,6 @@ function buildMacPkg(appBundlePath, arch) {
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}`)
return pkgPath
}