Minimum requirements:
- Node.js >= 20
- Yarn >= 1.22
- Use yarn to install dependencies
yarnthen pass
yarn devStartup project.
- Please add code only related to the main process of Electron in the
src/maindirectory. Code only related to the rendering process should be added in thesrc/rendererdirectory. Add code that needs to be exposed to the rendering process in thesrc/preloaddirectory. - Please add all global type definitions in
src/universal/types/, if it isenum, please add it insrc/universal/types/enum.ts. - Code related to the management function of the picture bed should be added in the
src/main/manageandsrc/renderer/managedirectory.
- Create a language
ymlfile underpublic/i18n/, for examplezh-Hans.yml. Then refer tozh-CN.ymloren.ymlto write language files. Also note that PicList will display the name of the language to the user viaLANG_DISPLAY_LABELin the language file. - Add a default language to
src/universal/i18n/index.ts. wherelabelis the value ofLANG_DISPLAY_LABELin the language file, andvalueis the name of the language file. - If you are updating an existing language file, be sure to run
yarn i18nafter the update to ensure that the correct language definition file can be generated.
- Please check that the code has no extra comments,
console.logand other debugging code. - Before submitting the code, please execute the command
git add . && yarn czto invoke Code Submission Specification Tool. Submit code through this tool.