Skip to content

Commit

Permalink
Merge pull request #201 from kcrawford/json-readme-updates
Browse files Browse the repository at this point in the history
JSON-related README updates
  • Loading branch information
erikng committed Aug 12, 2021
2 parents f9e6c98 + f71a591 commit c5f127a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Expand Up @@ -119,6 +119,20 @@ While the `-json-url` argument is mainly designed for web urls, you can actually

** Note: ** Spaces must be converted to `%20`, just as a standard url. This is required both for web and local assets

### Setting the json-url in mobileconfig profile

Using PayloadType com.github.macadmins.Nudge in a mobileconfig, use the json-url
```
<key>PayloadContent</key>
<dict>
<key>json-url</key>
<string>https://example.org/nudge.json</string>
</dict>
<key>PayloadType</key>
<string>com.github.macadmins.Nudge</string>
```


## Scheduling Nudge to run
Every release of Nudge comes with an optional LaunchAgent package.

Expand Down Expand Up @@ -323,7 +337,7 @@ In this example, Nudge will do the following:
"11.2"
]
}
],
]
}
```

Expand Down

0 comments on commit c5f127a

Please sign in to comment.