en un clic
upgrade-deps
// Follow the upstream plugin template and OBS version for this plugin.
// Follow the upstream plugin template and OBS version for this plugin.
| name | upgrade-deps |
| description | Follow the upstream plugin template and OBS version for this plugin. |
Use cmd or bash instead of powershell when run git or curl commands. Run in powershell may failed.
The official git repository of plugin template is https://github.com/obsproject/obs-plugintemplate.git. My repository merges its commits. You can pull its latest commits and merge them into master. Follow these instructions when resolving merge conflicts:
Commit the merge after resolving the conflicts.
https://github.com/obsproject/obs-studio.git, search for tags to find the latest release version.https://github.com/obsproject/obs-studio/releases/tag/32.1.0. Replace 32.1.0 with the latest version you found. Update dependency metadata under CMakePresets.json (vendor.obsproject.com/obs-studio.dependencies) with the new version and hash.zip format of the source code package.Extract the downloaded OBS source package and read CMakePresets.json in repo root.
Use vendor.obsproject.com/obs-studio.dependencies as source of truth.
Update this repository's buildspec.json entries (Qt, obs-deps, and related hashes).
This project is build with CMake. Use the windows-x64 preset when run in Windows.
If OBS version/deps in buildspec.json were updated but build still uses old OBS source:
cmake --preset windows-x64 --freshcmake --build --preset windows-x64 --config RelWithDebInfo.deps/ cache:
.deps/.dependency_obs-studio_x64.sha256.deps/obs-studio-<version>/.deps/<version>.zip.deps/ and rerun fresh configure.