ITzTravelInTime / TINU

TINU: The open tool to create bootable macOS installers.
GNU General Public License v2.0
492 stars 37 forks source link

Could not lunch the app into diagnostics mode #23

Open ehsan58 opened 1 year ago

ehsan58 commented 1 year ago

greeting when i open the app i get the following error: “DebugScriptSudo.command” can’t be opened because TINU is not allowed to open documents in Terminal. i am on macbook pro 2021 m1 pro Screenshot 2022-11-01 at 10 56 41

dclive commented 1 year ago

Same issue here. Any ideas?

MacOS 13.01.

ITzTravelInTime commented 1 year ago

With SIP disabled this doesn't happen on my test systems, but i guess this likely requires an app update, to properly request permitions from the system, i'd have to do some tests over the holidays and eventually update the app.

For now a workaround is to open this file ~/Library/Application\ Support/org.pietrocaruso.TINU/DiagnosticsMode/DebugScriptSudo.command (located on your main OS boot drive) manually with the terminal, this is a very simple terminal script that tinu uses to run as administrator using the privilages granteed by the terminal that are needed for a proper functioning of createinstallmedia (the apple prgram that TINU uses, which needs to modify the botable installer partition, hence the permit requirement) to successfully make installers, all of this isn't needed without SIP because in that case any program running with sufficient permitions can modify bootable disks.

Anyway, sorry for the delayed response, i am working on a lot of stuff right now, including mac drivers for some sound cards, a DOS game, and a secret App project, and i find very hard focusing to work on TINU now, but i will allocate some of my time to help you.

I hope i have been helpful to you, have a nice time.

dclive commented 1 year ago

For those not as familiar with terminal commands:

First, ensure you're not already running TINU. Then:

  1. Open a MacOS terminal using the terminal app. Use CMD-Spacebar to find it if you needed.
  2. 'cd ~/Library/Application\ Support/org.pietrocaruso.TINU/DiagnosticsMode/'
  3. 'sudo ./DebugScriptSudo.command'
  4. When prompted, key in your password
  5. TINU should then open and run
dclive commented 1 year ago

cd ~/Library/Application\ Support/org.pietrocaruso.TINU/DiagnosticsMode/

sudo ./DebugScriptSudo.command

Rewriting in more easily clickable format. So glad I wrote this. Finding it again a few months later; very useful. :)