EvolutionGalleryContributing.md
Since version 2.4.3, OnlySwitch supports contributing to Evolution Gallery. Everyone can share Evolutions on OnlySwitch.
Before contributing, please make sure these:
The unqualified contributions will be rejected.
The shared Evolution are stored in a JSON file, and the format is this:
{
"id": "06CE3D9D-354B-4315-9EB2-FDB81720307E",
"name": "Stage Manager",
"icon_name": "squares.leading.rectangle",
"type": "Switch",
"description": "Toggle Stage Manager(Ventura or higher)",
"author": "jacklandrin",
"on_command": {
"type": "shell",
"command": "defaults write com.apple.WindowManager GloballyEnabled -bool true"
},
"off_command": {
"type": "shell",
"command": "defaults write com.apple.WindowManager GloballyEnabled -bool false"
},
"check_command": {
"type": "shell",
"command": "defaults read com.apple.windowManager GloballyEnabled",
"true_condition": "1"
}
},
{
"id": "55B6E9FD-1FFE-4779-B0BE-D7BAF5EC5D2B",
"name": "Update Software",
"icon_name": "arrow.clockwise.circle",
"type": "Button",
"description": "Check and update software installed via AppStore",
"author": "jacklandrin",
"single_command": {
"type": "shell",
"command": "softwareupdate -i -a"
}
}
If type is "Switch":
New Evolution can be contributed by pull request. If the contributor isn't a Github user, OnlySwitch also accepts contributions from email.
EvolutionMarket.json following the rule.Contributors also can send email to [email protected]. Just you have to keep the json format above.