Code Monkey home page Code Monkey logo

Comments (3)

rat-moonshine avatar rat-moonshine commented on June 16, 2024

When I tried a fresh test, I found that I got a prompt as expected, but I'm concerned that there is some issue preventing this alert from showing up.

A few details on new updates when the prompt triggered for you, previously we were using 'usr/bin/osascript' as the executable to NativeProcess and ran a direct path-command to it. Later, the executable changed to '/bin/bash' and running a full command like '/usr/bin/osascript $scriptPath ""' - this is the same way we mostly running in Native and I believe you noticed the said automation prompt there. This seems like the way of executing command with NativeProcess which reflects to different results.

from moonshine-sdk-installer.

rat-moonshine avatar rat-moonshine commented on June 16, 2024

Using the recent change (in Moonshine SDK Installer) when I ran, I prompt with the automation prompt.

When accepted, I able to return focus to Moonshine.

Then I tried to reset the automation against Moonshine SDK Installer, but the said command didn't work for me (as expected) in Terminal (I didn't want to reset other applications):

$ tccutil reset All net.prominic.MoonshineSDKInstaller
tccutil: No such bundle identifier

Next I tried to reset all existing AppleEvents.

After resetting all AppleEvents, Moonshine SDK Installer again prompted for automation. So this procedure seems to work after last change.

However, when I manually unselect the checkbox by going into Security & Privacy > Automation, I see the automation prompt never triggered for me; Even if restarting of Moonshine SDK Installer.

from moonshine-sdk-installer.

JoelProminic avatar JoelProminic commented on June 16, 2024

Yeah, I got the same "no such bundle identifier" error - it may be a limitation on tccutil.

Manually unselecting the checkbox in Security & Privacy > Automation indicates that Moonshine SDK Installer should be denied access to this feature. The user won't be prompted again unless something resets that decision. So, if a user ends up in this state, they will have to fix it manually in Security & Privacy > Automation.

from moonshine-sdk-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.