Skip to content

Commit

Permalink
chore: macos open with handling from finder scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Jan 25, 2024
1 parent 28c9a1b commit c5ea265
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/phoenix/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ Phoenix.app = {
window.__TAURI__.event.listen("single-instance", ({payload})=> {
handlerFn(payload.args, payload.cwd);
});
window.__TAURI__.event.listen("scheme-request-received", (receivedEvent)=> {
// this is for mac-os open with processing from finder.
console.error("Macos not handled", receivedEvent);
alert(JSON.stringify(receivedEvent));
});
}
},
clipboardReadFiles: function () {
Expand Down

0 comments on commit c5ea265

Please sign in to comment.