Compare commits


1 Commits
main ... main

Author SHA1 Message Date
sitraka- cbea63cc6f updated README
2 years ago

@ -51,6 +51,16 @@ pyinstaller --onefile --windowed --add-data "assets;assets"
This will bundle all files and dependencies in a single file (`--onefile`). Any assets and external files such as images are included using `--add-data` flag followed with the directory or file name (`"assets;assets"`) to be included within the build.
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]( 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]( 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`.
### MacOS