TINU icon indicating copy to clipboard operation
TINU copied to clipboard

Could not lunch the app into diagnostics mode

Open ehsan58 opened this issue 2 years ago • 4 comments

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

ehsan58 avatar Nov 01 '22 06:11 ehsan58

Same issue here. Any ideas?

MacOS 13.01.

dclive avatar Dec 03 '22 00:12 dclive

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.

ITzTravelInTime avatar Dec 06 '22 00:12 ITzTravelInTime

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 avatar Dec 26 '22 21:12 dclive

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. :)

dclive avatar Mar 06 '23 04:03 dclive