Splash screen manager¶
Use this job to set your custom splash screen image.
Use it¶
Sample job configuration in your scenario file:
- name: Set splash screen
uses: splash-screen-manager
with:
action: create_or_restore
strict: true
Options¶
action¶
Tell the job what to do with splash screens:
Possible_values:
create: add splash screen if not setcreate_or_restore: add splash screen if not set and replace eventual existing oneremove: remove splash screen
strict¶
Check image size against QGIS recomendations: 600x300.
Possible values:
true: fail if the image dimensions does not comply with QGIS recomendations.false: do not fail if the image dimensions does not comply with QGIS recomendations. A warning is logged.
How does it work¶
Specify the file to use in the profile.json¶
Add the image file to the profile folder and specify the relative filepath under the splash attribute:
{
[...]
"email": "qgis@oslandia.com",
"icon": "images/qgis_icon.ico",
"splash": "images/splash_qgis-fr_600x287.png",
[...]
}
Store the image file under the default path¶
If the path is not specified into the profile.json, the job looks for the default filepath images/splash.png. If the file exists, it will be used as splash screen image
Schema¶
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/qgis-deployment/qgis-deployment-toolbelt-cli/raw/main/docs/schemas/scenario/jobs/splash-screen-manager.json",
"description": "Set your custom splash screen image.",
"title": "Splash Screen Manager.",
"type": "object",
"properties": {
"action": {
"default": "create_or_restore",
"description": "Which action to perform with splash screen.",
"enum": [
"create",
"create_or_restore",
"remove"
],
"type": "string"
},
"strict": {
"default": false,
"description": "Check image size against QGIS recomendations: 600x300.",
"type": "boolean"
}
}
}