- directory structure
project
├── package.json // npm package configuration
├── bulid // resources and scripts for bulid packaging
├── icons // software icons (used for packaging)
├── extraResources // Additional Resource Directory
├── electron // main process service
├── config
├── config.default.js // default configuration, all loaded
├── config.local.js // dev
├── config.prod.js // prod
├── encrypt.js // encrypt config
├── controller
├── service
├── preload // loading at the start of the program, such as tray, automatic upgrade and other functions need to load code in advance
├── library
├── frontend // frontend Directory (demo is written in vue)
├── out // the executable file generated after Packaging out
├── latest.yml // automatic upgrade file
├── xxx.exe // window
├── xxx.exe.blockmap
├── xxx.dmg // mac
├── xxx.deb // linux
├── run
├── logs
├── main.js // entry file
├── public // resource directory
├── dist // front-end resources will be moved here and loaded in the production environment
├── electron // electron js encrypted files
├── html // templates
├── images
├── data // built-in database files
├── system.json // database used by the system.json framework
├── demo.json // demo database