{"id":27398924,"url":"https://github.com/streamlabs/crash-handler","last_synced_at":"2025-06-21T22:07:00.637Z","repository":{"id":33625093,"uuid":"140342878","full_name":"streamlabs/crash-handler","owner":"streamlabs","description":"Crash handler","archived":false,"fork":false,"pushed_at":"2025-02-06T17:29:49.000Z","size":560,"stargazers_count":3,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"streamlabs","last_synced_at":"2025-06-18T06:11:36.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","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":"LICENSE","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}},"created_at":"2018-07-09T21:14:37.000Z","updated_at":"2025-02-06T17:29:00.000Z","dependencies_parsed_at":"2023-01-15T01:42:50.694Z","dependency_job_id":"ad1a0ea9-37db-4c2b-be02-541d0646075e","html_url":"https://github.com/streamlabs/crash-handler","commit_stats":null,"previous_names":["streamlabs/crash-handler","stream-labs/crash-handler"],"tags_count":182,"template":false,"template_full_name":null,"purl":"pkg:github/streamlabs/crash-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fcrash-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fcrash-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fcrash-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fcrash-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlabs","download_url":"https://codeload.github.com/streamlabs/crash-handler/tar.gz/refs/heads/streamlabs","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlabs%2Fcrash-handler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261200408,"owners_count":23123953,"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-04-14T02:12:23.828Z","updated_at":"2025-06-21T22:06:55.581Z","avatar_url":"https://github.com/streamlabs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crash-handler\nCrash handler \n\n# To build \n## On Windows \n```\nyarn install\n\nset BIN_DEPENDENCIES=dependencies2019.0\nci\\install-bin-deps.cmd\n\nset AWS_SDK_VERSION=\"1.11.500\"\nci\\build-aws-sdk.cmd\n\nci\\localization_prepare_binaries.cmd\n\nset AWS_CRASH_UPLOAD_BUCKET_KEY=your_aws_bucket_key_for_memory_dumps\nset INSTALL_PACKAGE_PATH=\"../desktop/node_modules/crash-handler\"\n\ncmake  -B\"build\" -G\"Visual Studio 17 2022\" -A x64  -DDepsPath=\"%CD%\\build\\deps\\%BIN_DEPENDENCIES%\\win64\" -DBOOST_ROOT=\"%CD%\\build\\deps\\boost\"  -DCMAKE_INSTALL_PREFIX=\"%INSTALL_PACKAGE_PATH%\"\ncmake --build \"build\" --target install --config RelWithDebInfo\n```\n\n## On macOS\n```\nyarn install\n\n./ci/build-osx.sh\n```\n\nBy default, Apple Silicon Macs will build arm64 binaries. Apple Intel-based Macs will build x86_64 binaries. You can change the behavior using the CMAKE_OSX_ARCHITECTURES environment variable.\n* `export CMAKE_OSX_ARCHITECTURES=\"arm64\"` - builds arm64 binaries\n* `export CMAKE_OSX_ARCHITECTURES=\"x86_64\"` - builds x86_64 binaries\n* `export CMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\"` - builds universal binaries\n\nAlso, you can `export CMAKE_APPLE_SILICON_PROCESSOR=\"x86_64\"` to make an Apple Silicon Mac build x86_64 binaries.\n\n## Localization\nBoost.locale lib with a gettext format used for a localization(on windows). \nmo files included in exe by windows resources. \n### Commands \n\n`ci\\localization_prepare_binaries.cmd` - prepares mo files with current translation \n\n`ci\\generate_new_translations.cmd` - update po files with current strings from source code \n\n### Add new language \n\n* Add new lang code into `ci\\localization_get_tools.cmd` and run `ci\\generate_new_translations.cmd`\n* Translate lines inside `locale\\NEW_LANG\\LC_MESSAGES\\messages.po`\n* Add new mo file to `resources\\slobs-updater.rc`\n* Add it to `locales_resources` map inside `get_messages_callback()`\n* Prepare binaries `ci\\localization_prepare_binaries.cmd`\n* Make a new build \n* Do not forget to commit `locale\\NEW_LANG\\LC_MESSAGES\\messages.po`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlabs%2Fcrash-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlabs%2Fcrash-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlabs%2Fcrash-handler/lists"}