Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MCXRedirector and Mighty Mouse payloads #102

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Icons/ManifestsApple/com.apple.MCXAirPort.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
151 changes: 151 additions & 0 deletions Manifests/ManifestsApple/com.apple.MCXAirPort.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>pfm_app_url</key>
<string>https://apple.com/macos</string>
<key>pfm_documentation_url</key>
<string>https://developer.apple.com</string>
<key>pfm_targets</key>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like in your MCXRedirector you reordered prefs to be alphabetical, which is good. Can we do the same here, w/ a plutil -convert xml1. Should automatically reorganize.

<array>
<string>system</string>
<string>user</string>
</array>
<key>pfm_platforms</key>
<array>
<string>macOS</string>
</array>
<key>pfm_description</key>
<string>AirPort settings</string>
<key>pfm_domain</key>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting seems slight off here

<string>com.apple.MCXAirPort</string>
<key>pfm_format_version</key>
<integer>1</integer>
<key>pfm_last_modified</key>
<date>2018-07-18T08:58:48Z</date>
<key>pfm_title</key>
<string>AirPort</string>
<key>pfm_unique</key>
<false/>
<key>pfm_version</key>
<integer>1</integer>
<key>pfm_subkeys</key>
<array>
<dict>
<key>pfm_default</key>
<string>Configures AirPort configuration preferences</string>
<key>pfm_description</key>
<string>Description of the payload.</string>
<key>pfm_description_reference</key>
<string>Optional. A human-readable description of this payload. This description is shown on the Detail screen.</string>
<key>pfm_name</key>
<string>PayloadDescription</string>
<key>pfm_title</key>
<string>Payload Description</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_default</key>
<string>AirPort</string>
<key>pfm_description</key>
<string>Name of the payload.</string>
<key>pfm_description_reference</key>
<string>A human-readable name for the profile payload. This name is displayed on the Detail screen. It does not have to be unique.</string>
<key>pfm_name</key>
<string>PayloadDisplayName</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Payload Display Name</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_default</key>
<string>com.apple.MCXAirPort</string>
<key>pfm_description</key>
<string>A unique identifier for the payload, dot-delimited. Usually root PayloadIdentifier+subidentifier</string>
<key>pfm_description_reference</key>
<string>A reverse-DNS-style identifier for the specific payload. It is usually the same identifier as the root-level PayloadIdentifier value with an additional component appended.</string>
<key>pfm_name</key>
<string>PayloadIdentifier</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Payload Identifier</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_default</key>
<string>com.apple.MCXAirPort</string>
<key>pfm_description</key>
<string>The type of the payload, a reverse dns string.</string>
<key>pfm_description_reference</key>
<string>The payload type.</string>
<key>pfm_name</key>
<string>PayloadType</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Payload Type</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_description</key>
<string>Unique identifier for the payload (format 01234567-89AB-CDEF-0123-456789ABCDEF)</string>
<key>pfm_description_reference</key>
<string>A globally unique identifier for the payload. The actual content is unimportant, but it must be globally unique. In macOS, you can use uuidgen to generate reasonable UUIDs.</string>
<key>pfm_format</key>
<string>^[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}$</string>
<key>pfm_name</key>
<string>PayloadUUID</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Payload UUID</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_default</key>
<integer>1</integer>
<key>pfm_description</key>
<string>The version of the whole configuration profile.</string>
<key>pfm_description_reference</key>
<string>The version number of the individual payload.
A profile can consist of payloads with different version numbers. For example, changes to the VPN software in iOS might introduce a new payload version to support additional features, but Mail payload versions would not necessarily change in the same release.</string>
<key>pfm_name</key>
<string>PayloadVersion</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Payload Version</string>
<key>pfm_type</key>
<string>integer</string>
</dict>
<dict>
<key>pfm_description</key>
<string>This value describes the issuing organization of the profile, as displayed to the user</string>
<key>pfm_name</key>
<string>PayloadOrganization</string>
<key>pfm_title</key>
<string>Payload Organization</string>
<key>pfm_type</key>
<string>string</string>
</dict>

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space

<dict>
<key>pfm_name</key>
<string>DisableAirPort</string>
<key>pfm_type</key>
<string>boolean</string>
<key>pfm_title</key>
<string>Disable AirPort</string>
</dict>

</array>
</dict>
</plist>