use process.execPath instead of app.getPath('exec')
use process.execPath instead of app.getPath('exec')

They’re equivalent

feross/webtorrent-app,yciabaud/webtorrent-desktop,feross/webtorrent-desktop,michaelgeorgeattard/webtorrent-desktop,webtorrent/webtorrent-desktop,yciabaud/webtorrent-desktop,webtorrent/webtorrent-desktop,feross/webtorrent-desktop,feross/webtorrent-app,yciabaud/webtorrent-desktop,feross/webtorrent-app,webtorrent/webtorrent-desktop,michaelgeorgeattard/webtorrent-desktop,feross/webtorrent-desktop,michaelgeorgeattard/webtorrent-desktop