Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 2.2 KB

PACKAGING.md

File metadata and controls

36 lines (31 loc) · 2.2 KB

Package NeuralNote for macOS

  • Build the app, VST3 and AU in Release mode (LTO is on by default, -DLTO=ON).
    • muscriptor.cpp does not support universal binaries, so a build contains only one architecture (the host's by default), and there is one installer per architecture. On Apple Silicon, build the Intel one in a second build directory with -DCMAKE_OSX_ARCHITECTURES=x86_64, and package it the same way.
  • Install Packages if you don't have it already.
  • Set up an Apple Developer certificate and load it into Keychain (for both the app and the installer).
  • Run the sign_and_package_neuralnote_macos.sh script to sign the 3 artifacts and package them into an installer (.pkg file).
    • Run the script with the path to the release directory containing the Standalone, VST3 and AU directory (usually cmake-build-release/NeuralNote_artefacts/Release).
      ./sign_and_package_neuralnote_macos.sh cmake-build-release/NeuralNote_artefacts/Release
    • The script will ask for the Apple ID and password (app specific) for the signing process.
    • An optional second argument names the installer, e.g. NeuralNote_Installer_Mac_x64.pkg. The script refuses a name for the wrong architecture.
    • The installer will be located in Installers/Mac/build, named NeuralNote_Installer_Mac_arm64.pkg or NeuralNote_Installer_Mac_x64.pkg unless named by the second argument.

Package NeuralNote for Windows

On Windows, NeuralNote is not code signed for now. To create the installer, the following steps are required:

  • Build the app and VST3 in Release mode.
  • Install Inno Setup if you don't have it already.
  • Build the installer.
    • In command prompt, from the trunk of the repository, run the following command:
      "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" Installers\Windows\neuralnote.iss /DReleaseDir="cmake-build-release/NeuralNote_artefacts/Release"
      
      DReleaseDir should indicate the path to the release directory containing the Standalone and VST3 directories.

The installer will be located in Installers/Windows/Output.