mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 22:52:08 +08:00
* chore: update electron configuration and add debug script - Added sourcemap generation for development builds in electron.vite.config.ts. - Introduced a new debug script in package.json for easier debugging with remote inspection. * docs: add debug section to development documentation - Introduced a new section for debugging instructions, including the command to run the debug script and how to access the Chrome inspect tool.
794 B
794 B
🖥️ Develop
IDE Setup
Project Setup
Install
yarn
Development
Setup Node.js
Download and install Node.js v20.x.x
Setup Yarn
corepack enable
corepack prepare yarn@4.6.0 --activate
Install Dependencies
yarn install
Start
yarn dev
Debug
yarn debug
Then input chrome://inspect in browser
Test
yarn test
Build
# For windows
$ yarn build:win
# For macOS
$ yarn build:mac
# For Linux
$ yarn build:linux