mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 14:00:47 +02:00
Flatten nested Presets/<category>/*.xml into a single dir
gin's loadDirectory() doesn't recurse, and the legacy BinaryData flow stored presets flat in the user dir. Installer/build.sh now stages a flat copy under Installer/_flat_presets/ which the Inno Setup script and macOS pkg both consume; CMakeLists installs the same flat set on Linux.
This commit is contained in:
parent
130e626ea6
commit
8e068f7104
4 changed files with 21 additions and 6 deletions
|
|
@ -268,10 +268,12 @@ if (UNIX AND NOT APPLE)
|
|||
DESTINATION lib/clap
|
||||
COMPONENT CLAP)
|
||||
|
||||
install (DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/plugin/Resources/Presets/"
|
||||
# Presets ship flat — gin's loadDirectory doesn't recurse, and the pre-installer
|
||||
# BinaryData flow stored them flat in the user dir.
|
||||
file (GLOB_RECURSE _preset_xmls "${CMAKE_CURRENT_SOURCE_DIR}/plugin/Resources/Presets/*.xml")
|
||||
install (FILES ${_preset_xmls}
|
||||
DESTINATION share/SocaLabs/${PLUGIN_NAME}/Presets
|
||||
COMPONENT Resources
|
||||
FILES_MATCHING PATTERN "*.xml")
|
||||
COMPONENT Resources)
|
||||
|
||||
install (DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/plugin/Resources/WavetablesFLAC/"
|
||||
DESTINATION share/SocaLabs/${PLUGIN_NAME}/Wavetables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue