Repository navigation
SupportCompanion 2.2.0.80989
Pre-release
Pre-release
·
196 commits
to main
since this release
Notes
This is a pre-release version of Support Companion created by GitHub Actions.
SupportCompanion.app has been signed and notarized. The package has been signed, notarized and stapled.
Changelog
Changed
- Device info is now gathered every 8h instead of every 24h.
- A slight background has been added increasing visaibility of the text.
- Main window is now slightly resizeable to allow for window to be resized to a smaller size.
- In addition to only checking if Company Portal exists when dynamically setting the
Modeto use, the server url will now also be checked. If the server url contains "i.manage.microsoft.com", the MDM will be set to Intune. This is because Company Portal can validly exist on a device without the device being managed by Intune. - Button labels on actions can now be set to a custom value. This allows for admins to set custom labels for actions that are displayed in the
Self Servicepage. Example configuration:
<dict>
<key>Command</key>
<string>open https://github.com/macadmins/supportcompanion</string>
<key>Description</key>
<string/>
<key>Icon</key>
<string>heart.fill</string>
<key>Name</key>
<string>Open Intranet</string>
<key>ButtonLabel</key>
<string>Open</string>
</dict>Fixed
- Artifacts were being left behind on the desktop window when IP address was updated.
Added
- The configured logo will now be displayed in the tray menu as well. Can be hidden by setting
ShowLogoInTrayMenutofalsein the configuration. - A new option to show a custom view in the navigation bat based on a Markdown file. This allows for creating a custom view with custom information relevant to your organization. The view will be displayed in the navigation bar. Example configuration:
<key>MarkdownFilePath</key>
<string>/path/to/custom/view.md</string>
<key>MarkdownMenuLabel</key>
<string>Custom View</string>
<key>MarkdownMenuIcon</key>
<string>doc.text</string>- A new option to trigger actions using the CLI. This allows for triggering actions using the CLI instead of the UI. This can be useful for automating actions or triggering actions from a script. By default, actions configured as privileged will require authentication. This can be disabled by setting
RequirePrivilegedActionAuthenticationtofalse. Example usage:
/Applications/SupportCompanion.app/Contents/Resources/SupportCompanionCLI action "Restart clipboard"- Additional arguments to the CLI to allow for getting additional information that is displayed in the app. Example usage:
/Applications/SupportCompanion.app/Contents/Resources/SupportCompanionCLI batteryExample output:
🔋 Battery Information
-----------------------
Health: 93% 🔋
Cycle Count: 37
Temperature: 36.7°C 🌡️
Charging Status: Not Charging
Time Remaining: N/A
- A new feature that allows for user elevation of standard users to admin users. This feature is useful for instances where a user needs to perform an action that requires admin rights. The user can request elevation by clicking the
Elevatebutton in the tray menu or Identity menu. The admin can configure wether a reason is required, how long the reason must be and if the reason should be sent via a webhook to a specified URL or saved to disk. Example configuration:
<key>EnableElevation</key>
<true/>
<key>RequireResonForElevation</key>
<true/>
<key>ReasonMinLength</key>
<integer>20</integer>
<key>MaxElevationTime</key>
<integer>60</integer>
<key>ElevationWebhookUrl</key>
<string>https://webhook.url</string>
<key>ShowElevateTrayCard</key>
<true/>
<key>ElevationSeverity</key>
<integer>6</integer>Example of JSON payload sent to webhook:
{
"severity" : 6,
"date" : "2024-12-16T11:21:01Z",
"host" : "Tobias's MacBook",
"user" : "tobias",
"serial" : "H123456789",
"reason" : "Awesome dev stuff"
}Changes
- 4112684 - Update README.md
- 66f38d2 - Move brandlogo logic to ultility
- e50b4f2 - Show logo in tray menu
- b17c11e - Overall UI improvements
- 3517744 - Allow slight resize of window
- 80e63bf - Fix artifacts bug
- b3e3ef1 - Add notification badge to dock
- 5bf8d7c - Fix reboot timer bug
- 7a9b7a3 - Handle elevation on launch
- 356d160 - Add slight background for increased visablility
- d3d94a2 - Add elevation
- fb5ed11 - Format time
- 65457b9 - Add elevation
- 0aa876c - Make button and command optional
- 313fe5e - Change to every 8h instead on 24h on timer
- 6c4ceda - Add custom action
- 4be8234 - Change print to logger
- 2e45700 - Add elevation
- f13c3fb - Localization updates
- 89eca0e - Make reason window borderless
- 9aec350 - Add MDM URL detection
- ba7d984 - Add custom MD view option
- 1e15d23 - Update changelog
- f3f8f0c - Set default values to empty
- 23d88b5 - Fix typo in pref for markdown
- c4634b9 - Update changelog
- b13267f - Revert identity bool
- b479e59 - Add MD view url handling
- d030fd6 - Add styling to MD
- 248f0e8 - Make action button label configurable
- 4607a82 - Expand CLI usage