@ -52,6 +52,16 @@ This will bundle all files and dependencies in a single file (`--onefile`). Any
This will create an `.exe` file in the `py/dist` directory along a `py/build` directory and a `webcam_manager.spec` file.
#### Distribution / Create an installer for windows
In order to create an installer that bundles OBS and Webcam Manager, [OBS Studio installer](https://cdn-fastly.obsproject.com/downloads/OBS-Studio-26.1.1-Full-Installer-x64.exe) is required.
Once downloaded move the installer in the `py/dist/inc` directory. This folder contains the external files bundled with your webcam application, such as the `logo.ico` and the `License.txt`.
We used [NSIS](https://nsis.sourceforge.io/Download) to create the installer; once you have NSIS installed, built the `py/dist/webcam_manager.exe` file as well as the `py/dist/inc/OBS-Studio-26.1.1-Full-Installer-x64.exe` file, compile the `py/dist/WM.nsi` with NSIS.
This should generate the `py/dist/WebcamManager_installer.exe`.