This application serves as a Demo of Electron and Desktop capture.
npm install
npm run electron:serve
npm run electron:build
npm run electron:build -- --linux deb --arm64
Electron main process code is at src/background.js
. This process launches a renderer process in a window, which will take the code at src/main.js
.
It has been installed and configured using electron-builder for Vue.
This plugin bundles the current application with Vue and it is ready to launch electron in development.
The following steps have been taken:
- Vue-Cli must be installed.
- Use
vue add electron-builder
to wrap the project with electron. - Now you can run the
electron:serve
andelectron:build
scripts.