From 9e901afe70d13e507757b071c915f9b7d82ae87f Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Thu, 3 Feb 2022 18:07:52 +0000 Subject: [PATCH] [Enhance] Update resources folder structure (#57) * copy the whole resources folder from core * make fluidfilespath respect the new structure --- CMakeLists.txt | 2 +- release-packaging/Classes/FluidFilesPath.sc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53d5364..2ce7f3c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,7 +199,7 @@ install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ DESTINATION ${SC_PACKAGE_ROOT}/Plugins PATTERN "*.ilk" EXCLUDE PATTERN "*.PDB" EXCLUDE) -install(DIRECTORY "${flucoma-core_SOURCE_DIR}/AudioFiles" +install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources" DESTINATION ${SC_PACKAGE_ROOT}) install(FILES QuickStart.md DESTINATION ${SC_PACKAGE_ROOT}) diff --git a/release-packaging/Classes/FluidFilesPath.sc b/release-packaging/Classes/FluidFilesPath.sc index 7a3c82e..f992107 100644 --- a/release-packaging/Classes/FluidFilesPath.sc +++ b/release-packaging/Classes/FluidFilesPath.sc @@ -2,6 +2,6 @@ FluidFilesPath { *new { arg fileName; fileName = fileName ? ""; - ^("%/../AudioFiles/".format(File.realpath(FluidDataSet.class.filenameSymbol).dirname) +/+ fileName); + ^("%/../Resources/AudioFiles/".format(File.realpath(FluidDataSet.class.filenameSymbol).dirname) +/+ fileName); } } \ No newline at end of file