git clone https://github.com/hnhhzy/PEditor.git
cd PEditor
yarn
yarn build
yarn rebuild-native -- --force-rebuild=true
yarn download-extension # install extension (Optional)
yarn start
to use the China CDN mirror, checkout branch main-cn
:
git checkout main-cn
Start application:
yarn watch
yarn start
When there are new changes in the code, open the command panel in the editor shift+command+p, select and run the 'Reload Window' to reload the current editor window.
package the project, and the installation package in the out
directory:
pnpm run pack