blowfish/src/util/openUrl.js

8 lines
122 B
JavaScript

const { shell } = require('electron')
const openUrl = url => {
shell.openExternal(url)
}
module.exports = { openUrl }