github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/updater/osx/README.md (about) 1 ## Updater 2 3 This is an (OS X) app which shows dialog prompts for use via the command line (from the go-updater). 4 5 See keybase/prompt.go and keybase/platform_darwin for usage of this app. 6 7 ### Update Prompt 8 9 The update prompt takes as input a single argument JSON string: 10 11 ```json 12 { 13 "title": "Keybase Update: Version 1.2.3-400", 14 "message": "The version you are currently running is outdated.", 15 "description": "See keybase.io for more details on this update.", 16 "autoUpdate": false 17 } 18 ``` 19 20 The response is a single JSON string: 21 22 ```json 23 { 24 "action": "snooze", 25 "autoUpdate": false 26 } 27 ``` 28 29 30 ### Generic Prompt 31 32 There is also a generic prompt which takes as input a single argument JSON string: 33 34 ```json 35 { 36 "type": "generic", 37 "title": "Keybase Warning", 38 "message": "The Keybase app is currently in use. We maybe need to interrupt current activity to perform the update", 39 "buttons": ["Cancel", "Force Update"] 40 } 41 ``` 42 43 The response is a single JSON string (of the selected button): 44 45 ```json 46 { 47 "button": "Force Update" 48 } 49 ```