Skip to content

web1992/call-the-roll

Repository files navigation

call-the-roll

screenshots

call-the-roll

Usage

# Clone this repository
git clone https://github.com/web1992/call-the-roll
# Go into the repository
cd call-the-roll
# Install dependencies
npm install
# Run the app
npm start

Debug

Electron 代码调试

you can debug use Debug Main Process or Debug Renderer Process

  • Debug Main Process is for main.js
  • Debug Renderer Process is for renderer.js and helper.js

debug 有两种模式

vscode/launch.json配置调试

  • Debug Main Process 调试 main.js中的代码
  • Debug Renderer Process 调试 renderer.js and helper.js中的代码

dom 调试

取消main.js中的代码注释,可打开chrome调试控制台,如下:

//mainWindow.webContents.openDevTools();

build

    npm run build

threejs

Resources for Learning Electron

License

CC0 1.0 (Public Domain)