yarn install
then pass
yarn dev
Startup project.
Please add code only related to the main process of Electron in the src/main
directory. Code only related to the rendering process should be added in the src/renderer
directory. Add code that can be used by both processes in the src/universal
directory. Note: The rendering process does not have the Node.js
capability. All rendering processes need to use Node.js modules
related code, please add events under src/main/events/picgoCoreIPC.ts
for processing.
Please add all cross-process event names in src/universal/events/constants.ts
.
Please add all global type definitions in src/universal/types/
, if it is enum
, please add it in src/universal/types/enum.ts
.
Create a language yml
file under public/i18n/
, for example zh-Hans.yml
. Then refer to zh-CN.yml
or en.yml
to write language files. Also note that PicGo will display the name of the language to the user via LANG_DISPLAY_LABEL
in the language file.
Add a default language to src/universal/i18n/index.ts
. where label
is the value of LANG_DISPLAY_LABEL
in the language file, and value
is the name of the language file.
If you are updating an existing language file, be sure to run yarn gen-i18n
after the update to ensure that the correct language definition file can be generated.
console.log
and other debugging code.git add . && yarn cz
to invoke PicGo's Code Submission Specification Tool. Submit code through this tool.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。