{"id":29261229,"url":"https://github.com/streamlabs/slobs-buildscripts","last_synced_at":"2025-07-04T08:07:46.562Z","repository":{"id":290611521,"uuid":"975020446","full_name":"streamlabs/slobs-buildScripts","owner":"streamlabs","description":"Collection of scripts useful to propagate local changes from obs-studio / obs-studio-node into desktop","archived":false,"fork":false,"pushed_at":"2025-06-30T18:27:15.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-03T20:13:51.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-29T16:52:33.000Z","updated_at":"2025-06-30T18:27:18.000Z","dependencies_parsed_at":"2025-05-30T20:42:29.746Z","dependency_job_id":null,"html_url":"https://github.com/streamlabs/slobs-buildScripts","commit_stats":null,"previous_names":["streamlabs/obs-buildscripts","streamlabs/slobs-buildscripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/streamlabs/slobs-buildScripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fslobs-buildScripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fslobs-buildScripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fslobs-buildScripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fslobs-buildScripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlabs","download_url":"https://codeload.github.com/streamlabs/slobs-buildScripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fslobs-buildScripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263472278,"owners_count":23471814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-04T08:07:45.153Z","updated_at":"2025-07-04T08:07:46.546Z","avatar_url":"https://github.com/streamlabs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nThis project contains a collection of `bash` scripts that will build various streamlabs projects like streamlabs/obs-studio for Windows/Mac \u0026 install it in other projects.\nWindows users likely want to run these scripts from _Git Bash_.\n\n# How to use\n\nInstall this folder in the same directory right beside streamlabs-desktop, streamlabs-obs-studio, and streamlabs/obs-studio-node. This project contains `bash` scripts\n\n```\nroot folder (ex., streamlabs folder)\n--\u003eslobs-buildScripts (this repo)\n--\u003estreamlabs/desktop\n--\u003estreamlabs/obs-studio (aka SLOBS)\n--\u003estreamlabs/obs-studio-node (aka OSN)\n```\n\n![folder structure](folder_layout.png)\n\nDownload all of these repos from [github](https://github.com/streamlabs) first. Run `rebuild-slobs.sh` to build SLOBS. Next, run `build-osn-streambuild.sh` which will create a fake .app bundle for the automated tests. The advantage here it mimics what the\ngithub workflow does. _Note_: Xcode currently defaults to Debug for OSN \u0026 SLOBS but the build scripts are configured for RelWithDebugInfo. Lastly, run `rebuild-desktop.sh`.\n\nWhen you make changes to code, just hit _⌘+Shift+B_ (or CTRL+SHIFT+B on Windows) in Visual Studio Code to copy over the updated artifacts (behind the scenes this will run `update-everything-from-slobs.sh`). Sometimes drastic changes may require rebuild which means running `build-osn-streambuild.sh rebuild`. This will trigger a complete rebuild of obs-studio-node causing it to redownload all deps. Grab a coffee this might take a few mins. Note- the local libobs_src folder will be replaced by the downloaded artifact (set by LibOBSVersion). You'll likely want to run `install-slobs.sh` to overwrite this with your local changes.\n\n# Testing SLOBS changes in obs-studio-node\n\nRun `update-everything-from-SLOBS.sh` script (via the _⌘+Shift+B_ hotkey combination) to build `streamlabs/obs-studio` \u0026 `obs-studio-node`. The resulting artifacts will be copied into `streamlabs/desktop`. Now when you execute the `yarn run test` command in OSN directory, it will utilize the latest compiled artifact. In addition, _desktop_ will also be updated.\n\n# Environment variables\n\nIf you want to enable mac-virtual-cam on macOS 12.3+ you'll need to define the following environment variable `OBS_CODESIGN_TEAM` to enable automatic codesign in xcode.\n\n# Build Desktop.app\n\nIf you just want to build the Streamlabs desktop.app then just run the following scripts:\n`rebuild-desktop.sh` and `build-frontend-desktop-app.sh` scripts. Note: if the script fails to build the app you might need to run this command `yarn add electron-builder@23.6.0`. After the desktop app has been built into your dist folder, run the `run-local-arm64-desktop-app.sh` script. This script will prevent the updater from starting and attempt to download the preview.\n\n# Future plan\n\nEventually, some of these scripts will likely get copied over into their respective repos where appropriate. But they will take a slightly different form in those repos so they can be ran via `yarn`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlabs%2Fslobs-buildscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlabs%2Fslobs-buildscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlabs%2Fslobs-buildscripts/lists"}