wavetable/Installer/macOS/scripts/preinstall
Roland Rabien 130e626ea6 Switch to .pkg/.exe/.deb installers with Azure Trusted Signing
Replaces the zip-based ci/build.sh flow with installer outputs (Inno Setup
on Windows, productbuild on macOS, cpack DEB on Linux) signed via Microsoft
Trusted Signing on Windows and Apple Developer ID on macOS.

Plugin code: factory wavetables and presets now ship as files via the
installer rather than embedded BinaryData. PluginProcessor implements
getProgramDirectory/getFactoryProgramDirectories so gin scans factory
content from systemResourceRoot. First-run migration copies any presets
from the legacy com.socalabs/Wavetable/programs path into the new user
dir under Library/Audio/Presets/SocaLabs/Wavetable.

Bumps gin submodule to match Identity for getFactoryProgramDirectories
support.
2026-04-29 13:23:23 -07:00

14 lines
610 B
Bash
Executable file

#!/bin/sh
# Remove any prior install of Wavetable so the new bundle takes its place cleanly.
rm -Rf "/Library/Audio/Plug-Ins/VST/Wavetable.vst"
rm -Rf "/Library/Audio/Plug-Ins/VST3/Wavetable.vst3"
rm -Rf "/Library/Audio/Plug-Ins/Components/Wavetable.component"
rm -Rf "/Library/Audio/Plug-Ins/CLAP/Wavetable.clap"
# Wipe the previous shipped factory content so removed wavetables/presets from
# the old version don't linger. User content lives under ~/Library and is left alone.
rm -Rf "/Library/Audio/Presets/SocaLabs/Wavetable/Presets"
rm -Rf "/Library/Audio/Presets/SocaLabs/Wavetable/Wavetables"
exit 0