Skip to content

Commit 3ccc723

Browse files
committed
Add event handler for launching an app
1 parent 10f9bf5 commit 3ccc723

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/arduino/store.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ async function store(state, emitter) {
116116
updateMenu()
117117
})
118118

119+
emitter.on('launch-app', async (url, fallbackUrl) => {
120+
window.launchApp(url, fallbackUrl)
121+
})
122+
119123
// CONNECTION DIALOG
120124
emitter.on('open-connection-dialog', async () => {
121125
log('open-connection-dialog')

0 commit comments

Comments
 (0)