Skip to content

Commit

Permalink
changed wording to include iterm2
Browse files Browse the repository at this point in the history
  • Loading branch information
CamHenlin committed Apr 1, 2015
1 parent bfb823b commit aa9e17a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -49,7 +49,7 @@ function assistiveAccessCheck() {
applescript.execFile(__dirname+'/assistive.AppleScript', [true], function(err, result) {
if (err) {
try {
outputBox.setItems(["This program requires OS X Assistive Access, which is currently disabled.", "Opening Assistive Access now... (You may be asked to enter your password.)", "note: to run locally, enable access to Terminal, to run over SSH, enable access to sshd_keygen_wrapper."]);
outputBox.setItems(["This program requires OS X Assistive Access, which is currently disabled.", "Opening Assistive Access now... (You may be asked to enter your password.)", "note: to run locally, enable access to Terminal or iTerm2, to run over SSH, enable access to sshd_keygen_wrapper."]);
screen.render();
applescript.execFile(__dirname+'/assistive.AppleScript', [false], function(err, result) {});
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion assistive.AppleScript
Expand Up @@ -12,7 +12,7 @@ on run argv
tell application "System Events" to if not UI elements enabled then
tell me
activate
display dialog "This program requires OS X Assistive Access, which is currently disabled." & return & return & "Opening Assistive Access now... (You may be asked to enter your password.)" & return & return & "note: to run locally, enable access to Terminal, to run over SSH, enable access to sshd_keygen_wrapper." buttons {"OK"} default button 1 with icon 1
display dialog "This program requires OS X Assistive Access, which is currently disabled." & return & return & "Opening Assistive Access now... (You may be asked to enter your password.)" & return & return & "note: to run locally, enable access to Terminal or iTerm2, to run over SSH, enable access to sshd_keygen_wrapper." buttons {"OK"} default button 1 with icon 1
end tell
tell application "System Preferences"
activate
Expand Down

0 comments on commit aa9e17a

Please sign in to comment.