diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
deleted file mode 100644
index b6bf9f0..0000000
--- a/.github/FUNDING.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-# repo: Chowdhury-DSP/TempPlugin
-# filename: FUNDING.YML
-
-patreon: chowdsp
-custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=93S67ZSKMBG68&source=url
diff --git a/.github/workflows/auto-format.yml b/.github/workflows/auto-format.yml
index 80930fe..2c48ebb 100644
--- a/.github/workflows/auto-format.yml
+++ b/.github/workflows/auto-format.yml
@@ -20,11 +20,9 @@ jobs:
steps:
- name: Install Linux Deps
run: |
- wget https://apt.llvm.org/llvm.sh
- chmod +x llvm.sh
- sudo ./llvm.sh 12
- sudo apt-get install clang-format-12
- clang-format-12 --version
+ sudo apt update
+ sudo apt -y install clang-format-14
+ clang-format-14 --version
- name: Checkout code
uses: actions/checkout@v2
@@ -34,7 +32,7 @@ jobs:
- name: Run clang-format
shell: bash
- run: find src/ -iname *.h -o -iname *.cpp | xargs clang-format-12 -style=file -verbose -i
+ run: find src/ -iname *.h -o -iname *.cpp | xargs clang-format-14 -style=file -verbose -i
- name: Commit & Push changes
uses: actions-js/push@master
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 4c55d77..914e8bf 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -19,7 +19,14 @@ jobs:
strategy:
fail-fast: false # show all errors for each platform (vs. cancel jobs on error)
matrix:
- os: [ubuntu-latest, windows-2019, macOS-latest]
+ include:
+ - os: ubuntu-22.04
+ cmake_args: "-DCMAKE_CXX_COMPILER=g++-11"
+ - os: windows-2022
+ cmake_gen: -G"Ninja Multi-Config"
+ cmake_args: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
+ - os: macos-13
+ cmake_args: "-DCMAKE_BUILD_TYPE=Release"
steps:
- name: Install Linux Deps
@@ -30,6 +37,24 @@ jobs:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
+ - name: Set Xcode version
+ if: runner.os == 'MacOS'
+ uses: maxim-lobanov/setup-xcode@v1
+ with:
+ xcode-version: '15.2'
+
+ - name: Install Ninja
+ if: runner.os == 'Windows'
+ uses: seanmiddleditch/gha-setup-ninja@master
+
+ - name: Add msbuild to PATH
+ if: runner.os == 'Windows'
+ uses: microsoft/setup-msbuild@v2
+
+ - name: Setup MSVC devcmd
+ if: runner.os == 'Windows'
+ uses: ilammy/msvc-dev-cmd@v1
+
- name: Get latest CMake
uses: lukka/get-cmake@latest
@@ -49,12 +74,12 @@ jobs:
- name: Configure
shell: bash
- run: cmake -Bbuild
+ run: cmake -Bbuild ${{ matrix.cmake_args }} ${{ matrix.cmake_gen }}
- name: Build
shell: bash
run: cmake --build build --config Release --parallel 4
- name: Validate
- if: runner.os == 'Windows' || runner.os == 'MacOS'
+ if: runner.os == 'Windows'
run: bash scripts/validate.sh
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5efb1d3..dea95bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,9 +9,9 @@ set(CMAKE_CXX_STANDARD 20)
set(COMPANY_NAME "chowdsp")
set(PRODUCT_NAME "TempPlugin")
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/modules/cmake")
add_subdirectory(modules)
-# juce_set_vst2_sdk_path(C:/SDKs/VST_SDK/VST2_SDK)
# set default plugin formats to build
if(IOS)
set(JUCE_FORMATS Standalone AUv3)
@@ -19,18 +19,6 @@ else()
set(JUCE_FORMATS AU VST3 Standalone)
endif()
-# Build LV2 only on Linux
-if(UNIX AND NOT APPLE)
- message(STATUS "Building LV2 plugin format")
- list(APPEND JUCE_FORMATS LV2)
-endif()
-
-# Build VST2 is SDK set
-if(TARGET juce_vst2_sdk)
- message(STATUS "Building VST2 plugin format")
- list(APPEND JUCE_FORMATS VST)
-endif()
-
juce_add_plugin(TempPlugin
COMPANY_NAME "${COMPANY_NAME}"
PLUGIN_MANUFACTURER_CODE Chow
@@ -62,11 +50,3 @@ target_compile_definitions(TempPlugin PUBLIC
)
target_link_libraries(TempPlugin PRIVATE juce_plugin_modules)
-
-# we need these flags for notarization on MacOS
-option(MACOS_RELEASE "Set build flags for MacOS Release" OFF)
-if(MACOS_RELEASE)
- message(STATUS "Setting MacOS release flags...")
- set_target_properties(TempPlugin_Standalone PROPERTIES
- XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES)
-endif()
diff --git a/installers/mac/Intro.txt b/installers/mac/Intro.txt
deleted file mode 100644
index 8ad2d00..0000000
--- a/installers/mac/Intro.txt
+++ /dev/null
@@ -1 +0,0 @@
-This application will install the TempPlugin audio plugin version ##APPVERSION## to your computer.
diff --git a/installers/mac/TempPlugin.pkgproj b/installers/mac/TempPlugin.pkgproj
deleted file mode 100644
index 03fe2f7..0000000
--- a/installers/mac/TempPlugin.pkgproj
+++ /dev/null
@@ -1,2564 +0,0 @@
-
-
-
-
- PACKAGES
-
-
- MUST-CLOSE-APPLICATION-ITEMS
-
- MUST-CLOSE-APPLICATIONS
-
- PACKAGE_FILES
-
- DEFAULT_INSTALL_LOCATION
- /
- HIERARCHY
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Applications
- PATH_TYPE
- 0
- PERMISSIONS
- 509
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Application Support
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
-
- CHILDREN
-
-
- BUNDLE_CAN_DOWNGRADE
-
- BUNDLE_POSTINSTALL_PATH
-
- PATH_TYPE
- 0
-
- BUNDLE_PREINSTALL_PATH
-
- PATH_TYPE
- 0
-
- CHILDREN
-
- GID
- 0
- PATH
- ../../bin/Mac/TempPlugin.component
- PATH_TYPE
- 1
- PERMISSIONS
- 493
- TYPE
- 3
- UID
- 0
-
-
- GID
- 0
- PATH
- Components
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- GID
- 0
- PATH
- Plug-Ins
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- GID
- 0
- PATH
- Audio
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Automator
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Documentation
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Extensions
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Filesystems
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Frameworks
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Input Methods
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Internet Plug-Ins
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchAgents
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchDaemons
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PreferencePanes
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Preferences
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Printers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PrivilegedHelperTools
- PATH_TYPE
- 0
- PERMISSIONS
- 1005
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickLook
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickTime
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Screen Savers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Scripts
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Services
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Widgets
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- Library
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Shared
- PATH_TYPE
- 0
- PERMISSIONS
- 1023
- TYPE
- 1
- UID
- 0
-
-
- GID
- 80
- PATH
- Users
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- /
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
- PAYLOAD_TYPE
- 0
- PRESERVE_EXTENDED_ATTRIBUTES
-
- SHOW_INVISIBLE
-
- SPLIT_FORKS
-
- TREAT_MISSING_FILES_AS_WARNING
-
- VERSION
- 5
-
- PACKAGE_SCRIPTS
-
- POSTINSTALL_PATH
-
- PATH_TYPE
- 0
-
- PREINSTALL_PATH
-
- PATH_TYPE
- 0
-
- RESOURCES
-
-
- PACKAGE_SETTINGS
-
- AUTHENTICATION
- 1
- CONCLUSION_ACTION
- 0
- FOLLOW_SYMBOLIC_LINKS
-
- IDENTIFIER
- com.chowdsp.TempPlugin.TempPluginAU
- LOCATION
- 0
- NAME
- AU
- OVERWRITE_PERMISSIONS
-
- PAYLOAD_SIZE
- -1
- REFERENCE_PATH
-
- RELOCATABLE
-
- USE_HFS+_COMPRESSION
-
- VERSION
- ##APPVERSION##
-
- TYPE
- 0
- UUID
- 69EED16E-B119-4D35-B464-12717823DE0E
-
-
- MUST-CLOSE-APPLICATION-ITEMS
-
- MUST-CLOSE-APPLICATIONS
-
- PACKAGE_FILES
-
- DEFAULT_INSTALL_LOCATION
- /
- HIERARCHY
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Applications
- PATH_TYPE
- 0
- PERMISSIONS
- 509
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Application Support
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
-
- CHILDREN
-
-
- BUNDLE_CAN_DOWNGRADE
-
- BUNDLE_POSTINSTALL_PATH
-
- PATH_TYPE
- 0
-
- BUNDLE_PREINSTALL_PATH
-
- PATH_TYPE
- 0
-
- CHILDREN
-
- GID
- 0
- PATH
- ../../bin/Mac/TempPlugin.vst3
- PATH_TYPE
- 1
- PERMISSIONS
- 493
- TYPE
- 3
- UID
- 0
-
-
- GID
- 0
- PATH
- VST3
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- GID
- 0
- PATH
- Plug-Ins
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- GID
- 0
- PATH
- Audio
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Automator
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Documentation
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Extensions
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Filesystems
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Frameworks
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Input Methods
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Internet Plug-Ins
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchAgents
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchDaemons
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PreferencePanes
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Preferences
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Printers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PrivilegedHelperTools
- PATH_TYPE
- 0
- PERMISSIONS
- 1005
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickLook
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickTime
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Screen Savers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Scripts
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Services
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Widgets
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- Library
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Shared
- PATH_TYPE
- 0
- PERMISSIONS
- 1023
- TYPE
- 1
- UID
- 0
-
-
- GID
- 80
- PATH
- Users
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- /
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
- PAYLOAD_TYPE
- 0
- PRESERVE_EXTENDED_ATTRIBUTES
-
- SHOW_INVISIBLE
-
- SPLIT_FORKS
-
- TREAT_MISSING_FILES_AS_WARNING
-
- VERSION
- 5
-
- PACKAGE_SETTINGS
-
- AUTHENTICATION
- 1
- CONCLUSION_ACTION
- 0
- FOLLOW_SYMBOLIC_LINKS
-
- IDENTIFIER
- com.chowdsp.TempPlugin.TempPluginVST3
- LOCATION
- 0
- NAME
- VST3
- OVERWRITE_PERMISSIONS
-
- PAYLOAD_SIZE
- -1
- REFERENCE_PATH
-
- RELOCATABLE
-
- USE_HFS+_COMPRESSION
-
- VERSION
- ##APPVERSION##
-
- TYPE
- 0
- UUID
- 17D06D06-18AD-4175-AA45-047F4984BE1A
-
-
- MUST-CLOSE-APPLICATION-ITEMS
-
- MUST-CLOSE-APPLICATIONS
-
- PACKAGE_FILES
-
- DEFAULT_INSTALL_LOCATION
- /
- HIERARCHY
-
- CHILDREN
-
-
- CHILDREN
-
-
- BUNDLE_CAN_DOWNGRADE
-
- BUNDLE_POSTINSTALL_PATH
-
- PATH_TYPE
- 0
-
- BUNDLE_PREINSTALL_PATH
-
- PATH_TYPE
- 0
-
- CHILDREN
-
- GID
- 80
- PATH
- ../../bin/Mac/TempPlugin.app
- PATH_TYPE
- 1
- PERMISSIONS
- 493
- TYPE
- 3
- UID
- 0
-
-
- GID
- 80
- PATH
- Applications
- PATH_TYPE
- 0
- PERMISSIONS
- 509
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Application Support
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Automator
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Documentation
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Extensions
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Filesystems
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Frameworks
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Input Methods
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Internet Plug-Ins
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchAgents
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchDaemons
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PreferencePanes
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Preferences
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Printers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PrivilegedHelperTools
- PATH_TYPE
- 0
- PERMISSIONS
- 1005
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickLook
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickTime
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Screen Savers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Scripts
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Services
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Widgets
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- Library
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Shared
- PATH_TYPE
- 0
- PERMISSIONS
- 1023
- TYPE
- 1
- UID
- 0
-
-
- GID
- 80
- PATH
- Users
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- /
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
- PAYLOAD_TYPE
- 0
- PRESERVE_EXTENDED_ATTRIBUTES
-
- SHOW_INVISIBLE
-
- SPLIT_FORKS
-
- TREAT_MISSING_FILES_AS_WARNING
-
- VERSION
- 5
-
- PACKAGE_SETTINGS
-
- AUTHENTICATION
- 1
- CONCLUSION_ACTION
- 0
- FOLLOW_SYMBOLIC_LINKS
-
- IDENTIFIER
- com.chowdsp.TempPlugin
- LOCATION
- 0
- NAME
- Standalone
- OVERWRITE_PERMISSIONS
-
- PAYLOAD_SIZE
- -1
- REFERENCE_PATH
-
- RELOCATABLE
-
- USE_HFS+_COMPRESSION
-
- VERSION
- ##APPVERSION##
-
- TYPE
- 0
- UUID
- 54266BE4-CE88-4033-9C8D-248D3D38D1E1
-
-
- MUST-CLOSE-APPLICATION-ITEMS
-
- MUST-CLOSE-APPLICATIONS
-
- PACKAGE_FILES
-
- DEFAULT_INSTALL_LOCATION
- /
- HIERARCHY
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Applications
- PATH_TYPE
- 0
- PERMISSIONS
- 509
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Application Support
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
-
- CHILDREN
-
-
- BUNDLE_CAN_DOWNGRADE
-
- BUNDLE_POSTINSTALL_PATH
-
- PATH_TYPE
- 0
-
- BUNDLE_PREINSTALL_PATH
-
- PATH_TYPE
- 0
-
- CHILDREN
-
- GID
- 0
- PATH
- ../../bin/Mac/TempPlugin.clap
- PATH_TYPE
- 1
- PERMISSIONS
- 493
- TYPE
- 3
- UID
- 0
-
-
- GID
- 0
- PATH
- CLAP
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- GID
- 0
- PATH
- Plug-Ins
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- GID
- 0
- PATH
- Audio
- PATH_TYPE
- 2
- PERMISSIONS
- 509
- TYPE
- 2
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Automator
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Documentation
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Extensions
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Filesystems
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Frameworks
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Input Methods
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Internet Plug-Ins
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchAgents
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- LaunchDaemons
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PreferencePanes
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Preferences
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 80
- PATH
- Printers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- PrivilegedHelperTools
- PATH_TYPE
- 0
- PERMISSIONS
- 1005
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickLook
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- QuickTime
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Screen Savers
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Scripts
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Services
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Widgets
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- Library
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- CHILDREN
-
-
- CHILDREN
-
- GID
- 0
- PATH
- Shared
- PATH_TYPE
- 0
- PERMISSIONS
- 1023
- TYPE
- 1
- UID
- 0
-
-
- GID
- 80
- PATH
- Users
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
-
- GID
- 0
- PATH
- /
- PATH_TYPE
- 0
- PERMISSIONS
- 493
- TYPE
- 1
- UID
- 0
-
- PAYLOAD_TYPE
- 0
- PRESERVE_EXTENDED_ATTRIBUTES
-
- SHOW_INVISIBLE
-
- SPLIT_FORKS
-
- TREAT_MISSING_FILES_AS_WARNING
-
- VERSION
- 5
-
- PACKAGE_SETTINGS
-
- AUTHENTICATION
- 1
- CONCLUSION_ACTION
- 0
- FOLLOW_SYMBOLIC_LINKS
-
- IDENTIFIER
- com.chowdsp.TempPlugin.TempPluginCLAP
- LOCATION
- 0
- NAME
- CLAP
- OVERWRITE_PERMISSIONS
-
- PAYLOAD_SIZE
- -1
- REFERENCE_PATH
-
- RELOCATABLE
-
- USE_HFS+_COMPRESSION
-
- VERSION
- ##APPVERSION##
-
- TYPE
- 0
- UUID
- DAC3949D-C2E3-4F76-84CF-E5DEB2A21E65
-
-
- PROJECT
-
- PROJECT_COMMENTS
-
- NOTES
-
-
-
- PROJECT_PRESENTATION
-
- BACKGROUND
-
- APPAREANCES
-
- DARK_AQUA
-
- LIGHT_AQUA
-
-
- SHARED_SETTINGS_FOR_ALL_APPAREANCES
-
-
- INSTALLATION TYPE
-
- HIERARCHIES
-
- INSTALLER
-
- LIST
-
-
- CHILDREN
-
- DESCRIPTION
-
- OPTIONS
-
- HIDDEN
-
- STATE
- 1
-
- PACKAGE_UUID
- 69EED16E-B119-4D35-B464-12717823DE0E
- TITLE
-
- TYPE
- 0
- UUID
- 32A671B5-085A-4D25-9B73-CA9157DA33C8
-
-
- CHILDREN
-
- DESCRIPTION
-
- OPTIONS
-
- HIDDEN
-
- STATE
- 1
-
- PACKAGE_UUID
- 17D06D06-18AD-4175-AA45-047F4984BE1A
- TITLE
-
- TYPE
- 0
- UUID
- 6B0DDE9A-47F8-4615-BC79-4C475F3E41F7
-
-
- CHILDREN
-
- DESCRIPTION
-
- OPTIONS
-
- HIDDEN
-
- STATE
- 1
-
- PACKAGE_UUID
- 54266BE4-CE88-4033-9C8D-248D3D38D1E1
- TITLE
-
- TYPE
- 0
- UUID
- 7BA12230-EFE4-49DA-B02C-EAB67D03EF2D
-
-
- CHILDREN
-
- DESCRIPTION
-
- OPTIONS
-
- HIDDEN
-
- STATE
- 1
-
- PACKAGE_UUID
- DAC3949D-C2E3-4F76-84CF-E5DEB2A21E65
- TITLE
-
- TYPE
- 0
- UUID
- 51A09826-5983-4D98-B8AA-2F8D2FE33347
-
-
- REMOVED
-
-
-
- MODE
- 2
-
- INSTALLATION_STEPS
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewIntroductionController
- INSTALLER_PLUGIN
- Introduction
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewReadMeController
- INSTALLER_PLUGIN
- ReadMe
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewLicenseController
- INSTALLER_PLUGIN
- License
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewDestinationSelectController
- INSTALLER_PLUGIN
- TargetSelect
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewInstallationTypeController
- INSTALLER_PLUGIN
- PackageSelection
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewInstallationController
- INSTALLER_PLUGIN
- Install
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS
- ICPresentationViewSummaryController
- INSTALLER_PLUGIN
- Summary
- LIST_TITLE_KEY
- InstallerSectionTitle
-
-
- INTRODUCTION
-
- LOCALIZATIONS
-
-
- LANGUAGE
- English
- VALUE
-
- PATH
- Intro.txt
- PATH_TYPE
- 3
-
-
-
-
- LICENSE
-
- LOCALIZATIONS
-
-
- LANGUAGE
- English
- VALUE
-
- PATH
- LICENSE.txt
- PATH_TYPE
- 3
-
-
-
- MODE
- 0
-
- README
-
- LOCALIZATIONS
-
-
- TITLE
-
- LOCALIZATIONS
-
-
- LANGUAGE
- English
- VALUE
- TempPlugin
-
-
-
-
- PROJECT_REQUIREMENTS
-
- LIST
-
- RESOURCES
-
- ROOT_VOLUME_ONLY
-
-
- PROJECT_SETTINGS
-
- ADVANCED_OPTIONS
-
- installer-script.options:hostArchitectures
-
- x86_64,arm64
-
-
- BUILD_FORMAT
- 0
- BUILD_PATH
-
- PATH
- ../../build
- PATH_TYPE
- 1
-
- EXCLUDED_FILES
-
-
- PATTERNS_ARRAY
-
-
- REGULAR_EXPRESSION
-
- STRING
- .DS_Store
- TYPE
- 0
-
-
- PROTECTED
-
- PROXY_NAME
- Remove .DS_Store files
- PROXY_TOOLTIP
- Remove ".DS_Store" files created by the Finder.
- STATE
-
-
-
- PATTERNS_ARRAY
-
-
- REGULAR_EXPRESSION
-
- STRING
- .pbdevelopment
- TYPE
- 0
-
-
- PROTECTED
-
- PROXY_NAME
- Remove .pbdevelopment files
- PROXY_TOOLTIP
- Remove ".pbdevelopment" files created by ProjectBuilder or Xcode.
- STATE
-
-
-
- PATTERNS_ARRAY
-
-
- REGULAR_EXPRESSION
-
- STRING
- CVS
- TYPE
- 1
-
-
- REGULAR_EXPRESSION
-
- STRING
- .cvsignore
- TYPE
- 0
-
-
- REGULAR_EXPRESSION
-
- STRING
- .cvspass
- TYPE
- 0
-
-
- REGULAR_EXPRESSION
-
- STRING
- .svn
- TYPE
- 1
-
-
- REGULAR_EXPRESSION
-
- STRING
- .git
- TYPE
- 1
-
-
- REGULAR_EXPRESSION
-
- STRING
- .gitignore
- TYPE
- 0
-
-
- PROTECTED
-
- PROXY_NAME
- Remove SCM metadata
- PROXY_TOOLTIP
- Remove helper files and folders used by the CVS, SVN or Git Source Code Management systems.
- STATE
-
-
-
- PATTERNS_ARRAY
-
-
- REGULAR_EXPRESSION
-
- STRING
- classes.nib
- TYPE
- 0
-
-
- REGULAR_EXPRESSION
-
- STRING
- designable.db
- TYPE
- 0
-
-
- REGULAR_EXPRESSION
-
- STRING
- info.nib
- TYPE
- 0
-
-
- PROTECTED
-
- PROXY_NAME
- Optimize nib files
- PROXY_TOOLTIP
- Remove "classes.nib", "info.nib" and "designable.nib" files within .nib bundles.
- STATE
-
-
-
- PATTERNS_ARRAY
-
-
- REGULAR_EXPRESSION
-
- STRING
- Resources Disabled
- TYPE
- 1
-
-
- PROTECTED
-
- PROXY_NAME
- Remove Resources Disabled folders
- PROXY_TOOLTIP
- Remove "Resources Disabled" folders.
- STATE
-
-
-
- SEPARATOR
-
-
-
- NAME
- TempPlugin
- PAYLOAD_ONLY
-
- TREAT_MISSING_PRESENTATION_DOCUMENTS_AS_WARNING
-
-
-
- TYPE
- 0
- VERSION
- 2
-
-
diff --git a/installers/mac/build_mac_installer.sh b/installers/mac/build_mac_installer.sh
deleted file mode 100644
index 79533d8..0000000
--- a/installers/mac/build_mac_installer.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-script_file=TempPlugin.pkgproj
-
-app_version=$(cut -f 2 -d '=' <<< "$(grep 'CMAKE_PROJECT_VERSION:STATIC' ../../build/CMakeCache.txt)")
-echo "Setting app version: $app_version..."
-sed -i '' "s/##APPVERSION##/${app_version}/g" $script_file
-sed -i '' "s/##APPVERSION##/${app_version}/g" Intro.txt
-
-echo "Copying License..."
-cp ../../LICENSE LICENSE.txt
-
-# build installer
-echo Building...
-/usr/local/bin/packagesbuild $script_file
-
-# reset version number
-sed -i '' "s/${app_version}/##APPVERSION##/g" $script_file
-sed -i '' "s/${app_version}/##APPVERSION##/g" Intro.txt
-
-# clean up license file
-rm LICENSE.txt
-
-# sign the installer package
-echo "Signing installer package..."
-TEAM_ID=$(more ~/Developer/mac_id)
-pkg_dir=TempPlugin_Installer_Packaged
-rm -Rf $pkg_dir
-mkdir $pkg_dir
-productsign -s "$TEAM_ID" ../../build/TempPlugin.pkg $pkg_dir/TempPlugin-signed.pkg
-
-echo "Notarizing installer package..."
-INSTALLER_PASS=$(more ~/Developer/mac_installer_pass)
-npx notarize-cli --file $pkg_dir/TempPlugin-signed.pkg --bundle-id com.chowdsp.TempPlugin --asc-provider "$TEAM_ID" --username chowdsp@gmail.com --password "$INSTALLER_PASS"
-
-echo "Building disk image..."
-vol_name=Install_TempPlugin-$app_version
-rm -f "$vol_name"
-hdiutil create "$vol_name.dmg" -fs HFS+ -srcfolder $pkg_dir -format UDZO -volname "$vol_name"
diff --git a/installers/windows/TempPlugin_Install_Script.iss b/installers/windows/TempPlugin_Install_Script.iss
deleted file mode 100644
index 541e1cf..0000000
--- a/installers/windows/TempPlugin_Install_Script.iss
+++ /dev/null
@@ -1,230 +0,0 @@
-#define MyAppPublisher "Chowdhury DSP"
-#define MyAppURL "https://chowdsp.com"
-#define MyAppName "TempPlugin"
-#define MyAppVersion "##APPVERSION##"
-
-[Setup]
-AppName="{#MyAppName} {#MyAppVersion}"
-AppVersion={#MyAppVersion}
-AppVerName={#MyAppName}
-AppPublisher={#MyAppPublisher}
-AppPublisherURL={#MyAppURL}
-AppSupportURL={#MyAppURL}
-AppUpdatesURL={#MyAppURL}
-DefaultDirName={commonpf64}\{#MyAppPublisher}\
-DefaultGroupName={#MyAppName}
-DisableProgramGroupPage=yes
-DisableDirPage=yes
-DisableWelcomePage=no
-LicenseFile=../../LICENSE
-OutputBaseFilename="TempPlugin-Win-{#MyAppVersion}"
-OutputDir=.
-; SetupIconFile=myicon.ico
-; UninstallDisplayIcon=myicon.ico
-UninstallFilesDir={commonpf64}\{#MyAppPublisher}\{#MyAppName}
-Compression=lzma
-SolidCompression=yes
-
-[Types]
-Name: "full"; Description: "Full installation"
-Name: "custom"; Description: "Custom installation"; Flags: iscustom
-
-[Components]
-Name: "VST3_64"; Description: "VST3 Plugin"; Types: full
-Name: "CLAP_64"; Description: "CLAP Plugin"; Types: full
-; Name: "VST_64"; Description: "VST Plugin"; Types: full
-; Name: "Standalone"; Description: "Standalone Plugin"; Types: full
-; Name: "AAX"; Description: "AAX Plugin"; Types: full
-
-[Files]
-Source: "../../bin/Win64/TempPlugin.vst3"; Excludes: "*.aaxplugin,*.clap"; DestDir: "{code:GetDir|VST3_64}"; Components: VST3_64; Flags: ignoreversion recursesubdirs createallsubdirs
-Source: "../../bin/Win64/TempPlugin.clap"; Excludes: "*.aaxplugin,*.vst3"; DestDir: "{code:GetDir|CLAP_64}"; Components: CLAP_64; Flags: ignoreversion recursesubdirs createallsubdirs
-; Source: "../../bin/Win64/TempPlugin.dll"; Excludes: "*.vst3,*.aaxplugin,*.clap"; DestDir: "{code:GetDir|VST_64}"; Components: VST_64; Flags: ignoreversion recursesubdirs createallsubdirs
-; Source: "../../bin/Win64/TempPlugin.exe"; Excludes: "*.vst3,*.aaxplugin,*.clap"; DestDir: "{code:GetDir|Standalone}"; Components: Standalone; Flags: ignoreversion recursesubdirs createallsubdirs
-; Source: "../../bin/Win64/TempPlugin.aaxplugin"; Excludes: "*.vst3,*.clap"; DestDir: "{code:GetDir|AAX}"; Components: AAX; Flags: ignoreversion recursesubdirs createallsubdirs
-
-
-[Icons]
-Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
-
-[Code]
-var
- AAXDirPage: TInputDirWizardPage;
- Vst3_64DirPage: TinputDirWizardPage;
- Vst_64DirPage: TinputDirWizardPage;
- Vst3_32DirPage: TinputDirWizardPage;
- Vst_32DirPage: TinputDirWizardPage;
-
-procedure InitializeWizard;
-begin
- Log('Initializing extra pages')
- //AAX Dir Page
- AAXDirPage := CreateInputDirPage(wpSelectComponents,
- 'Select AAX Install Location', 'Where would you like to install the AAX plugin?',
- 'AAX plugin will be installed in the following folder.'#13#10#13#10 +
- 'To continue, click Next. If you would like to select a different folder, click Browse.',
- False, 'New Folder');
-
- AAXDirPage.add('');
- AAXDirPage.values[0] := ExpandConstant('{commoncf64}\Avid\Audio\Plug-Ins');
-
- //VST3 64-bit Dir Page
- Vst3_64DirPage := CreateInputDirPage(AAXDirPage.ID,
- 'Select Install Location for VST3 64-bit', 'Where would you like to install the plugin?',
- 'VST3 64-bit plugin will be installed in the following folder.'#13#10#13#10 +
- 'To continue, click Next. If you would like to select a different folder, click Browse.',
- False, 'New Folder');
-
- Vst3_64DirPage.add('');
- Vst3_64DirPage.values[0] := ExpandConstant('{commoncf64}\VST3');
-
- //VST 64-bit Dir Page
- Vst_64DirPage := CreateInputDirPage(Vst3_64DirPage.ID,
- 'Select Install Location for VST 64-bit', 'Where would you like to install the plugin?',
- 'VST 64-bit plugin will be installed in the following folder.'#13#10#13#10 +
- 'To continue, click Next. If you would like to select a different folder, click Browse.',
- False, 'New Folder');
-
- Vst_64DirPage.add('');
- Vst_64DirPage.values[0] := ExpandConstant('{commoncf64}\VST');
-
- //VST3 32-bit Dir Page
- Vst3_32DirPage := CreateInputDirPage(Vst_64DirPage.ID,
- 'Select Install Location for VST3 32-bit', 'Where would you like to install the plugin?',
- 'VST3 32-bit plugin will be installed in the following folder.'#13#10#13#10 +
- 'To continue, click Next. If you would like to select a different folder, click Browse.',
- False, 'New Folder');
-
- Vst3_32DirPage.add('');
- Vst3_32DirPage.values[0] := ExpandConstant('{commoncf32}\VST3');
-
- //VST 64-bit Dir Page
- Vst_32DirPage := CreateInputDirPage(Vst3_32DirPage.ID,
- 'Select Install Location for VST 32-bit', 'Where would you like to install the plugin?',
- 'VST 32-bit plugin will be installed in the following folder.'#13#10#13#10 +
- 'To continue, click Next. If you would like to select a different folder, click Browse.',
- False, 'New Folder');
-
- Vst_32DirPage.add('');
- Vst_32DirPage.values[0] := ExpandConstant('{commoncf32}\VST');
-end;
-
-function IsSelected(Param: String) : Boolean;
-begin
- if not (Pos(Param, WizardSelectedComponents(False)) = 0) then // WizardSelectedComponents(False)) then
- Result := True
-end;
-
-function ShouldSkipPage(PageID: Integer): Boolean;
-begin
- { Skip pages that shouldn't be shown }
- Result := False;
-
- if (PageID = AAXDirPage.ID) then
- begin
- Result := True;
- Log('Selected 1: ' + WizardSelectedComponents(False));
-
- if IsSelected ('aax') then
- begin
- Log('Not Skipping page');
- Result := False;
- end
- end
-
- else if (PageID = Vst3_64DirPage.ID) then
- begin
- Result := True;
- Log('Selected 2: ' + WizardSelectedComponents(False));
-
- if IsSelected ('vst3_64') then
- begin
- Log('Not Skipping');
- Result := False;
- end
- end
-
- else if (PageID = Vst3_32DirPage.ID) then
- begin
- Result := True;
- Log('Selected 3: ' + WizardSelectedComponents(False));
-
- if IsSelected ('vst3_32') then
- begin
- Log('Not Skipping');
- Result := False;
- end
- end
-
- else if (PageID = Vst_64DirPage.ID) then
- begin
- Result := True;
- Log('Selected 4: ' + WizardSelectedComponents(False));
-
- if IsSelected ('vst_64') then
- begin
- Log('Not Skipping');
- Result := False;
- end
- end
-
- else if (PageID = Vst_32DirPage.ID) then
- begin
- Result := True;
- Log('Selected 5: ' + WizardSelectedComponents(False));
-
- if IsSelected ('vst_32') then
- begin
- Log('Not Skipping');
- Result := False;
- end
- end
-end;
-
-function GetDir(Param: String) : String;
-begin
- if (Param = 'AAX') then
- Result := AAXDirPage.values[0]
- else if (Param = 'VST3_64') then
- Result := Vst3_64DirPage.values[0]
- else if (Param = 'VST3_32') then
- Result := Vst3_32DirPage.values[0]
- else if (Param = 'VST_64') then
- Result := Vst_64DirPage.values[0]
- else if (Param = 'VST_32') then
- Result := Vst_32DirPage.values[0]
- else if (Param = 'CLAP_64') then
- Result := ExpandConstant('{commoncf64}\CLAP')
-end;
-
-function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo,
- MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
-var
- S: String;
-begin
- { Fill the 'Ready Memo' with the normal settings and the custom settings }
- S := '';
- S := S + MemoTypeInfo + NewLine + NewLine;
- S := S + MemoComponentsInfo + NewLine + NewLine;
- S := S + 'Destination Location:' + NewLine;
-
- if IsSelected('aax') then
- S := S + Space + GetDir('AAX') + ' (AAX)' + NewLine;
-
- if IsSelected('vst3_64') then
- S := S + Space + GetDir('VST3_64') + ' (VST3 64-bit)' + NewLine;
-
- if IsSelected('vst_64') then
- S := S + Space + GetDir('VST_64') + ' (VST 64-bit)' + NewLine;
-
- if IsSelected('vst3_32') then
- S := S + Space + GetDir('VST3_32') + ' (VST3 32-bit)' + NewLine;
-
- if IsSelected('vst_32') then
- S := S + Space + GetDir('VST_32') + ' (VST 32-bit)' + NewLine;
-
- if IsSelected('clap_64') then
- S := S + Space + GetDir('CLAP_64') + ' (CLAP 64-bit)' + NewLine;
-
- Result := S;
-end;
diff --git a/installers/windows/build_win_installer.sh b/installers/windows/build_win_installer.sh
deleted file mode 100644
index f041cdd..0000000
--- a/installers/windows/build_win_installer.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-script_file=TempPlugin_Install_Script.iss
-
-app_version=$(cut -f 2 -d '=' <<< "$(grep 'CMAKE_PROJECT_VERSION:STATIC' ../../build/CMakeCache.txt)")
-echo "Setting app version: $app_version..."
-sed -i "s/##APPVERSION##/${app_version}/g" $script_file
-
-# build installer
-echo Building...
-$"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" $script_file
-
-# reset version number
-sed -i "s/${app_version}/##APPVERSION##/g" $script_file
-
-exec="TempPlugin-Win-$app_version.exe"
-direc=$PWD
-
-# sign
-# echo "Signing installer..."
-# $"cd" "C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64"
-# $"./signtool.exe" sign -tr http://timestamp.digicert.com -td sha256 -fd sha256 -a -debug $direc/$exec
-# $"./signtool.exe" verify -pa $direc/$exec
-
-echo SUCCESS
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index d8cbe36..a7f2368 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -6,11 +6,10 @@ message(STATUS "VERSION for JUCE: ${juce_version}")
subproject_version(chowdsp_utils chowdsp_version)
message(STATUS "VERSION for chowdsp: ${chowdsp_version}")
-include(cmake/WarningFlags.cmake)
+include(WarningFlags)
add_library(juce_plugin_modules STATIC)
target_link_libraries(juce_plugin_modules
PRIVATE
- BinaryData
juce::juce_audio_utils
juce::juce_dsp
chowdsp::chowdsp_plugin_base
diff --git a/modules/cmake/CMakeRC.cmake b/modules/cmake/CMakeRC.cmake
new file mode 100644
index 0000000..7bf8756
--- /dev/null
+++ b/modules/cmake/CMakeRC.cmake
@@ -0,0 +1,644 @@
+# This block is executed when generating an intermediate resource file, not when
+# running in CMake configure mode
+if(_CMRC_GENERATE_MODE)
+ # Read in the digits
+ file(READ "${INPUT_FILE}" bytes HEX)
+ # Format each pair into a character literal. Heuristics seem to favor doing
+ # the conversion in groups of five for fastest conversion
+ string(REGEX REPLACE "(..)(..)(..)(..)(..)" "'\\\\x\\1','\\\\x\\2','\\\\x\\3','\\\\x\\4','\\\\x\\5'," chars "${bytes}")
+ # Since we did this in groups, we have some leftovers to clean up
+ string(LENGTH "${bytes}" n_bytes2)
+ math(EXPR n_bytes "${n_bytes2} / 2")
+ math(EXPR remainder "${n_bytes} % 5") # <-- '5' is the grouping count from above
+ set(cleanup_re "$")
+ set(cleanup_sub )
+ while(remainder)
+ set(cleanup_re "(..)${cleanup_re}")
+ set(cleanup_sub "'\\\\x\\${remainder}',${cleanup_sub}")
+ math(EXPR remainder "${remainder} - 1")
+ endwhile()
+ if(NOT cleanup_re STREQUAL "$")
+ string(REGEX REPLACE "${cleanup_re}" "${cleanup_sub}" chars "${chars}")
+ endif()
+ string(CONFIGURE [[
+ namespace { const char file_array[] = { @chars@ 0 }; }
+ namespace cmrc { namespace @NAMESPACE@ { namespace res_chars {
+ extern const char* const @SYMBOL@_begin = file_array;
+ extern const char* const @SYMBOL@_end = file_array + @n_bytes@;
+ }}}
+ ]] code)
+ file(WRITE "${OUTPUT_FILE}" "${code}")
+ # Exit from the script. Nothing else needs to be processed
+ return()
+endif()
+
+set(_version 2.0.0)
+
+cmake_minimum_required(VERSION 3.5)
+include(CMakeParseArguments)
+
+if(COMMAND cmrc_add_resource_library)
+ if(NOT DEFINED _CMRC_VERSION OR NOT (_version STREQUAL _CMRC_VERSION))
+ message(WARNING "More than one CMakeRC version has been included in this project.")
+ endif()
+ # CMakeRC has already been included! Don't do anything
+ return()
+endif()
+
+set(_CMRC_VERSION "${_version}" CACHE INTERNAL "CMakeRC version. Used for checking for conflicts")
+
+set(_CMRC_SCRIPT "${CMAKE_CURRENT_LIST_FILE}" CACHE INTERNAL "Path to CMakeRC script")
+
+function(_cmrc_normalize_path var)
+ set(path "${${var}}")
+ file(TO_CMAKE_PATH "${path}" path)
+ while(path MATCHES "//")
+ string(REPLACE "//" "/" path "${path}")
+ endwhile()
+ string(REGEX REPLACE "/+$" "" path "${path}")
+ set("${var}" "${path}" PARENT_SCOPE)
+endfunction()
+
+get_filename_component(_inc_dir "${CMAKE_BINARY_DIR}/_cmrc/include" ABSOLUTE)
+set(CMRC_INCLUDE_DIR "${_inc_dir}" CACHE INTERNAL "Directory for CMakeRC include files")
+# Let's generate the primary include file
+file(MAKE_DIRECTORY "${CMRC_INCLUDE_DIR}/cmrc")
+set(hpp_content [==[
+#ifndef CMRC_CMRC_HPP_INCLUDED
+#define CMRC_CMRC_HPP_INCLUDED
+
+#include
+#include
+#include
+#include
+#include