Replace the Swift squircle hack with the correct Apple approach: generate a proper .icns using sips + iconutil, then replace electron.icns in the Electron bundle before launch. macOS applies its native squircle mask + shadow from the .icns automatically.