Skip to content

Commit 8936fb3

Browse files
committed
Bump version
1 parent f13c3fb commit 8936fb3

File tree

3 files changed

+44
-3
lines changed

3 files changed

+44
-3
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.2.0] - 2024-12-16
8+
### Changed
9+
- Device info is now gathered every 8h instead of every 24h.
10+
- A slight background has been added increasing visaibility of the text.
11+
- Main window is now slightly resizeable to allow for window to be resized to a smaller size.
12+
13+
### Fixed
14+
- Artifacts were being left behind on the desktop window when IP address was updated.
15+
16+
### Added
17+
- The configured logo will now be displayed in the tray menu as well. Can be hidden by setting `ShowLogoInTrayMenu` to `false` in the configuration.
18+
- 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:
19+
```xml
20+
<key>EnableElevation</key>
21+
<true/>
22+
<key>RequireResonForElevation</key>
23+
<true/>
24+
<key>ReasonMinLength</key>
25+
<integer>20</integer>
26+
<key>MaxElevationTime</key>
27+
<integer>60</integer>
28+
<key>ElevationWebhookUrl</key>
29+
<string>https://webhook.url</string>
30+
<key>ShowElevateTrayCard</key>
31+
<true/>
32+
<key>ElevationSeverity</key>
33+
<integer>6</integer>
34+
```
35+
36+
Example of JSON payload sent to webhook:
37+
```json
38+
{
39+
"severity" : 6,
40+
"date" : "2024-12-16T11:21:01Z",
41+
"host" : "Tobias's MacBook",
42+
"user" : "tobias",
43+
"serial" : "H123456789",
44+
"reason" : "Awesome dev stuff"
45+
}
46+
```
47+
748
## [2.1.0] - 2024-12-11
849
### Changed
950
- The tray menu has been changed to a custom menu that is an extension of the apps main UI. This allows for a more consistent look and feel between the tray menu and the main app. The tray menu now displays the same information as the main app, including device information, storage information and patching progress as well as actions. If you have custom actions configured using `Actions`, the first 6 actions will be displayed in the tray menu. If you have more than 6 actions, the rest can be run from the Self Service section in the main app.

SupportCompanion/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<key>LSMinimumSystemVersion</key>
2020
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>2.1.1</string>
22+
<string>2.2.0</string>
2323
<key>CFBundleVersion</key>
24-
<string>2.1.1</string>
24+
<string>2.2.0</string>
2525
<key>CFBundleURLTypes</key>
2626
<array>
2727
<dict>

SupportCompanion/Preferences.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class Preferences: ObservableObject {
120120

121121
// MARK: - Elevate privileges
122122

123-
@AppStorage("EnableElevation") var enableElevation: Bool = true
123+
@AppStorage("EnableElevation") var enableElevation: Bool = false
124124

125125
@AppStorage("ShowElevateTrayCard") var showElevateTrayCard: Bool = true
126126

0 commit comments

Comments
 (0)