Open regorian opened 1 year ago
Not sure if this is the case, but the only change I see is that could impact this was that SwiftDialog version 2.3.1 was released on 2023-08-21 . For us this last worked on swiftDialog version 2.2.1.4591
Script result: 2023-08-16 10:26:04 -
###
# Elevate (2.0.3)
# https://techitout.xyz
###
2023-08-16 10:26:04 - PRE-FLIGHT CHECK (Elevate): Initiating …
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): Finder & Dock are running; proceeding …
2023-08-16 10:26:05 - PRE-FLIGHT CHECK: Check for Logged-in System Accounts …
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): Current Logged-in User: USER
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): Current Logged-in User First Name: User
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): Current Logged-in User ID: 503
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): macOS 14 installed; continuing ...
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): swiftDialog version 2.2.1.4591 found; proceeding...
2023-08-16 10:26:05 - PRE-FLIGHT CHECK (Elevate): Complete
2023-08-16 10:26:05 - Elevate: Managed Configuration Profile exists, assuming settings are set in this configuraiton profiles...
2023-08-16 10:26:05 - Elevate: Updating /Library/Preferences/xyz.techitout.elevate.plist with extra variables...
Add: ":scriptVersion" Entry Already Exists
Add: ":scriptLog" Entry Already Exists
Add: ":webhookURL" Entry Already Exists
Creating script at "/var/tmp/elevate.sh"
Setting correct ownership and permissions on "/var/tmp/elevate.sh" script
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
<key>Label</key>
<string>OMITTED</string>
<key>ProgramArguments</key>
<array>
<string>/bin/zsh</string>
<string>-c</string>
<string>"/var/tmp/elevate.sh"</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Creating LaunchDaemon at /Library/LaunchDaemons/com.xometry.elevate.plist
Setting correct ownership and permissions on LaunchDaemon
Starting LaunchDaemon
Possibly fixed with swiftDialog version 2.3.2.4726
Hey @regorian, can you give 2.0.5
a go with the latest dialog (at this moment it is 2.3.1.4721
, it looks like it is working.
Hello - we have recently started seeing an issue where the Slack webhook notification does not contain the Reason for the request. Looking at the local jsonprompt file, it looks like it not being captured there either. The webhook message does correctly capture and display the Computer Hostname, Serial, User, and OS, but reason only contains the date. This is occuring on version 2.0.4 and 2.0.3 of the script. We last tested 2.0.3 on August 16th, and it worked then, so not sure what changed (if anything)
Screenshot and local log below