ninxsoft / LowProfile

A Mac utility to help inspect Apple Configuration Profile payloads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running an export via Command Line causes the application to launch briefly

BigMacAdmin opened this issue · comments

🪲 Description

Running an export via Command Line causes the application to launch briefly. This gives that "Flashing window" experience, reminiscent of Windows apps that briefly launch the command line. It also results in Low-Profile being added to the recent items on the user's dock.

Interestingly enough, the item added to the dock is a separate dock item than the actual Low Profile app, meaning if you run the report via CLI and then launch the app manually, it shows in the recent items twice.

📋 Steps to Reproduce

  1. Open Terminal.app
  2. Run this command or similar: /Applications/Low\ Profile.app/Contents/MacOS/Low\ Profile --export ~/Downloads/report.lowprofile
  3. Observe the application launches and gets added to recent items

✅ Expected Behaviour

Expected behavior would be for Low-Profile to be completely silent when run via the CLI, with no interruption or indication to the user that the report has been run.

💻 Environment

  • Low Profile version Version 4.0.2 (4.0.2)
  • macOS Version (sw_vers): 14.4.1
  • Hardware (system_profiler SPHardwareDataType):
    • Model Identifier: MacBookPro18,1
    • Chip : Apple M1 Pro

📷 Screenshots

image

ℹ️ Additional context

n/a