Skip to content

SupportCompanion 2.2.0.80998

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Dec 13:30
· 196 commits to main since this release
4112684

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

  • 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.
  • In addition to only checking if Company Portal exists when dynamically setting the Mode to 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 Service page. 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 ShowLogoInTrayMenu to false in 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 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 RequirePrivilegedActionAuthentication to false. 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 battery

Example 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 Elevate button 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

  • 949535c - Merge pull request #64 from macadmins/SCSwift
  • 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
  • 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