Skip to content

Commit 3ce9217

Browse files
committed
Add event handler for launching an app
1 parent 3799814 commit 3ce9217

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/arduino/store.js

+4
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ async function store(state, emitter) {
111111
updateMenu()
112112
})
113113

114+
emitter.on('launch-app', async (url, fallbackUrl) => {
115+
window.launchApp(url, fallbackUrl)
116+
})
117+
114118
// CONNECTION DIALOG
115119
emitter.on('open-connection-dialog', async () => {
116120
log('open-connection-dialog')

0 commit comments

Comments
 (0)