Repository navigation
SupportCompanion 2.2.0.81009
·
144 commits
to main
since this release
Notes
This is a 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
- 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.
- Last reboot time is now monitored and updated every 5 minutes. Displaying in minutes, hours or days depending on the time since last reboot.
- Battery temperature will adapt to the configured measurement system in macOS and show temp in either Celsius or Fahrenheit.
- Storage API has been changed for a more accurate reading of actual storage used.
- "Is Admin" will now display "yes" or "no" localized instead of enabled or disabled.
- 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 the desktop information window "frosted". This allows for a frosted glass effect on the desktop information window. Example configuration:
<key>DesktopInfoBackgroundFrosted</key>
<true/>- A new option to show a custom view in the navigation bar based on a Markdown file. This allows for creating a custom view with custom information relevant to your organization. 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 show custom cards in the navigation bar. This allows for displaying large numbers of cards without cluttering the home view, by moving them to their own view. Example configuration:
<key>CustomCardsMenuLabel</key>
<string>Custom Cards</string>
<key>CustomCardsMenuIcon</key>
<string>doc.text</string>
<key>CustomCardPath</key>
<string>/path/to/custom/cards.json</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
- 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
- f3f8f0c - Set default values to empty
- 23d88b5 - Fix typo in pref for markdown
- 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
- 772e73f - Change last reboot to minutes, hours and days
- 327860d - Detect measurement system and use C or F dynamically
- e91dd44 - Refactor formattedRebootContent
- be40009 - Change MaxElevationTime pref to minutes
- f68b622 - Add additional CLI args
- 9773034 - Add frosted mode for desktop info
- 6645b2a - Add demote option
- 3c4ef68 - Add custom card view
- 951786e - Change card layout
- eab3708 - Fix no installed apps found message
- ec58efe - Change enabled to yes/no
- 99e1fe0 - Fix elevation reason append
- ff002c3 - Change storage API for more accurate status
- 8411b4e - Add padding