Skip to content

Commit

Permalink
#108 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Jul 11, 2019
1 parent 78cbcba commit 205b2b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/osax/sa.m
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,12 @@ static int scripting_addition_perform_validation(void)
notify("payload is outdated, please reinstall!", "scripting-addition");
return PAYLOAD_STATUS_OUTDATED;
} else if ((attrib & OSAX_ATTRIB_ALL) != OSAX_ATTRIB_ALL) {
notify("payload failed to locate required resources inside Dock.app!", "scripting-addition");
notify("payload could not resolve addresses in Dock.app!", "scripting-addition");
return PAYLOAD_STATUS_NO_ATTRIB;
} else {
debug("yabai: scripting-addition payload successfully located all requsted resources inside Dock.app..\n");
char message[MAXLEN];
snprintf(message, sizeof(message), "payload v%s", version);
notify(message, "scripting-addition");
return PAYLOAD_STATUS_SUCCESS;
}
}
Expand Down

0 comments on commit 205b2b6

Please sign in to comment.