Skip to content

Commit

Permalink
fixed package template issue and updated manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
twocanoes committed Sep 1, 2022
1 parent 8394749 commit f2540a6
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 22 deletions.
62 changes: 47 additions & 15 deletions Profile Manifest/com.twocanoes.xcreds.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<string>https://github.com/twocanoes/xcreds</string>
<key>pfm_description</key>
<string>xcreds OAuth Settings</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide</string>
<key>pfm_domain</key>
<string>com.twocanoes.xcreds</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds</string>
<key>pfm_platforms</key>
<array>
<string>macOS</string>
</array>
<key>pfm_format_version</key>
<integer>1</integer>
<key>pfm_last_modified</key>
<date>2022-08-12T17:21:11Z</date>
<date>2022-09-01T15:08:44Z</date>
<key>pfm_subkeys</key>
<array>
<dict>
Expand Down Expand Up @@ -132,12 +132,12 @@ A profile can consist of payloads with different version numbers. For example, c
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#clientid</string>
<key>pfm_name</key>
<string>clientID</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Client ID</string>
<key>pfm_type</key>
<string>string</string>
<key>pfm_require</key>
<string>always</string>
</dict>
<dict>
<key>pfm_description</key>
Expand All @@ -160,26 +160,26 @@ A profile can consist of payloads with different version numbers. For example, c
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#createadminuser</string>
<key>pfm_name</key>
<string>CreateAdminUser</string>
<key>pfm_type</key>
<string>boolean</string>
<key>pfm_title</key>
<string>Create User as Admin</string>
<key>pfm_type</key>
<string>boolean</string>
</dict>
<dict>
<key>pfm_default</key>
<string>https://login.microsoftonline.com/common/.well-known/openid-configuration</string>
<key>pfm_description</key>
<string>The discovery URL provided by your OIDC / Cloud provider.</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#discoveryurl</string>
<key>pfm_default</key>
<string>https://login.microsoftonline.com/common/.well-known/openid-configuration</string>
<key>pfm_name</key>
<string>discoveryURL</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_type</key>
<string>string</string>
<key>pfm_title</key>
<string>Discovery URL</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_default</key>
Expand Down Expand Up @@ -212,6 +212,8 @@ A profile can consist of payloads with different version numbers. For example, c
<dict>
<key>pfm_description</key>
<string>Specify a custom path for the recovery key</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#enablefderecoverykeypath</string>
<key>pfm_name</key>
<string>EnableFDERecoveryKeyPath</string>
<key>pfm_title</key>
Expand Down Expand Up @@ -240,6 +242,8 @@ A profile can consist of payloads with different version numbers. For example, c
<string>url to an image to show in the background while logging in </string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#loginwindowbackgroundimageurl</string>
<key>pfm_format</key>
<string>(https?://|file:///).*</string>
<key>pfm_name</key>
<string>loginWindowBackgroundImageURL</string>
<key>pfm_title</key>
Expand All @@ -252,6 +256,8 @@ A profile can consist of payloads with different version numbers. For example, c
<string>Add a menu item for changing the password that will open this URL when the menu item is selected.</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#passwordchangeurl</string>
<key>pfm_format</key>
<string>https?://.*</string>
<key>pfm_name</key>
<string>passwordChangeURL</string>
<key>pfm_title</key>
Expand Down Expand Up @@ -302,6 +308,8 @@ A profile can consist of payloads with different version numbers. For example, c
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#scopes</string>
<key>pfm_name</key>
<string>scopes</string>
<key>pfm_note</key>
<string>All scopes should be lowercase and separated by single spaces</string>
<key>pfm_title</key>
<string>Scopes</string>
<key>pfm_type</key>
Expand Down Expand Up @@ -336,10 +344,10 @@ A profile can consist of payloads with different version numbers. For example, c
<string>boolean</string>
</dict>
<dict>
<key>pfm_description</key>
<string>Show Configure WiFi button in XCreds Login.</string>
<key>pfm_default</key>
<true/>
<key>pfm_description</key>
<string>Show Configure WiFi button in XCreds Login.</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#shouldshowconfigurewifibutton</string>
<key>pfm_name</key>
Expand All @@ -353,7 +361,7 @@ A profile can consist of payloads with different version numbers. For example, c
<key>pfm_default</key>
<false/>
<key>pfm_description</key>
<string>If no settings are specified, preferences will not be shown on startupu</string>
<string>If no settings are specified, preferences will not be shown on startup</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#shouldshowpreferencesonstart</string>
<key>pfm_name</key>
Expand Down Expand Up @@ -459,6 +467,30 @@ A profile can consist of payloads with different version numbers. For example, c
<key>pfm_type</key>
<string>boolean</string>
</dict>
<dict>
<key>pfm_description</key>
<string>hostname of the page that has the password field.</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#idphostname</string>
<key>pfm_name</key>
<string>idpHostName</string>
<key>pfm_title</key>
<string>idpHostName</string>
<key>pfm_type</key>
<string>string</string>
</dict>
<dict>
<key>pfm_description</key>
<string>password element id of the html element that has the password.</string>
<key>pfm_documentation_url</key>
<string>https://github.com/twocanoes/xcreds/wiki/AdminGuide#passwordelementid</string>
<key>pfm_name</key>
<string>passwordElementID</string>
<key>pfm_title</key>
<string>passwordElementID</string>
<key>pfm_type</key>
<string>string</string>
</dict>
</array>
<key>pfm_targets</key>
<array>
Expand All @@ -470,6 +502,6 @@ A profile can consist of payloads with different version numbers. For example, c
<key>pfm_unique</key>
<false/>
<key>pfm_version</key>
<integer>1</integer>
<integer>2</integer>
</dict>
</plist>
2 changes: 1 addition & 1 deletion build_resources/Packages/XCreds/XCreds_template.pkgproj
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>1.2</string>
<string>{pkgversion}</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down
12 changes: 6 additions & 6 deletions xCreds.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3263;
CURRENT_PROJECT_VERSION = 3265;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = UXP6YEHSPW;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -918,7 +918,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3263;
CURRENT_PROJECT_VERSION = 3265;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = UXP6YEHSPW;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -977,7 +977,7 @@
CODE_SIGN_ENTITLEMENTS = "XCreds Login Overlay/XCreds_Login_Overlay.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3263;
CURRENT_PROJECT_VERSION = 3265;
DEVELOPMENT_TEAM = UXP6YEHSPW;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -1007,7 +1007,7 @@
CODE_SIGN_ENTITLEMENTS = "XCreds Login Overlay/XCreds_Login_Overlay.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3263;
CURRENT_PROJECT_VERSION = 3265;
DEVELOPMENT_TEAM = UXP6YEHSPW;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -1150,7 +1150,7 @@
CODE_SIGN_ENTITLEMENTS = XCreds/xCreds.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3263;
CURRENT_PROJECT_VERSION = 3265;
DEVELOPMENT_TEAM = UXP6YEHSPW;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -1179,7 +1179,7 @@
CODE_SIGN_ENTITLEMENTS = XCreds/xCreds.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3263;
CURRENT_PROJECT_VERSION = 3265;
DEVELOPMENT_TEAM = UXP6YEHSPW;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down
Binary file not shown.

0 comments on commit f2540a6

Please sign in to comment.