an OBS plugin to display the status of an ongoing cd recording as a dock
|
4 年之前 | |
---|---|---|
CI | 3 年之前 | |
bundle | 3 年之前 | |
data | 5 年之前 | |
external | 3 年之前 | |
installer | 3 年之前 | |
src | 5 年之前 | |
.gitignore | 5 年之前 | |
CMakeLists.txt | 3 年之前 | |
LICENSE | 7 年之前 | |
README.md | 5 年之前 | |
azure-pipelines.yml | 5 年之前 |
This plugin is meant to make it easy to quickstart development of new OBS plugins. It includes:
Open CMakeLists.txt
and edit the following lines at the beginning:
# Change `obs-plugintemplate` to your plugin's name in a machine-readable format
# (e.g.: obs-myawesomeplugin) and set the value next to `VERSION` as your plugin's current version
project(obs-plugintemplate VERSION 1.0.0)
# Replace `Your Name Here` with the name (yours or your organization's) you want
# to see as the author of the plugin (in the plugin's metadata itself and in the installers)
set(PLUGIN_AUTHOR "Your Name Here")
# Replace `com.example.obs-plugin-template` with a unique Bundle ID for macOS releases
# (used both in the installer and when submitting the installer for notarization)
set(MACOS_BUNDLEID "com.example.obs-plugintemplate")
# Replace `me@contoso.com` with the maintainer email address you want to put in Linux packages
set(LINUX_MAINTAINER_EMAIL "me@contoso.com")
The CI scripts are made for Azure Pipelines. The sections below detail some of the common tasks possible with that CI configuration.
Each build produces installers and packages that you can use for testing and releases. These artifacts can be found a Build's page on Azure Pipelines.
Simply create and push a tag, and Azure Pipelines will run the pipeline in Release Mode. This mode uses the tag as its version number instead of the git ref in normal mode.
On macOS, Release Mode builds will be signed and sent to Apple for notarization if macosSignAndNotarize
is set to True
at the top of the azure-pipelines.yml
file. You'll need a paid Apple Developer Account for this.
In addition to enabling macosSignAndNotarize
, you'll need to setup a few more things for Signing and Notarizing to work:
Certificates.P12
file as a Secure File in Azure Pipelines and make sure it is named Certificates.p12
secrets.macOS.certificatesImportPassword
: Password of the .p12 file generated earliersecrets.macOS.codeSigningIdentity
: Name of the "Developer ID Application" signing certificate generated earliersecrets.macOS.installerSigningIdentity
: Name of "Developer ID Installer" signing certificate generated earliersecrets.macOS.notarization.username
: Your Apple Developer Account's usernamesecrets.macOS.notarization.password
: Your Apple Developer Account's passwordsecrets.macOS.notarization.providerShortName
: Identifier (Provider Short Name
, as Apple calls it) of the Developer Team to which the signing certificates belong.