Skip to content

Instantly share code, notes, and snippets.

@mirkobrombin
Last active September 19, 2022 05:24
Show Gist options
  • Save mirkobrombin/5ef607787e178bae65abf9ac9de15d42 to your computer and use it in GitHub Desktop.
Save mirkobrombin/5ef607787e178bae65abf9ac9de15d42 to your computer and use it in GitHub Desktop.
Vanilla-first-setup-example.json
{
"log_file": "/custom/log/file/path.txt",
"distro_name": "Vanilla OS",
"distro_logo": "vanilla-os-symbolic", // or full path
"steps": {
"welcome": {
"type": "default" // will use the default Vanilla OS Welcome screen
// "type": "custom",
// "options": {..}
},
"theme": {
"type": "default"
},
"random_internal_id": {
"icon": "icon-name-symbolic",
"title": "Random Title",
"description": "Random description or empty",
"items": {
"first_category": {
"title": "Random Category",
"subtitle": "Random subtitle",
"childs": {
"first_opt": {
"title": "First Option",
"subtitle": "blah blah blah"
}
}
}
},
"buttons":
"yes": {
"label": "Confirm",
"callback": {
"type": "shell",
"script": "echo 'Installing @!first_opt..'",
"apply": "now" // default to "final" to process on final screen
}
}
}
},
"random_internal_id2": {
"icon": "icon-name-symbolic",
"title": "Random Question",
"description": "Random description or empty",
"buttons": {
"yes": {
"label": "Yes, Enable it"
"callback": {
"type": "apt",
"packages": ["a", "b"]
}
},
"no": {
"label": "No"
}
}
},
"final": {
"type": "default",
// "type": "custom",
// "options": {..}
},
"done": {
"type": "default",
// "type": "custom",
// "options": {..}
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment