Full Code of Molunerfinn/PicGo for AI

dev 43a21de38097 cached
219 files
690.1 KB
204.2k tokens
502 symbols
1 requests
Download .txt
Showing preview only (745K chars total). Download the full file or copy to clipboard to get everything.
Repository: Molunerfinn/PicGo
Branch: dev
Commit: 43a21de38097
Files: 219
Total size: 690.1 KB

Directory structure:
gitextract_p8hvu2ck/

├── .github/
│   ├── FUNDING.yml
│   ├── ISSUE_TEMPLATE/
│   │   ├── config.yml
│   │   └── feature_request.yml
│   └── workflows/
│       ├── issue-duplicate-detection.yml
│       └── main.yml
├── .gitignore
├── .husky/
│   ├── commit-msg
│   ├── pre-commit
│   └── pre-push
├── .node-version
├── .npmrc
├── .travis.deprecated.yml
├── .vscode/
│   ├── launch.json
│   ├── settings.json
│   └── tasks.json
├── AGENTS.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── CONTRIBUTING_EN.md
├── FAQ.md
├── LICENSE
├── README.md
├── README_zh-CN.md
├── babel.config.js
├── build/
│   ├── entitlements.mac.plist
│   ├── icons/
│   │   └── icon.icns
│   └── installer.nsh
├── changelog/
│   ├── 2.4.0.md
│   ├── 2.4.1.md
│   ├── 2.4.2.md
│   ├── 2.4.3.md
│   ├── 2.5.1.md
│   ├── 2.5.2.md
│   ├── 2.5.3.md
│   └── gen_changelog.md
├── electron-builder.config.ts
├── electron.vite.config.ts
├── eslint.config.js
├── package.json
├── pnpm-workspace.yaml
├── postcss.config.js
├── public/
│   ├── Upload pictures with PicGo.workflow/
│   │   └── Contents/
│   │       ├── Info.plist
│   │       ├── Resources/
│   │       │   └── background.color
│   │       └── document.wflow
│   ├── i18n/
│   │   ├── en.yml
│   │   ├── zh-CN.yml
│   │   └── zh-TW.yml
│   ├── index.html
│   ├── linux.sh
│   ├── mac.applescript
│   ├── windows.ps1
│   ├── windows10.ps1
│   └── wsl.sh
├── scripts/
│   ├── config.js
│   ├── cos-link.js
│   ├── gen-i18n-types.js
│   ├── merge-artifacts.js
│   ├── notarize.js
│   ├── update-win-yaml.js
│   └── upload-dist.js
├── src/
│   ├── __tests__/
│   │   ├── main/
│   │   │   ├── cloud-config-sync.spec.ts
│   │   │   ├── getLatestVersion.spec.ts
│   │   │   └── server.spec.ts
│   │   ├── renderer/
│   │   │   ├── store/
│   │   │   │   └── appConfig.spec.ts
│   │   │   └── utils/
│   │   │       └── dataSender.spec.ts
│   │   └── universal/
│   │       └── utils/
│   │           └── common.spec.ts
│   ├── background.ts
│   ├── main/
│   │   ├── apis/
│   │   │   ├── README.md
│   │   │   ├── app/
│   │   │   │   ├── remoteNotice/
│   │   │   │   │   └── index.ts
│   │   │   │   ├── shortKey/
│   │   │   │   │   ├── builtin.ts
│   │   │   │   │   ├── shortKeyHandler.ts
│   │   │   │   │   └── shortKeyService.ts
│   │   │   │   ├── system/
│   │   │   │   │   └── index.ts
│   │   │   │   ├── uploader/
│   │   │   │   │   ├── apis.ts
│   │   │   │   │   └── index.ts
│   │   │   │   └── window/
│   │   │   │       ├── constants.ts
│   │   │   │       ├── windowList.ts
│   │   │   │       └── windowManager.ts
│   │   │   ├── core/
│   │   │   │   ├── bus/
│   │   │   │   │   ├── apis.ts
│   │   │   │   │   ├── constants.ts
│   │   │   │   │   └── index.ts
│   │   │   │   ├── datastore/
│   │   │   │   │   ├── dbChecker.ts
│   │   │   │   │   └── index.ts
│   │   │   │   ├── picgo/
│   │   │   │   │   ├── index.ts
│   │   │   │   │   └── logger.ts
│   │   │   │   └── utils/
│   │   │   │       └── localLogger.ts
│   │   │   └── gui/
│   │   │       └── index.ts
│   │   ├── events/
│   │   │   ├── busEventList.ts
│   │   │   ├── ipcList.ts
│   │   │   ├── picgoCoreIPC.ts
│   │   │   ├── remotes/
│   │   │   │   ├── menu.ts
│   │   │   │   └── picBedListMenu.ts
│   │   │   └── rpc/
│   │   │       ├── index.ts
│   │   │       ├── router.ts
│   │   │       ├── routes/
│   │   │       │   ├── cloud.ts
│   │   │       │   ├── config.ts
│   │   │       │   ├── galleryToolbox/
│   │   │       │   │   ├── builtIn/
│   │   │       │   │   │   ├── changeURL.ts
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   ├── index.ts
│   │   │       │   │   └── menuListManager.ts
│   │   │       │   ├── system.ts
│   │   │       │   ├── toolbox/
│   │   │       │   │   ├── checkClipboardUpload.ts
│   │   │       │   │   ├── checkFile.ts
│   │   │       │   │   ├── checkProxy.ts
│   │   │       │   │   ├── index.ts
│   │   │       │   │   └── utils.ts
│   │   │       │   └── version.ts
│   │   │       └── utils.ts
│   │   ├── i18n/
│   │   │   └── index.ts
│   │   ├── lifeCycle/
│   │   │   ├── errorHandler.ts
│   │   │   ├── fixPath.ts
│   │   │   └── index.ts
│   │   ├── migrate/
│   │   │   └── index.ts
│   │   ├── server/
│   │   │   ├── handler.ts
│   │   │   ├── index.ts
│   │   │   └── utils.ts
│   │   └── utils/
│   │       ├── appConfigNotifier.ts
│   │       ├── beforeOpen.ts
│   │       ├── cleanupFormUploaderFiles.ts
│   │       ├── common.ts
│   │       ├── constants.ts
│   │       ├── dataReport.ts
│   │       ├── deviceId.ts
│   │       ├── env.ts
│   │       ├── getLatestVersion.ts
│   │       ├── getMacOSVersion.ts
│   │       ├── getPicBeds.ts
│   │       ├── handleArgv.ts
│   │       ├── handleI18n.ts
│   │       ├── handleUploaderConfig.ts
│   │       ├── pasteTemplate.ts
│   │       ├── privacyManager.ts
│   │       └── updateChecker.ts
│   ├── preload/
│   │   └── index.ts
│   ├── renderer/
│   │   ├── App.vue
│   │   ├── assets/
│   │   │   ├── .gitkeep
│   │   │   ├── css/
│   │   │   │   └── tailwind.css
│   │   │   └── fonts/
│   │   │       └── iconfont.css
│   │   ├── components/
│   │   │   ├── ConfigForm.vue
│   │   │   ├── ToolboxHandler.vue
│   │   │   ├── ToolboxStatusIcon.vue
│   │   │   ├── dialog/
│   │   │   │   ├── ConfigFormDialog.vue
│   │   │   │   ├── ConfirmDialog.vue
│   │   │   │   └── InputBoxDialog.vue
│   │   │   ├── form/
│   │   │   │   └── BaseConfigForm.vue
│   │   │   ├── picgoCloud/
│   │   │   │   └── ConfigSyncConflictDialog.vue
│   │   │   └── settings/
│   │   │       ├── ButtonFormItem.vue
│   │   │       ├── SelectFormItem.vue
│   │   │       └── SwitchFormItem.vue
│   │   ├── hooks/
│   │   │   ├── useATagClick.ts
│   │   │   ├── useConfigForm.ts
│   │   │   ├── useIPC.ts
│   │   │   ├── useOS.ts
│   │   │   ├── useStore.ts
│   │   │   ├── useVModel.ts
│   │   │   └── useVModelValues.ts
│   │   ├── i18n/
│   │   │   └── index.ts
│   │   ├── index.html
│   │   ├── layouts/
│   │   │   └── Main.vue
│   │   ├── main.ts
│   │   ├── pages/
│   │   │   ├── Gallery.vue
│   │   │   ├── MiniPage.vue
│   │   │   ├── PicGoCloud.vue
│   │   │   ├── PicGoSetting.vue
│   │   │   ├── Plugin.vue
│   │   │   ├── RenamePage.vue
│   │   │   ├── ShortKey.vue
│   │   │   ├── Toolbox.vue
│   │   │   ├── TrayPage.vue
│   │   │   ├── Upload.vue
│   │   │   ├── UploaderConfigPage.vue
│   │   │   ├── UrlRewrite.vue
│   │   │   ├── components/
│   │   │   │   ├── gallery/
│   │   │   │   │   └── GalleryToolbar.vue
│   │   │   │   └── settings/
│   │   │   │       ├── buttonArea/
│   │   │   │       │   ├── ButtonAreaSettings.vue
│   │   │   │       │   ├── CheckUpdateDialog.vue
│   │   │   │       │   ├── CustomLinkDialog.vue
│   │   │   │       │   ├── LogSettingDialog.vue
│   │   │   │       │   ├── ProxySettingDialog.vue
│   │   │   │       │   └── ServerSettingsDialog.vue
│   │   │   │       ├── customArea/
│   │   │   │       │   ├── ChoosePicBed.vue
│   │   │   │       │   └── CustomAreaSettings.vue
│   │   │   │       ├── selectArea/
│   │   │   │       │   └── SelectAreaSettings.vue
│   │   │   │       └── switchArea/
│   │   │   │           └── SwitchAreaSettings.vue
│   │   │   └── picbeds/
│   │   │       └── index.vue
│   │   ├── router/
│   │   │   ├── config.ts
│   │   │   └── index.ts
│   │   ├── store/
│   │   │   └── index.ts
│   │   └── utils/
│   │       ├── LS.ts
│   │       ├── analytics.ts
│   │       ├── bus.ts
│   │       ├── common.ts
│   │       ├── dataSender.ts
│   │       ├── db.ts
│   │       ├── key-binding.ts
│   │       ├── mainMixin.ts
│   │       ├── mixin.ts
│   │       ├── notification.ts
│   │       ├── static.ts
│   │       └── uploader.ts
│   └── universal/
│       ├── events/
│       │   └── constants.ts
│       ├── i18n/
│       │   └── index.ts
│       ├── types/
│       │   ├── cloud.ts
│       │   ├── cloudConfigSync.ts
│       │   ├── electron.d.ts
│       │   ├── enum.ts
│       │   ├── extra-vue.d.ts
│       │   ├── global.d.ts
│       │   ├── i18n.d.ts
│       │   ├── rpc.d.ts
│       │   ├── shims-module.d.ts
│       │   ├── shims-tsx.d.ts
│       │   ├── types.d.ts
│       │   └── view.d.ts
│       └── utils/
│           ├── common.ts
│           ├── static.ts
│           └── staticPath.ts
├── tailwind.config.js
├── tsconfig.json
└── vitest.config.ts

================================================
FILE CONTENTS
================================================

================================================
FILE: .github/FUNDING.yml
================================================
github: ["Molunerfinn"]


================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false

================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.yml
================================================
name: "✨ Feature Request"
description: 功能请求 / Feature request
title: "[Feature]: "
labels: ["feature request"]
assignees:
  - molunerfinn
body:
  - type: markdown
    attributes:
      value: |+
        ## PicGo Issue 模板

        请依照该模板来提交,否则将会被关闭。
        **提问之前请注意你看过 FAQ、文档以及那些被关闭的 issues。否则同样的提问也会被关闭!**

        Please submit according to this template, otherwise it will be closed.
        **Before asking a question, please note that you have read the FAQ, Doc, and those closed issues. Otherwise the same question will also be closed! **

  - type: checkboxes
    id: read
    attributes:
      label: 前置阅读 | Pre-reading
      description: 我已经自行查找、阅读以下内容(阅读了请打勾) | I have searched and read the following on my own (Please tick after reading)
      options:
        - label: "[文档/Doc](https://docs.picgo.app/gui/)"
          required: true
        - label: "[Issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)"
          required: true
        - label: "[FAQ](https://github.com/Molunerfinn/PicGo/blob/dev/FAQ.md)"
          required: true
  - type: input
    id: version
    attributes:
      label: PicGo的版本 | PicGo Version
      placeholder: 例如 v2.3.0-beta.1
    validations:
      required: true
  - type: dropdown
    id: platform
    attributes:
      label: 系统信息 | System Information
      options:
        - Windows
        - Mac
        - Mac(arm64)
        - Linux
        - All
    validations:
      required: true
  - type: textarea
    id: reproduce
    attributes:
      label: 功能请求 | Feature request
      description: 详细描述你所预想的功能或者是现有功能的改进 | Describe in detail the features you envision or improvements to existing features
    validations:
      required: true
  - type: markdown
    attributes:
      value: |
        最后,喜欢 PicGo 的话不妨给它点个 star~
        如果可以的话,请我喝杯咖啡?首页有赞助二维码,谢谢你的支持! 
        Finally, if you like PicGo, give it a star~
        Buy me a cup of coffee if you can? There is a sponsorship QR code on the homepage, thank you for your support!


================================================
FILE: .github/workflows/issue-duplicate-detection.yml
================================================
name: Issue Duplicate Detection

on:
  issues:
    types:
      - opened
      - edited
      - reopened

permissions:
  contents: read
  issues: write

jobs:
  detect-duplicate-issues:
    runs-on: ubuntu-latest
    steps:
      - name: Run Warp Agent duplicate detector
        uses: warpdotdev/warp-agent-action@v1
        id: duplicate_detector
        env:
          GH_TOKEN: ${{ github.token }}
        with:
          warp_api_key: ${{ secrets.WARP_API_KEY }}
          profile: ${{ vars.WARP_AGENT_PROFILE || '' }}
          prompt: |
            You are triaging duplicate GitHub issues for this repository.

            Repository: ${{ github.repository }}
            Target issue number: #${{ github.event.issue.number }}
            Target issue URL: ${{ github.event.issue.html_url }}
            Target issue title: ${{ github.event.issue.title }}
            Target issue body:
            ${{ github.event.issue.body }}

            Use the GitHub CLI with GH_TOKEN for all operations.

            Workflow requirements:
            1. Gather issue context from title/body/error messages/symptoms/components.
               - Run:
                 gh issue view ${{ github.event.issue.number }} --repo ${{ github.repository }} --json number,title,body,url,state,labels
            2. Search with multiple strategies:
               - title keywords
               - error message fragments
               - symptom words
               - component/module names
               Example command pattern:
               gh issue list --repo ${{ github.repository }} --state all --search "<query>"
            3. Inspect every candidate in detail:
               gh issue view <candidate_number> --repo ${{ github.repository }} --json number,title,body,url,state
            4. Duplicate threshold:
               - only mark duplicate when confidence >= 90%
               - same root cause + very similar symptoms/errors/components
            5. Exclusions:
               - never include pull requests
               - never include the current issue itself (#${{ github.event.issue.number }})
            6. If confidence is insufficient or no duplicates exist, exit without commenting.
            7. If duplicates exist, create or update exactly one comment on issue #${{ github.event.issue.number }}:
               - first line must be: <!-- issue-duplicate-detector -->
               - include markdown bullet list with title + link:
                 - [Issue title](${{ github.server_url }}/${{ github.repository }}/issues/123)
            8. Before posting, check existing comments on the target issue:
               - if marker comment exists, update that comment
               - otherwise create a new comment
            9. Do not comment on any other issue.

            Expected comment format:
            <!-- issue-duplicate-detector -->
            Detected potentially duplicate issues:
            - [Duplicate issue title](${{ github.server_url }}/${{ github.repository }}/issues/123)
            - [Another duplicate issue](${{ github.server_url }}/${{ github.repository }}/issues/456)


================================================
FILE: .github/workflows/main.yml
================================================
name: Build & Release

on:
  push:
    tags:
      - v*
  workflow_dispatch:
    inputs:
      release_tag:
        description: "GitHub release tag to publish to (optional, defaults to current branch like dev)"
        required: false
        default: ""
        type: string
      build_os:
        description: "Build for specific OS: Windows, macOS, Linux, All"
        required: true
        default: "All"
        type: choice
        options:
          - Windows
          - macOS
          - Linux
          - All
      test_upload_dist:
        description: "Test upload-dist.js script"
        required: true
        default: false
        type: boolean
      test_upload_dist_to_dev:
        description: "Test upload-dist.js script to dev folder"
        required: true
        default: false
        type: boolean
      skip_mac_notarize:
        description: "Skip Mac Notarization (true/false)"
        required: true
        default: false
        type: boolean
      win_signing_mode:
        description: "Windows Signing Mode: release-signing(default) or test-signing"
        required: true
        default: "release-signing"
        type: choice
        options:
          - release-signing
          - test-signing

env:
  NODE_VERSION: 22.x

jobs:
  # ============== macOS Builds ==============
  build-macos:
    name: Build macOS (${{ matrix.arch }})
    if: github.event.inputs.build_os == 'macOS' || github.event.inputs.build_os == 'All' || startsWith(github.ref, 'refs/tags/v')
    runs-on: ${{ matrix.runner }}
    strategy:
      fail-fast: false
      matrix:
        include:
          - runner: macos-15-intel
            target: dmg
            arch: x64
          - runner: macos-latest
            target: dmg
            arch: arm64
    steps:
      - name: Check out git repository
        uses: actions/checkout@v4

      - name: Setup pnpm
        uses: pnpm/action-setup@v4
        with:
          version: 10.29.2

      - name: Setup Node.js
        uses: actions/setup-node@v6
        with:
          node-version: ${{ env.NODE_VERSION }}
          cache: pnpm
          cache-dependency-path: pnpm-lock.yaml

      - name: Clean workspace
        run: rm -rf dist dist_electron node_modules ~/.cache/electron-builder ~/.cache/electron

      - name: Install dependencies
        run: pnpm install --frozen-lockfile

      - name: Build macOS App (${{ matrix.arch }})
        run: pnpm run build && pnpm exec electron-builder --config electron-builder.config.ts --mac ${{ matrix.target }} --${{ matrix.arch }} --publish never
        env:
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
          CSC_LINK: ${{ secrets.MAC_CSC_LINK }}
          CSC_KEY_PASSWORD: ${{ secrets.MAC_CSC_KEY_PASSWORD }}
          APPLE_ID: ${{ secrets.APPLE_ID }}
          APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
          APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
          SKIP_NOTARIZE: ${{ inputs.skip_mac_notarize }}

      - name: Upload Artifact
        uses: actions/upload-artifact@v4
        with:
          name: PicGo-macOS-${{ matrix.arch }}
          path: dist/*.*

  # ============== Windows Builds ==============
  build-windows:
    name: Build Windows (${{ matrix.arch }})
    if: github.event.inputs.build_os == 'Windows' || github.event.inputs.build_os == 'All' || startsWith(github.ref, 'refs/tags/v')
    runs-on: ${{ matrix.runner }}
    strategy:
      fail-fast: false
      matrix:
        include:
          - runner: windows-latest
            arch: x64-ia32
            build_arch: --x64 --ia32
            target: nsis
          - runner: windows-11-arm
            arch: arm64
            build_arch: --arm64
            target: nsis
    steps:
      - name: Check out git repository
        uses: actions/checkout@v4

      - name: Setup pnpm
        uses: pnpm/action-setup@v4
        with:
          version: 10.29.2

      - name: Setup Node.js
        uses: actions/setup-node@v6
        with:
          node-version: ${{ env.NODE_VERSION }}
          cache: pnpm
          cache-dependency-path: pnpm-lock.yaml

      - name: Clean workspace
        run: |
          if (Test-Path dist) { Remove-Item -Recurse -Force dist }
          if (Test-Path dist_electron) { Remove-Item -Recurse -Force dist_electron }
          if (Test-Path node_modules) { Remove-Item -Recurse -Force node_modules }
          if (Test-Path "$env:LOCALAPPDATA\electron-builder") {
            Remove-Item "$env:LOCALAPPDATA\electron-builder" -Recurse -Force -ErrorAction SilentlyContinue
          }
          if (Test-Path "$env:LOCALAPPDATA\electron") {
            Remove-Item "$env:LOCALAPPDATA\electron" -Recurse -Force -ErrorAction SilentlyContinue
          }

      - name: Install dependencies
        run: pnpm install --frozen-lockfile

      # 1. Build (Unsigned)
      - name: Build Windows App (${{ matrix.arch }})
        run: pnpm run build && pnpm exec electron-builder --config electron-builder.config.ts --win ${{matrix.target}} ${{ matrix.build_arch }} --publish never
        env:
          GH_TOKEN: ${{ secrets.GH_TOKEN }}

      # 2. Upload Unsigned Artifact to SignPath (Intermediate Step)
      - name: Upload Unsigned Artifact for Signing
        id: upload-unsigned
        uses: actions/upload-artifact@v4
        with:
          name: unsigned-${{ matrix.arch }}
          path: dist/*.exe
          retention-days: 1
          if-no-files-found: error

      - name: Notification for Signing Start
        shell: bash
        env:
          NOTIFY_URL: ${{ secrets.SIGN_NOTIFICATION }}
        run: curl "$NOTIFY_URL"

      # 3. Submit to SignPath and Wait
      - name: Sign Artifact with SignPath
        uses: signpath/github-action-submit-signing-request@v2
        env:
          SIGNPATH_SIGNING_POLICY_SLUG: |
            ${{ (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || inputs.win_signing_mode == 'release-signing') 
              && 'release-signing' 
              || 'test-signing' }}
          ARTIFACT_SLUG: |
            ${{ (matrix.arch == 'x64-ia32') 
              && 'PicGo-Windows' 
              || (matrix.arch == 'arm64') 
              && 'PicGo-Windows-ARM64' 
              || '' }}
        with:
          api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
          organization-id: "${{ secrets.SIGNPATH_ORGANIZATION_ID }}"
          project-slug: "${{ secrets.SIGNPATH_PROJECT_SLUG }}"
          signing-policy-slug: "${{ env.SIGNPATH_SIGNING_POLICY_SLUG }}"
          github-artifact-id: "${{ steps.upload-unsigned.outputs.artifact-id }}"
          artifact-configuration-slug: "${{ env.ARTIFACT_SLUG }}"
          wait-for-completion: true
          output-artifact-directory: "signed-artifact"

      # 4. Replace Unsigned with Signed & Fix Blockmap (Critical for Auto-Update)
      - name: Replace Unsigned with Signed & Update latest.yml
        shell: powershell
        run: |
          # Move signed artifacts to dist folder, overwriting existing ones
          Move-Item -Path "signed-artifact\*.exe" -Destination "dist\" -Force
          Write-Host "✅ Signed artifacts moved to dist folder."

          # Run the Node.js script to update latest.yml
          node scripts/update-win-yaml.js

      - name: Upload Artifact
        uses: actions/upload-artifact@v4
        with:
          name: PicGo-Windows-${{ matrix.arch }}
          path: dist/*.*

  # ============== Linux Builds ==============
  build-linux:
    name: Build Linux (${{ matrix.arch }})
    if: github.event.inputs.build_os == 'Linux' || github.event.inputs.build_os == 'All' || startsWith(github.ref, 'refs/tags/v')
    runs-on: ${{ matrix.runner }}
    strategy:
      fail-fast: false
      matrix:
        include:
          - runner: ubuntu-latest
            arch: x64
            target: AppImage deb snap
          - runner: ubuntu-24.04-arm
            arch: arm64
            target: AppImage deb
    steps:
      - name: Check out git repository
        uses: actions/checkout@v4

      - name: Setup pnpm
        uses: pnpm/action-setup@v4
        with:
          version: 10.29.2

      - name: Setup Node.js
        uses: actions/setup-node@v6
        with:
          node-version: ${{ env.NODE_VERSION }}
          cache: pnpm
          cache-dependency-path: pnpm-lock.yaml

      - name: Clean workspace
        run: rm -rf dist dist_electron node_modules ~/.cache/electron-builder ~/.cache/electron

      - name: Install dependencies
        run: pnpm install --frozen-lockfile

      - name: Install Linux dependencies
        run: |
          sudo apt-get update
          sudo apt-get install -y libfuse2

      - name: Build Linux App (${{ matrix.arch }})
        run: pnpm run build && pnpm exec electron-builder --config electron-builder.config.ts --linux ${{matrix.target}} --${{ matrix.arch }} --publish never
        env:
          GH_TOKEN: ${{ secrets.GH_TOKEN }}

      - name: Upload Artifact
        uses: actions/upload-artifact@v4
        with:
          name: PicGo-Linux-${{ matrix.arch }}
          path: dist/*.*

  # ============== Release ==============
  release:
    name: Merge & Release
    needs: [build-macos, build-windows, build-linux]
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - name: Check out git repository
        uses: actions/checkout@v4

      - name: Setup pnpm
        uses: pnpm/action-setup@v4
        with:
          version: 10.29.2

      - name: Setup Node.js
        uses: actions/setup-node@v6
        with:
          node-version: ${{ env.NODE_VERSION }}
          cache: pnpm
          cache-dependency-path: pnpm-lock.yaml

      - name: Install dependencies
        run: pnpm install --frozen-lockfile

      - name: Download all artifacts
        uses: actions/download-artifact@v4
        with:
          path: artifacts

      - name: List artifacts
        run: ls -laR artifacts/

      - name: Merge artifacts and yml files
        run: node scripts/merge-artifacts.js

      - name: List dist
        run: ls -la dist/

      - name: Upload to release.picgo.app
        if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.test_upload_dist || github.event.inputs.test_upload_dist_to_dev
        run: |
          ARGS="--all"

          if [[ "${{ github.event.inputs.test_upload_dist_to_dev }}" == "true" ]]; then
            ARGS="$ARGS --dev"
            echo "🚧 Test Upload Mode: ON"
          fi

          node scripts/upload-dist.js $ARGS
        env:
          PICGO_ENV_S3_SECRET_ID: ${{ secrets.PICGO_ENV_S3_SECRET_ID }}
          PICGO_ENV_S3_SECRET_KEY: ${{ secrets.PICGO_ENV_S3_SECRET_KEY }}
          PICGO_ENV_S3_ACCOUNT_ID: ${{ secrets.PICGO_ENV_S3_ACCOUNT_ID }}
          PICGO_ENV_S3_LEGACY_ACCOUNT_ID: ${{ secrets.PICGO_ENV_S3_LEGACY_ACCOUNT_ID }}
          PICGO_ENV_S3_LEGACY_SECRET_ID: ${{ secrets.PICGO_ENV_S3_LEGACY_SECRET_ID }}
          PICGO_ENV_S3_LEGACY_SECRET_KEY: ${{ secrets.PICGO_ENV_S3_LEGACY_SECRET_KEY }}

      - name: Publish GitHub Workflow Release
        if: github.event_name == 'workflow_dispatch'
        uses: softprops/action-gh-release@v2
        continue-on-error: true
        with:
          token: ${{ secrets.GH_TOKEN }}
          tag_name: ${{ github.event.inputs.release_tag || github.ref_name }}
          draft: true
          prerelease: false
          files: |
            dist/*.exe
            dist/*.dmg
            dist/*.zip
            dist/*.AppImage
            dist/*.deb
            dist/*.snap
            dist/*.tar.gz
            dist/*.yml
            dist/*.blockmap

      - name: Publish GitHub Release
        if: startsWith(github.ref, 'refs/tags/v')
        uses: softprops/action-gh-release@v2
        continue-on-error: true
        with:
          token: ${{ secrets.GH_TOKEN }}
          generate_release_notes: true
          draft: true
          prerelease: false
          files: |
            dist/*.exe
            dist/*.dmg
            dist/*.zip
            dist/*.AppImage
            dist/*.deb
            dist/*.snap
            dist/*.tar.gz
            dist/*.yml
            dist/*.blockmap


================================================
FILE: .gitignore
================================================
.DS_Store
dist/electron/*
dist/web/*
build/*
!build/icons
!build/installer.nsh
!build/entitlements.mac.plist
coverage
node_modules/
npm-debug.log
npm-debug.log.*
thumbs.db
!.gitkeep
yarn-error.log
docs/dist/
# local env files
.env.local
.env.*.local
dist_electron/
test.js
.env
scripts/*.yml

#Electron-builder output
/dist_electron
.serena/
dist/*
test.js
specs/
.cache/
openspec/
bug*

================================================
FILE: .husky/commit-msg
================================================
pnpm commitlint ${1}


================================================
FILE: .husky/pre-commit
================================================
pnpm check


================================================
FILE: .husky/pre-push
================================================
pnpm test

================================================
FILE: .node-version
================================================
22


================================================
FILE: .npmrc
================================================
shamefully-hoist=true

================================================
FILE: .travis.deprecated.yml
================================================
# Commented sections below can be used to run tests on the CI server
# https://simulatedgreg.gitbooks.io/electron-vue/content/en/testing.html#on-the-subject-of-ci-testing
osx_image: xcode8.3
sudo: required
dist: trusty
language: c
matrix:
  include:
  - os: osx
  - os: linux
    env: CC=clang CXX=clang++ npm_config_clang=1
    compiler: clang
cache:
  directories:
  - node_modules
  - "$HOME/.electron"
  - "$HOME/.cache"
addons:
  apt:
    packages:
    - libgnome-keyring-dev
    - icnsutils
    #- xvfb
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install git-lfs; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi
install:
#- export DISPLAY=':99.0'
#- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- nvm install 10
- curl -o- -L https://yarnpkg.com/install.sh | bash
- source ~/.bashrc
- npm install -g xvfb-maybe
- yarn
script:
#- xvfb-maybe node_modules/.bin/karma start test/unit/karma.conf.js
#- yarn run pack && xvfb-maybe node_modules/.bin/mocha test/e2e
- npm run release
# - yarn run build:docs
before_script:
- git lfs pull
branches:
  only:
  - master
# after_script:
#   - cd docs/dist
#   - git init
#   - git config user.name "Molunerfinn"
#   - git config user.email "marksz@teamsz.xyz"
#   - git add .
#   - git commit -m "Travis build docs"
#   - git push  --force --quiet "https://${GH_TOKEN}@github.com/Molunerfinn/PicGo.git" master:gh-pages


================================================
FILE: .vscode/launch.json
================================================
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Electron: Main",
      "type": "node",
      "request": "launch",
      "protocol": "inspector",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
      },
      "preLaunchTask": "electron-debug",
      "args": [
        "--remote-debugging-port=9223",
        "./dist"
      ],
      "outFiles": [
        "${workspaceFolder}/dist/**/*.js"
      ]
    },
    {
      "name": "Electron: Renderer",
      "type": "chrome",
      "request": "attach",
      "port": 9223,
      "urlFilter": "http://localhost:*",
      "timeout": 30000,
      "webRoot": "${workspaceFolder}/src",
      "sourceMapPathOverrides": {
        "webpack:///./src/*": "${webRoot}/*"
      }
    }
  ],
  "compounds": [
    {
      "name": "Electron: All",
      "configurations": [
        "Electron: Main",
        "Electron: Renderer"
      ]
    }
  ]
}

================================================
FILE: .vscode/settings.json
================================================
{
  "eslint.enable": true,
  "eslint.alwaysShowStatus": true,
  "eslint.format.enable": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "vue",
    "typescriptreact"
  ],
  "[stylus]": {
    "editor.formatOnSave": true
  },
  "stylusSupremacy.insertSemicolons": false,
  "stylusSupremacy.insertBraces": false,
  "stylusSupremacy.insertNewLineBetweenSelectors": true,
  "stylusSupremacy.insertParenthesisAroundIfCondition": false,
  "stylusSupremacy.alwaysUseNoneOverZero": true,
  "stylusSupremacy.alwaysUseZeroWithoutUnit": true,
  "stylusSupremacy.sortProperties": "grouped",
  "stylusSupremacy.quoteChar": "\"",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit",
    "source.organizeImports": "never"
  },
  "prettier.enable": false,
  "[typescript]": {
    "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  },
}

================================================
FILE: .vscode/tasks.json
================================================
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "tasks": [
    {
      "label": "electron-debug",
      "type": "process",
      "command": "./node_modules/.bin/vue-cli-service",
      "windows": {
        "command": "./node_modules/.bin/vue-cli-service.cmd"
      },
      "isBackground": true,
      "args": ["electron:serve", "--debug"],
      "problemMatcher": {
        "owner": "custom",
        "pattern": {
          "regexp": ""
        },
        "background": {
          "beginsPattern": "Starting development server\\.\\.\\.",
          "endsPattern": "Not launching electron as debug argument was passed\\."
        }
      }
    }
  ]
}

================================================
FILE: AGENTS.md
================================================
# Repository Guidelines

## Project Structure & Module Organization
PicGo is an Electron + Vue 3 desktop client. Source lives in `src/`: `src/main` for main-process and IPC logic, `src/renderer` for Vue views, and `src/universal` for shared helpers (`types/`, `events/constants.ts`). `background.ts` wires Electron Builder. Static assets and locale YAML files stay in `public/` (add languages under `public/i18n/`), while `docs/` hosts user-facing guides. Automation scripts live in `scripts/`, and legacy tests sit under `test/unit` (Karma) and `test/e2e` (Spectron).

## Build, Test, and Development Commands
- `pnpm install` — install dependencies; `npm install` is unsupported. Only run this when the user explicitly asks/coordinates it.
- Always add/remove dependencies with `pnpm` (never edit package.json versions by hand then install).
- `pnpm dev` — electron-vite dev server for main/preload/renderer.
- `pnpm build` — electron-vite build outputs to `dist/main`, `dist/preload`, `dist/renderer`; `pnpm preview` for preview mode.
- Packaging config lives in `electron-builder.yml` (read by electron-builder via package.json `build` field/extraResources); set `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/` if downloads are slow.
- `pnpm lint` / `pnpm lint:fix` — run or auto-fix ESLint (Standard, TypeScript, Vue rules).
- `pnpm lint:dpdm` — fail fast on circular dependencies in `src/`.
- `pnpm check` — run `tsc` + `lint` (run once before finishing a task).
- Before completing a task, always run `pnpm check` and resolve any issues it reports.
- `pnpm gen-i18n` — regenerate typed locales after touching `public/i18n/*.yml`.

## Coding Style & Naming Conventions
Follow ESLint Standard defaults: two-space indentation, single quotes, trailing commas where allowed, and no stray semicolons. Author new modules in TypeScript. Keep renderer files browser-safe; route Node APIs through IPC helpers such as `src/main/events/picgoCoreIPC.ts`. Name Vue components in PascalCase (`UploadPanel.vue`) and use camelCase for utilities. Centralize IPC event names inside `src/universal/events/constants.ts`, and store enums/types under `src/universal/types/` so they stay reusable. Static assets are served from `public/` and resolved via `getStaticPath`/`getStaticFileUrl` (`src/universal/utils/staticPath.ts`); avoid using `__static` directly.
Static assets are served from `public/`. In the main process use `getStaticPath`/`getStaticFileUrl` (`src/universal/utils/staticPath.ts`). In the renderer, place assets under `public/` and resolve them via `import.meta.env.BASE_URL + filename` (helper: `src/renderer/utils/static.ts`); do not rely on `__static` in renderer code.
- Do not use `as any` under any circumstances; keep typings explicit and safe.
- Avoid `as any` in tests as well; build concrete typed stubs (e.g., `IpcMainInvokeEvent`) instead.
- Do not prefix method calls with `void` (e.g. use `store?.refreshPicBeds()` rather than `void store?.refreshPicBeds()`).
- If a renderer → main request mutates persisted config/state without using `saveConfig`, call `notifyAppConfigUpdated()` in main to inform renderers.
- Prefer enums over union types for discrete value sets (e.g., encryption methods). Avoid introducing new string literal union types.
- Renderer page/component styles should prefer Tailwind utility classes; avoid adding new Vue `<style>` blocks unless there's no reasonable Tailwind equivalent.
- New renderer ↔ main request/response APIs should be implemented via RPC routes (see `src/main/events/rpc/routes/system.ts`) with `RPCRouter` + `IRPCActionType` rather than adding ad-hoc IPC modules (e.g. `picgoCloudIPC`).
  - For request/response semantics in renderer, prefer `invokeRPC` (backed by `ipcMain.handle(RPC_ACTIONS, ...)` in `src/main/events/rpc/index.ts`).

## Testing Guidelines
Place renderer unit specs in `test/unit/specs` with the `.spec.js` suffix; Karma picks them up via `require.context`. Run them with `npx karma start test/unit/karma.conf.js --single-run` and ensure new renderer folders are covered. Spectron e2e cases live in `test/e2e/specs`; build first (`pnpm build`), then run `npx mocha test/e2e/index.js` so Spectron can launch `dist/electron/main.js`. Document any test data, IPC stubs, or fixtures you add to keep suites reproducible.

## Commit & Pull Request Guidelines
Commits follow the PicGo conventional preset enforced by Husky (`pnpm lint:dpdm` + Commitlint). Stage your changes and run `pnpm cz` to craft messages that pass CI. Pull requests should explain the change, link related issues, and attach UI screenshots or recordings. Note how you validated the work (dev server, build, Karma, Spectron) and call out migration or configuration steps reviewers must perform.

## Internationalization Tips
Add locales by creating `public/i18n/<locale>.yml`, exposing its `LANG_DISPLAY_LABEL`, and registering it in `src/universal/i18n/index.ts`. After editing `public/i18n/*.yml`, run `pnpm gen-i18n` to regenerate TS typings and keep them in sync.
- Any user-facing copy (UI text, error messages, warnings, prompts, tips, notifications, etc.) MUST use i18n keys. Do not hardcode strings in code.
  - Renderer: use `$T('KEY')` from `src/renderer/i18n/index.ts`.
  - Main process: use `T('KEY')` from `src/main/i18n/index.ts`.
  - Add new keys to all locales under `public/i18n/` (at least `en.yml`, `zh-CN.yml`, `zh-TW.yml`) and run `pnpm gen-i18n`.

## Serena MCP & Context7 Tools
When starting work or if you hit issues, try checking MCP for Serena or Context7 tooling. If available, use those tools to navigate, edit, or fetch docs efficiently.


================================================
FILE: CHANGELOG.md
================================================
## :tada: 2.5.3 (2026-03-06)


### :bug: Bug Fixes

* **plugin:** refresh plugin config dialog state ([#1395](https://github.com/Molunerfinn/PicGo/issues/1395)) ([0e452e1](https://github.com/Molunerfinn/PicGo/commit/0e452e1)), closes [#1394](https://github.com/Molunerfinn/PicGo/issues/1394)
* **update:** correct latest version lookup with beta channel ([#1396](https://github.com/Molunerfinn/PicGo/issues/1396)) ([#1397](https://github.com/Molunerfinn/PicGo/issues/1397)) ([c7ca0de](https://github.com/Molunerfinn/PicGo/commit/c7ca0de))


### :package: Chore

* add oz agent for issues ([#1392](https://github.com/Molunerfinn/PicGo/issues/1392)) ([f05ab63](https://github.com/Molunerfinn/PicGo/commit/f05ab63))


### :pencil: Documentation

* **custom:** update README ([#1390](https://github.com/Molunerfinn/PicGo/issues/1390)) ([5d0f016](https://github.com/Molunerfinn/PicGo/commit/5d0f016))
* update docs ([ac9a00b](https://github.com/Molunerfinn/PicGo/commit/ac9a00b))
* update sponsor ([87d92d5](https://github.com/Molunerfinn/PicGo/commit/87d92d5))



## :tada: 2.5.2 (2026-02-10)


### :bug: Bug Fixes

* s.ee upload error ([a1f76ca](https://github.com/Molunerfinn/PicGo/commit/a1f76ca)), closes [#1385](https://github.com/Molunerfinn/PicGo/issues/1385)


### :pencil: Documentation

* add 2.5.1 docs ([5008a92](https://github.com/Molunerfinn/PicGo/commit/5008a92))
* update readme for s.ee ([d0defee](https://github.com/Molunerfinn/PicGo/commit/d0defee))



## :tada: 2.5.1 (2026-02-10)


### :sparkles: Features

* windows signature ([#1386](https://github.com/Molunerfinn/PicGo/issues/1386)) ([781cf30](https://github.com/Molunerfinn/PicGo/commit/781cf30))


### :bug: Bug Fixes

* **plugin:** plugin search error ([ef07c15](https://github.com/Molunerfinn/PicGo/commit/ef07c15)), closes [#1383](https://github.com/Molunerfinn/PicGo/issues/1383)


### :package: Chore

* **notification:** add notification for windows sign ([#1387](https://github.com/Molunerfinn/PicGo/issues/1387)) ([592f985](https://github.com/Molunerfinn/PicGo/commit/592f985))
* update link ([27464dc](https://github.com/Molunerfinn/PicGo/commit/27464dc))
* update picgo version to support s.ee ([e2e05ae](https://github.com/Molunerfinn/PicGo/commit/e2e05ae)), closes [#1385](https://github.com/Molunerfinn/PicGo/issues/1385)



# :tada: 2.5.0 (2026-01-27)


### :sparkles: Features

* add picgo cloud and config sync ([#1382](https://github.com/Molunerfinn/PicGo/issues/1382)) ([4344772](https://github.com/Molunerfinn/PicGo/commit/4344772)), closes [#1381](https://github.com/Molunerfinn/PicGo/issues/1381)


### :bug: Bug Fixes

* review changes ([5cabbbd](https://github.com/Molunerfinn/PicGo/commit/5cabbbd))


### :package: Chore

* **multi-arch:** add multi-arch build support ([#1379](https://github.com/Molunerfinn/PicGo/issues/1379)) ([678cb71](https://github.com/Molunerfinn/PicGo/commit/678cb71))


### :pencil: Documentation

* **faq:** update faq ([4fb3f2d](https://github.com/Molunerfinn/PicGo/commit/4fb3f2d))
* **release:** update 2.4.3 docs ([5eb3755](https://github.com/Molunerfinn/PicGo/commit/5eb3755))



## :tada: 2.4.3 (2026-01-12)


### :sparkles: Features

* add global url rewrite support ([#1377](https://github.com/Molunerfinn/PicGo/issues/1377)) ([2ed1dd5](https://github.com/Molunerfinn/PicGo/commit/2ed1dd5)), closes [#1255](https://github.com/Molunerfinn/PicGo/issues/1255) [#1281](https://github.com/Molunerfinn/PicGo/issues/1281)
* **upload:** add batch url upload support ([#1376](https://github.com/Molunerfinn/PicGo/issues/1376)) ([c84d542](https://github.com/Molunerfinn/PicGo/commit/c84d542)), closes [#1302](https://github.com/Molunerfinn/PicGo/issues/1302)


### :bug: Bug Fixes

* **gallery:** fix picbed list visible status not sync with gallery ([#1373](https://github.com/Molunerfinn/PicGo/issues/1373)) ([dfe92d4](https://github.com/Molunerfinn/PicGo/commit/dfe92d4)), closes [#1372](https://github.com/Molunerfinn/PicGo/issues/1372)
* **ui:** some ui bugs ([089884b](https://github.com/Molunerfinn/PicGo/commit/089884b))



## :tada: 2.4.2 (2026-01-07)


### :sparkles: Features

* **notification:** refactor notification and add notificationSound settings ([#1370](https://github.com/Molunerfinn/PicGo/issues/1370)) ([2936b19](https://github.com/Molunerfinn/PicGo/commit/2936b19)), closes [#1229](https://github.com/Molunerfinn/PicGo/issues/1229)


### :bug: Bug Fixes

* **tray:** clamp image titles to two lines ([525492b](https://github.com/Molunerfinn/PicGo/commit/525492b))


### :pencil: Documentation

* **2.4.2:** update changelog ([2c9a188](https://github.com/Molunerfinn/PicGo/commit/2c9a188))



## :tada: 2.4.2-beta.0 (2025-12-31)


### :sparkles: Features

* **config:** add copy config \&\& add double confirm before copy \& delete config ([25f86a6](https://github.com/Molunerfinn/PicGo/commit/25f86a6))


### :bug: Bug Fixes

* **icon:** app icon too large in macOS 15.x ([840c33b](https://github.com/Molunerfinn/PicGo/commit/840c33b)), closes [#1367](https://github.com/Molunerfinn/PicGo/issues/1367)


### :package: Chore

* electron builder not publish with build command ([9269f96](https://github.com/Molunerfinn/PicGo/commit/9269f96))
* fix workflow build ([a1d22e5](https://github.com/Molunerfinn/PicGo/commit/a1d22e5))
* **signature:** add signature \& notarization process ([ee6ca02](https://github.com/Molunerfinn/PicGo/commit/ee6ca02))
* update FAQ \&\& plugin filter logic ([f7f5804](https://github.com/Molunerfinn/PicGo/commit/f7f5804))



## :tada: 2.4.1 (2025-12-23)


### :sparkles: Features

* add showMenubarIcon setting ([#1366](https://github.com/Molunerfinn/PicGo/issues/1366)) ([d0eb3da](https://github.com/Molunerfinn/PicGo/commit/d0eb3da))


### :bug: Bug Fixes

* **custom:** build workflow error ([a0db473](https://github.com/Molunerfinn/PicGo/commit/a0db473))
* **custom:** data report ([eef736f](https://github.com/Molunerfinn/PicGo/commit/eef736f))
* **custom:** workflow env bug ([f84f5f1](https://github.com/Molunerfinn/PicGo/commit/f84f5f1))


### :pencil: Documentation

* **custom:** update readme ([a671ea4](https://github.com/Molunerfinn/PicGo/commit/a671ea4))
* **custom:** update readme ([c658b9b](https://github.com/Molunerfinn/PicGo/commit/c658b9b))
* **custom:** update README ([c8c9122](https://github.com/Molunerfinn/PicGo/commit/c8c9122))
* update 2.4.1 changelog ([d071957](https://github.com/Molunerfinn/PicGo/commit/d071957))


### :package: Chore

* **custom:** rm yarn.lock ([8c310e7](https://github.com/Molunerfinn/PicGo/commit/8c310e7))



## :tada: 2.4.1-beta.1 (2025-12-10)


### :bug: Bug Fixes

* **custom:** the issue that x64 macOS app can't be opened ([54d15a6](https://github.com/Molunerfinn/PicGo/commit/54d15a6)), closes [#1363](https://github.com/Molunerfinn/PicGo/issues/1363)


### :package: Chore

* update builder config && add legacy version file upload process ([2cc2983](https://github.com/Molunerfinn/PicGo/commit/2cc2983))



## :tada: 2.4.1-beta.0 (2025-12-09)


### :bug: Bug Fixes

* fix docs link ([d6c0a85](https://github.com/Molunerfinn/PicGo/commit/d6c0a85))
* pic-migrater post handler error ([b421c4b](https://github.com/Molunerfinn/PicGo/commit/b421c4b))
* tray window clipboard image not show bug ([#1362](https://github.com/Molunerfinn/PicGo/issues/1362)) ([56f61d4](https://github.com/Molunerfinn/PicGo/commit/56f61d4))


### :package: Chore

* change release url ([9d4ea82](https://github.com/Molunerfinn/PicGo/commit/9d4ea82))
* disabled build universal installer ([366ac11](https://github.com/Molunerfinn/PicGo/commit/366ac11))
* fix some workflow bug ([db627a4](https://github.com/Molunerfinn/PicGo/commit/db627a4))
* fix upload dist arch bug ([8e94b2a](https://github.com/Molunerfinn/PicGo/commit/8e94b2a))
* upgrade electron version && migrate to electron-vite ([#1361](https://github.com/Molunerfinn/PicGo/issues/1361)) ([070ce2b](https://github.com/Molunerfinn/PicGo/commit/070ce2b))



# :tada: 2.4.0 (2025-11-23)


### :pencil: Documentation

* add 2.4.0 changelog ([cccd295](https://github.com/Molunerfinn/PicGo/commit/cccd295))
* add warp sponsor shoutout ([e0d45fa](https://github.com/Molunerfinn/PicGo/commit/e0d45fa))
* add warp sponsor shoutout ([de441a8](https://github.com/Molunerfinn/PicGo/commit/de441a8))
* update docs ([4a29bf2](https://github.com/Molunerfinn/PicGo/commit/4a29bf2))
* update docs ([24e4a82](https://github.com/Molunerfinn/PicGo/commit/24e4a82))
* update readme & warp sponsor link ([45b3227](https://github.com/Molunerfinn/PicGo/commit/45b3227))


### :package: Chore

* change funding yml ([2450a52](https://github.com/Molunerfinn/PicGo/commit/2450a52))
* update picgo core to 1.5.11 to solve url encode bug ([cfb6146](https://github.com/Molunerfinn/PicGo/commit/cfb6146))



# :tada: 2.4.0-beta.10 (2025-06-08)


### :sparkles: Features

* finish form uploader for picgo server ([9841418](https://github.com/Molunerfinn/PicGo/commit/9841418))
* **server:** add support for form upload in PicGo Server ([#1327](https://github.com/Molunerfinn/PicGo/issues/1327)) ([a928b4c](https://github.com/Molunerfinn/PicGo/commit/a928b4c)), closes [#428](https://github.com/Molunerfinn/PicGo/issues/428)


### :bug: Bug Fixes

* auto-copy url can't be turned off ([#1300](https://github.com/Molunerfinn/PicGo/issues/1300)) ([dacb926](https://github.com/Molunerfinn/PicGo/commit/dacb926))
* encoded url filename unreadable ([2bd5d06](https://github.com/Molunerfinn/PicGo/commit/2bd5d06))
* unable to use clip in wayland ([#1301](https://github.com/Molunerfinn/PicGo/issues/1301)) ([7df37a2](https://github.com/Molunerfinn/PicGo/commit/7df37a2))



# :tada: 2.4.0-beta.9 (2024-12-02)


### :bug: Bug Fixes

* clipboard filename missing second ([c9fe402](https://github.com/Molunerfinn/PicGo/commit/c9fe402)), closes [#1293](https://github.com/Molunerfinn/PicGo/issues/1293)
* copy text bug ([c8ba547](https://github.com/Molunerfinn/PicGo/commit/c8ba547)), closes [#1210](https://github.com/Molunerfinn/PicGo/issues/1210) [#1280](https://github.com/Molunerfinn/PicGo/issues/1280)
* plugin list search bug ([04140de](https://github.com/Molunerfinn/PicGo/commit/04140de)), closes [#1297](https://github.com/Molunerfinn/PicGo/issues/1297)


### :package: Chore

* update ci macos version ([316928e](https://github.com/Molunerfinn/PicGo/commit/316928e))



# :tada: 2.4.0-beta.8 (2024-07-16)


### :bug: Bug Fixes

* tencent cos url encode bug ([ff7336b](https://github.com/Molunerfinn/PicGo/commit/ff7336b)), closes [#1265](https://github.com/Molunerfinn/PicGo/issues/1265)



# :tada: 2.4.0-beta.7 (2024-04-22)


### :sparkles: Features

* add startup mode ([aaec99f](https://github.com/Molunerfinn/PicGo/commit/aaec99f)), closes [#915](https://github.com/Molunerfinn/PicGo/issues/915)


### :bug: Bug Fixes

* config page scroll bug ([8e91582](https://github.com/Molunerfinn/PicGo/commit/8e91582)), closes [#1237](https://github.com/Molunerfinn/PicGo/issues/1237)
* tray menu open bug ([50e0a64](https://github.com/Molunerfinn/PicGo/commit/50e0a64)), closes [#1217](https://github.com/Molunerfinn/PicGo/issues/1217)



# :tada: 2.4.0-beta.6 (2023-11-19)


### :bug: Bug Fixes

* app.asar directroy copy error ([#1180](https://github.com/Molunerfinn/PicGo/issues/1180)) ([cd07b33](https://github.com/Molunerfinn/PicGo/commit/cd07b33)), closes [#1179](https://github.com/Molunerfinn/PicGo/issues/1179)
* can't add new config for picbed ([050a3dd](https://github.com/Molunerfinn/PicGo/commit/050a3dd)), closes [#1184](https://github.com/Molunerfinn/PicGo/issues/1184)



# :tada: 2.4.0-beta.5 (2023-09-10)


### :sparkles: Features

* add gallery toolbox menu ([#1177](https://github.com/Molunerfinn/PicGo/issues/1177)) ([0f7b07d](https://github.com/Molunerfinn/PicGo/commit/0f7b07d))



# :tada: 2.4.0-beta.4 (2023-08-26)


### :sparkles: Features

* add configName for upload page ([894d0a2](https://github.com/Molunerfinn/PicGo/commit/894d0a2))
* support "tips" option for uploader ([1b92f20](https://github.com/Molunerfinn/PicGo/commit/1b92f20))
* **tcyun:** add slim section ([#1165](https://github.com/Molunerfinn/PicGo/issues/1165)) ([a2320c3](https://github.com/Molunerfinn/PicGo/commit/a2320c3))


### :bug: Bug Fixes

* open config file bug ([2db0fea](https://github.com/Molunerfinn/PicGo/commit/2db0fea)), closes [#1163](https://github.com/Molunerfinn/PicGo/issues/1163)



# :tada: 2.4.0-beta.3 (2023-07-09)


### :bug: Bug Fixes

* rename page bug ([bc2e928](https://github.com/Molunerfinn/PicGo/commit/bc2e928)), closes [#1130](https://github.com/Molunerfinn/PicGo/issues/1130)
* tailwind css bug ([e3566b5](https://github.com/Molunerfinn/PicGo/commit/e3566b5))



# :tada: 2.4.0-beta.2 (2023-07-09)


### :bug: Bug Fixes

* fileName encode bug ([8d9a400](https://github.com/Molunerfinn/PicGo/commit/8d9a400)), closes [#1121](https://github.com/Molunerfinn/PicGo/issues/1121)



# :tada: 2.4.0-beta.1 (2023-05-03)


### :sparkles: Features

* add picgo toolbox for auto detect & fix problems ([dfbc96f](https://github.com/Molunerfinn/PicGo/commit/dfbc96f))
* add settings.encodeOutputURL options ([f75514d](https://github.com/Molunerfinn/PicGo/commit/f75514d)), closes [#731](https://github.com/Molunerfinn/PicGo/issues/731)
* add showDockIcon option ([46f54e1](https://github.com/Molunerfinn/PicGo/commit/46f54e1)), closes [#1045](https://github.com/Molunerfinn/PicGo/issues/1045)
* add showDockIcon option ([32eb176](https://github.com/Molunerfinn/PicGo/commit/32eb176)), closes [#1045](https://github.com/Molunerfinn/PicGo/issues/1045)
* support dragging any type of file to upload ([520d6d3](https://github.com/Molunerfinn/PicGo/commit/520d6d3)), closes [#1052](https://github.com/Molunerfinn/PicGo/issues/1052)


### :bug: Bug Fixes

* console.log EPIPE error ([7363be7](https://github.com/Molunerfinn/PicGo/commit/7363be7)), closes [#1101](https://github.com/Molunerfinn/PicGo/issues/1101)
* custom url template encode bug ([063962d](https://github.com/Molunerfinn/PicGo/commit/063962d)), closes [#1112](https://github.com/Molunerfinn/PicGo/issues/1112)
* fix copy link encoding bug ([34657ae](https://github.com/Molunerfinn/PicGo/commit/34657ae)), closes [#731](https://github.com/Molunerfinn/PicGo/issues/731)
* i18n bug ([911e34e](https://github.com/Molunerfinn/PicGo/commit/911e34e))
* isDarkMode() error when dragging file to tray icon ([b7d2edb](https://github.com/Molunerfinn/PicGo/commit/b7d2edb)), closes [#1107](https://github.com/Molunerfinn/PicGo/issues/1107)
* typescript nightly build bug ([455cb49](https://github.com/Molunerfinn/PicGo/commit/455cb49)), closes [#1082](https://github.com/Molunerfinn/PicGo/issues/1082)


### :package: Chore

* change version files' upload dest & dist files' upload dest ([4f392f3](https://github.com/Molunerfinn/PicGo/commit/4f392f3))


### :pencil: Documentation

* update FAQ ([6801334](https://github.com/Molunerfinn/PicGo/commit/6801334)), closes [#1067](https://github.com/Molunerfinn/PicGo/issues/1067)



# :tada: 2.4.0-beta.0 (2023-01-05)


### :sparkles: Features

* add file-name in gallery & add unknown-file-type placholder image ([f0787d3](https://github.com/Molunerfinn/PicGo/commit/f0787d3)), closes [#1050](https://github.com/Molunerfinn/PicGo/issues/1050)
* add file-name in tray-page ([c011654](https://github.com/Molunerfinn/PicGo/commit/c011654)), closes [#1054](https://github.com/Molunerfinn/PicGo/issues/1054)
* support multiple config ([#1016](https://github.com/Molunerfinn/PicGo/issues/1016)) ([9555649](https://github.com/Molunerfinn/PicGo/commit/9555649))


### :bug: Bug Fixes

* handleUploaderConfig should be placed in main/utils ([fc897ce](https://github.com/Molunerfinn/PicGo/commit/fc897ce))
* nsis script ([44f5fbb](https://github.com/Molunerfinn/PicGo/commit/44f5fbb)), closes [#1019](https://github.com/Molunerfinn/PicGo/issues/1019)


### :pencil: Documentation

* update FAQ.md ([#1011](https://github.com/Molunerfinn/PicGo/issues/1011)) ([05998bb](https://github.com/Molunerfinn/PicGo/commit/05998bb))



## :tada: 2.3.1 (2022-11-13)


### :sparkles: Features

* add $extName for paste template ([64e54d0](https://github.com/Molunerfinn/PicGo/commit/64e54d0)), closes [#1000](https://github.com/Molunerfinn/PicGo/issues/1000)


### :bug: Bug Fixes

* upyun options is not required ([167e424](https://github.com/Molunerfinn/PicGo/commit/167e424)), closes [#1002](https://github.com/Molunerfinn/PicGo/issues/1002)



## :tada: 2.3.1-beta.8 (2022-10-30)


### :sparkles: Features

* add remoteNotice ([9317871](https://github.com/Molunerfinn/PicGo/commit/9317871))
* macOS tray icon more clearer ([ecd462f](https://github.com/Molunerfinn/PicGo/commit/ecd462f))


### :bug: Bug Fixes

* url encode bug && copy-paste url encode bug ([4de7a1d](https://github.com/Molunerfinn/PicGo/commit/4de7a1d)), closes [#996](https://github.com/Molunerfinn/PicGo/issues/996)


### :pencil: Documentation

* add PicHoro ([a355bc0](https://github.com/Molunerfinn/PicGo/commit/a355bc0))



## :tada: 2.3.1-beta.7 (2022-10-23)


### :sparkles: Features

* add zh-TW.yml ([#976](https://github.com/Molunerfinn/PicGo/issues/976)) ([72371de](https://github.com/Molunerfinn/PicGo/commit/72371de))


### :bug: Bug Fixes

* change decodeURI -> decodeURIComponent & encode also ([7677f1e](https://github.com/Molunerfinn/PicGo/commit/7677f1e))
* macOS tray icon background color bug ([9791ff2](https://github.com/Molunerfinn/PicGo/commit/9791ff2)), closes [#970](https://github.com/Molunerfinn/PicGo/issues/970)
* some bugs will case picgo-gui-local.log too large ([012a01d](https://github.com/Molunerfinn/PicGo/commit/012a01d)), closes [#995](https://github.com/Molunerfinn/PicGo/issues/995)
* some case will cause picgo-gui-local.log too large ([3c01861](https://github.com/Molunerfinn/PicGo/commit/3c01861))
* some texts in zh-TW ([#978](https://github.com/Molunerfinn/PicGo/issues/978)) ([531bc13](https://github.com/Molunerfinn/PicGo/commit/531bc13))


### :pencil: Documentation

* update readme & FAQ ([d438f82](https://github.com/Molunerfinn/PicGo/commit/d438f82))



## :tada: 2.3.1-beta.6 (2022-09-04)


### :sparkles: Features

* cli support uploading image with url ([e848918](https://github.com/Molunerfinn/PicGo/commit/e848918))
* finish i18n system ([428ffc7](https://github.com/Molunerfinn/PicGo/commit/428ffc7))


### :bug: Bug Fixes

* macos clipboard image can't show on tray page ([20e38f4](https://github.com/Molunerfinn/PicGo/commit/20e38f4)), closes [#961](https://github.com/Molunerfinn/PicGo/issues/961)
* showFileExplorer result bug ([b6b2eea](https://github.com/Molunerfinn/PicGo/commit/b6b2eea))
* windows upload clipboard file with builtin-clipboard not work ([7b50ba7](https://github.com/Molunerfinn/PicGo/commit/7b50ba7))


### :package: Chore

* up issue template ([5f1fb08](https://github.com/Molunerfinn/PicGo/commit/5f1fb08))
* update cos upload url ([86012c0](https://github.com/Molunerfinn/PicGo/commit/86012c0))



## :tada: 2.3.1-beta.5 (2022-08-14)


### :sparkles: Features

* add dist upload to cos & update checkupdate logic ([c926414](https://github.com/Molunerfinn/PicGo/commit/c926414))
* add logFileSizeLimit for log file ([219b367](https://github.com/Molunerfinn/PicGo/commit/219b367)), closes [#935](https://github.com/Molunerfinn/PicGo/issues/935) [#945](https://github.com/Molunerfinn/PicGo/issues/945)
* add server response headers for CORS ([#939](https://github.com/Molunerfinn/PicGo/issues/939)) ([fb69bad](https://github.com/Molunerfinn/PicGo/commit/fb69bad))
* tray-window add open-setting-window button ([83ab3c6](https://github.com/Molunerfinn/PicGo/commit/83ab3c6))
* update tray icon in macOS 11 or 12 ([4ebdc72](https://github.com/Molunerfinn/PicGo/commit/4ebdc72)), closes [#776](https://github.com/Molunerfinn/PicGo/issues/776)


### :bug: Bug Fixes

* build error ([1db84a2](https://github.com/Molunerfinn/PicGo/commit/1db84a2))
* plugin config can't save ([09e4e82](https://github.com/Molunerfinn/PicGo/commit/09e4e82)), closes [#943](https://github.com/Molunerfinn/PicGo/issues/943)


### :package: Chore

* fix github action build scripts ([e6b9d88](https://github.com/Molunerfinn/PicGo/commit/e6b9d88))
* fix version error ([0a9e169](https://github.com/Molunerfinn/PicGo/commit/0a9e169))
* update macOS tray icon ([87161b3](https://github.com/Molunerfinn/PicGo/commit/87161b3))
* update manually action ([351fbda](https://github.com/Molunerfinn/PicGo/commit/351fbda))


### :pencil: Documentation

* update cos links ([3102d7b](https://github.com/Molunerfinn/PicGo/commit/3102d7b))



## :tada: 2.3.1-beta.4 (2022-06-12)


### :bug: Bug Fixes

* **db:** fix some db bugs ([d3bb5ca](https://github.com/Molunerfinn/PicGo/commit/d3bb5ca)), closes [#873](https://github.com/Molunerfinn/PicGo/issues/873) [#806](https://github.com/Molunerfinn/PicGo/issues/806)
* **gallery:** can't copy gallery pics link ([8d861be](https://github.com/Molunerfinn/PicGo/commit/8d861be)), closes [#901](https://github.com/Molunerfinn/PicGo/issues/901)


### :pencil: Documentation

* fix electron_mirror link error ([5d06469](https://github.com/Molunerfinn/PicGo/commit/5d06469)), closes [#849](https://github.com/Molunerfinn/PicGo/issues/849)
* update FAQ ([a79efbf](https://github.com/Molunerfinn/PicGo/commit/a79efbf))
* update readme & FAQ ([746635e](https://github.com/Molunerfinn/PicGo/commit/746635e))


### :package: Chore

* add issue template ([db6c5b8](https://github.com/Molunerfinn/PicGo/commit/db6c5b8))



## :tada: 2.3.1-beta.3 (2022-04-04)


### :sparkles: Features

* add i18n for en ([1936ccf](https://github.com/Molunerfinn/PicGo/commit/1936ccf))
* add tencent-cos options for url ([af291e4](https://github.com/Molunerfinn/PicGo/commit/af291e4)), closes [#862](https://github.com/Molunerfinn/PicGo/issues/862) [#863](https://github.com/Molunerfinn/PicGo/issues/863) [#865](https://github.com/Molunerfinn/PicGo/issues/865) [#524](https://github.com/Molunerfinn/PicGo/issues/524) [#845](https://github.com/Molunerfinn/PicGo/issues/845) [#732](https://github.com/Molunerfinn/PicGo/issues/732)
* add upload-clipboard-image from electron' clipboard ([27628da](https://github.com/Molunerfinn/PicGo/commit/27628da)), closes [#822](https://github.com/Molunerfinn/PicGo/issues/822)
* add wayland support for linux ([f1c8507](https://github.com/Molunerfinn/PicGo/commit/f1c8507))
* click cancel in rename-window will use origin filename now ([04701d4](https://github.com/Molunerfinn/PicGo/commit/04701d4)), closes [#791](https://github.com/Molunerfinn/PicGo/issues/791)


### :bug: Bug Fixes

* fix mini-page can't upload image from dragging browser image ([6bcd019](https://github.com/Molunerfinn/PicGo/commit/6bcd019)), closes [#822](https://github.com/Molunerfinn/PicGo/issues/822)
* mini window not always on top after reopen ([c79a286](https://github.com/Molunerfinn/PicGo/commit/c79a286))
* notification freeze the main-process after uploading with clipboard ([3a50315](https://github.com/Molunerfinn/PicGo/commit/3a50315)), closes [#824](https://github.com/Molunerfinn/PicGo/issues/824)
* picgo.log path error ([6b6ae27](https://github.com/Molunerfinn/PicGo/commit/6b6ae27)), closes [#819](https://github.com/Molunerfinn/PicGo/issues/819)


### :pencil: Documentation

* update readme ([6bcda9b](https://github.com/Molunerfinn/PicGo/commit/6bcda9b)), closes [#849](https://github.com/Molunerfinn/PicGo/issues/849) [#850](https://github.com/Molunerfinn/PicGo/issues/850)


### :package: Chore

* types change ([43d2a8e](https://github.com/Molunerfinn/PicGo/commit/43d2a8e))
* update fix-path ([bcaf255](https://github.com/Molunerfinn/PicGo/commit/bcaf255)), closes [#774](https://github.com/Molunerfinn/PicGo/issues/774)



## :tada: 2.3.1-beta.2 (2022-01-06)


### :bug: Bug Fixes

* electron builder actions bug ([5dd6e72](https://github.com/Molunerfinn/PicGo/commit/5dd6e72))
* linux github actions workflow bug ([5cb8151](https://github.com/Molunerfinn/PicGo/commit/5cb8151))



## :tada: 2.3.1-beta.1 (2022-01-05)


### :package: Chore

* update ci build scripts ([56e814a](https://github.com/Molunerfinn/PicGo/commit/56e814a))



## :tada: 2.3.1-beta.0 (2022-01-05)


### :bug: Bug Fixes

* mini window drag bug ([34b3656](https://github.com/Molunerfinn/PicGo/commit/34b3656))


### :package: Chore

* add mac-arm64 build support ([f2a4197](https://github.com/Molunerfinn/PicGo/commit/f2a4197))
* update electron from v6 -> v16 ([ea20d3b](https://github.com/Molunerfinn/PicGo/commit/ea20d3b))



# :tada: 2.3.0 (2021-09-11)


### :sparkles: Features

* add open devtool option ([75e3edc](https://github.com/Molunerfinn/PicGo/commit/75e3edc))


### :bug: Bug Fixes

* shift key function in gallery page ([5895889](https://github.com/Molunerfinn/PicGo/commit/5895889))
* some bugs ([a676c08](https://github.com/Molunerfinn/PicGo/commit/a676c08)), closes [#722](https://github.com/Molunerfinn/PicGo/issues/722)
* urlEncode bug when copy ([6c6f847](https://github.com/Molunerfinn/PicGo/commit/6c6f847)), closes [#731](https://github.com/Molunerfinn/PicGo/issues/731)


### :pencil: Documentation

* update FAQ ([58420c8](https://github.com/Molunerfinn/PicGo/commit/58420c8))



# :tada: 2.3.0-beta.8 (2021-08-13)


### :bug: Bug Fixes

* settings bug ([20d3cf9](https://github.com/Molunerfinn/PicGo/commit/20d3cf9)), closes [#710](https://github.com/Molunerfinn/PicGo/issues/710)
* upload clipboard images via http should return list ([ae69263](https://github.com/Molunerfinn/PicGo/commit/ae69263)), closes [#721](https://github.com/Molunerfinn/PicGo/issues/721)



# :tada: 2.3.0-beta.7 (2021-08-01)


### :sparkles: Features

* add gallery db ([6ddd660](https://github.com/Molunerfinn/PicGo/commit/6ddd660))
* add win32 support ([1657542](https://github.com/Molunerfinn/PicGo/commit/1657542)), closes [#632](https://github.com/Molunerfinn/PicGo/issues/632)
* finish custom config path ([7030f7a](https://github.com/Molunerfinn/PicGo/commit/7030f7a)), closes [#255](https://github.com/Molunerfinn/PicGo/issues/255)


### :bug: Bug Fixes

* bug of gallery db for plugin ([96a63ea](https://github.com/Molunerfinn/PicGo/commit/96a63ea))
* enable plugin should reload ([49e5f34](https://github.com/Molunerfinn/PicGo/commit/49e5f34)), closes [#659](https://github.com/Molunerfinn/PicGo/issues/659)
* gallery db bug ([f1eb7f4](https://github.com/Molunerfinn/PicGo/commit/f1eb7f4))
* multiple uploading in the same time will cause output conflict ([06b67e5](https://github.com/Molunerfinn/PicGo/commit/06b67e5)), closes [#666](https://github.com/Molunerfinn/PicGo/issues/666)
* multiple uploading in the same time will cause rename failed ([12cecc2](https://github.com/Molunerfinn/PicGo/commit/12cecc2))
* uploader error in linux ([ab762ef](https://github.com/Molunerfinn/PicGo/commit/ab762ef)), closes [#627](https://github.com/Molunerfinn/PicGo/issues/627)
* use uploader first ([92022a6](https://github.com/Molunerfinn/PicGo/commit/92022a6))
* windows ia32 && x64 build options ([bdf523a](https://github.com/Molunerfinn/PicGo/commit/bdf523a))



# :tada: 2.3.0-beta.6 (2021-04-24)


### :sparkles: Features

* add baidu tongji for analytics ([f536391](https://github.com/Molunerfinn/PicGo/commit/f536391))
* add logs for picgo-server ([2d9e9c0](https://github.com/Molunerfinn/PicGo/commit/2d9e9c0)), closes [#627](https://github.com/Molunerfinn/PicGo/issues/627)
* add privacy policy ([992ff35](https://github.com/Molunerfinn/PicGo/commit/992ff35))


### :bug: Bug Fixes

* add plugin install failed notice ([b05139f](https://github.com/Molunerfinn/PicGo/commit/b05139f))
* default picBed using picBed.uploader instead of picBed.current ([0a986c8](https://github.com/Molunerfinn/PicGo/commit/0a986c8))
* dev error with install vue-devtools ([a657c51](https://github.com/Molunerfinn/PicGo/commit/a657c51)), closes [#653](https://github.com/Molunerfinn/PicGo/issues/653) [#658](https://github.com/Molunerfinn/PicGo/issues/658)
* disable plugin need reload app ([a1b70b4](https://github.com/Molunerfinn/PicGo/commit/a1b70b4))
* fix analytics value ([06d40ef](https://github.com/Molunerfinn/PicGo/commit/06d40ef))
* windows cli uploading bug ([321e339](https://github.com/Molunerfinn/PicGo/commit/321e339)), closes [#657](https://github.com/Molunerfinn/PicGo/issues/657)


### :package: Chore

* add main process hot reload ([3fd6e4e](https://github.com/Molunerfinn/PicGo/commit/3fd6e4e))
* fix eslint error notice in indent ([69e1dc8](https://github.com/Molunerfinn/PicGo/commit/69e1dc8))



# :tada: 2.3.0-beta.5 (2021-04-04)


### :sparkles: Features

* add local plugin support && npm registry/proxy support ([f0e1fa1](https://github.com/Molunerfinn/PicGo/commit/f0e1fa1))
* 为Linux系统适配桌面图标栏(Tray) ([#603](https://github.com/Molunerfinn/PicGo/issues/603)) ([0fe3ade](https://github.com/Molunerfinn/PicGo/commit/0fe3ade))


### :bug: Bug Fixes

* default github placeholder ([51d80a6](https://github.com/Molunerfinn/PicGo/commit/51d80a6))


### :package: Chore

* change travis-ci -> GitHub Actions ([064f37d](https://github.com/Molunerfinn/PicGo/commit/064f37d))



# :tada: 2.3.0-beta.4 (2020-12-19)


### :sparkles: Features

* add global value for PicGo get GUI_VERSION & CORE_VERSION ([eab014d](https://github.com/Molunerfinn/PicGo/commit/eab014d))
* **config:** auto configuration backup & fallback to avoid main process crash ([32b8b97](https://github.com/Molunerfinn/PicGo/commit/32b8b97)), closes [#568](https://github.com/Molunerfinn/PicGo/issues/568)


### :bug: Bug Fixes

* disabled plugin won't be shown in plugin page ([33fdb16](https://github.com/Molunerfinn/PicGo/commit/33fdb16))
* shortKeyConfig maybe undefined ([7b5e5ef](https://github.com/Molunerfinn/PicGo/commit/7b5e5ef)), closes [#557](https://github.com/Molunerfinn/PicGo/issues/557)
* url encode before uploading by url ([ce2b5cd](https://github.com/Molunerfinn/PicGo/commit/ce2b5cd)), closes [#581](https://github.com/Molunerfinn/PicGo/issues/581)


### :pencil: Documentation

* add flutter-picgo ([92ff282](https://github.com/Molunerfinn/PicGo/commit/92ff282))
* add gitads ([2d42381](https://github.com/Molunerfinn/PicGo/commit/2d42381))
* rm gitads ([bb90e17](https://github.com/Molunerfinn/PicGo/commit/bb90e17))
* update discussions in doc ([e793599](https://github.com/Molunerfinn/PicGo/commit/e793599))
* update install command by Homebrew ([#599](https://github.com/Molunerfinn/PicGo/issues/599)) ([bd2311b](https://github.com/Molunerfinn/PicGo/commit/bd2311b))
* update README.md ([#555](https://github.com/Molunerfinn/PicGo/issues/555)) ([2151857](https://github.com/Molunerfinn/PicGo/commit/2151857))



# :tada: 2.3.0-beta.3 (2020-07-12)


### :bug: Bug Fixes

* choose default picBed failure ([21d3942](https://github.com/Molunerfinn/PicGo/commit/21d3942)), closes [#537](https://github.com/Molunerfinn/PicGo/issues/537)
* shortkey disabled failure ([4f0809e](https://github.com/Molunerfinn/PicGo/commit/4f0809e)), closes [#534](https://github.com/Molunerfinn/PicGo/issues/534)



# :tada: 2.3.0-beta.2 (2020-07-12)


### :sparkles: Features

* add qrcode for picbeds' config ([7fabc47](https://github.com/Molunerfinn/PicGo/commit/7fabc47))


### :bug: Bug Fixes

* encoding the result of picgo-server ([db71139](https://github.com/Molunerfinn/PicGo/commit/db71139))
* initialize db bugs ([5f87018](https://github.com/Molunerfinn/PicGo/commit/5f87018))


### :pencil: Documentation

* update readme ([1c5880a](https://github.com/Molunerfinn/PicGo/commit/1c5880a))



# :tada: 2.3.0-beta.1 (2020-06-28)


### :bug: Bug Fixes

* auto-copy option && copy style ([b6e3adb](https://github.com/Molunerfinn/PicGo/commit/b6e3adb))
* beta version update bug ([18ad542](https://github.com/Molunerfinn/PicGo/commit/18ad542))
* paste url encoding bug ([59d3eba](https://github.com/Molunerfinn/PicGo/commit/59d3eba)), closes [#454](https://github.com/Molunerfinn/PicGo/issues/454)


### :pencil: Documentation

* update FAQ && ISSUE_TEMPLATE ([2c57a27](https://github.com/Molunerfinn/PicGo/commit/2c57a27))
* update readme ([2adff1e](https://github.com/Molunerfinn/PicGo/commit/2adff1e))



# :tada: 2.3.0-beta.0 (2020-04-30)


### :sparkles: Features

* add autoCopy option for users to use or not ([67e526f](https://github.com/Molunerfinn/PicGo/commit/67e526f))
* add beta-version update support ([ad6acd8](https://github.com/Molunerfinn/PicGo/commit/ad6acd8))
* add smms-v2 support ([3f3ea69](https://github.com/Molunerfinn/PicGo/commit/3f3ea69))
* add uploading image from URL support ([a28c678](https://github.com/Molunerfinn/PicGo/commit/a28c678))
* finish all-select && shift multi-select ([2aeca50](https://github.com/Molunerfinn/PicGo/commit/2aeca50)), closes [#342](https://github.com/Molunerfinn/PicGo/issues/342)


### :bug: Bug Fixes

* confused port number auto increasing when opening a new PicGo app ([cd70a1a](https://github.com/Molunerfinn/PicGo/commit/cd70a1a))
* correct inputbox value && remove listener ([32334e9](https://github.com/Molunerfinn/PicGo/commit/32334e9))
* give a hint when node.js is not installed ([7e86618](https://github.com/Molunerfinn/PicGo/commit/7e86618))
* right-click menu upload fails with PicGo open ([96cdfea](https://github.com/Molunerfinn/PicGo/commit/96cdfea)), closes [#415](https://github.com/Molunerfinn/PicGo/issues/415)
* some win10 upload clipboard image crash ([cc182b0](https://github.com/Molunerfinn/PicGo/commit/cc182b0))
* travis-ci bug ([b357dfb](https://github.com/Molunerfinn/PicGo/commit/b357dfb))
* url uploader bug ([96544f5](https://github.com/Molunerfinn/PicGo/commit/96544f5))


### :pencil: Documentation

* update choco install picgo ([f357557](https://github.com/Molunerfinn/PicGo/commit/f357557))
* update docs ([fd7673e](https://github.com/Molunerfinn/PicGo/commit/fd7673e))
* update readme ([fb014dd](https://github.com/Molunerfinn/PicGo/commit/fb014dd))


### :package: Chore

* update funding url ([024d9cf](https://github.com/Molunerfinn/PicGo/commit/024d9cf))



## :tada: 2.2.2 (2020-01-20)


### :bug: Bug Fixes

* picgo-server upload clipboard file's result bug ([4ebd76f](https://github.com/Molunerfinn/PicGo/commit/4ebd76f))
* releaseUrl may can't get latest version ([ee46ab1](https://github.com/Molunerfinn/PicGo/commit/ee46ab1))



## :tada: 2.2.1 (2020-01-09)


### :sparkles: Features

* add alias for plugin config name ([5a06483](https://github.com/Molunerfinn/PicGo/commit/5a06483))
* add aliyun oss options ([a33f1ad](https://github.com/Molunerfinn/PicGo/commit/a33f1ad)), closes [#347](https://github.com/Molunerfinn/PicGo/issues/347)
* **server:** add http server for uploading images by a http request ([c56d4ef](https://github.com/Molunerfinn/PicGo/commit/c56d4ef))
* add server config settings ([6b57cf7](https://github.com/Molunerfinn/PicGo/commit/6b57cf7))
* only shows visible pic-beds ([9d4d605](https://github.com/Molunerfinn/PicGo/commit/9d4d605)), closes [#310](https://github.com/Molunerfinn/PicGo/issues/310)


### :bug: Bug Fixes

* decrease title-bar z-index when config-form dialog shows ([f2750e1](https://github.com/Molunerfinn/PicGo/commit/f2750e1))
* **website:** website pictures error ([a5b6526](https://github.com/Molunerfinn/PicGo/commit/a5b6526))
* add new tray icon for macOS dark-mode ([c5adf3b](https://github.com/Molunerfinn/PicGo/commit/c5adf3b)), closes [#267](https://github.com/Molunerfinn/PicGo/issues/267)
* beforeOpen handler in windows ([cd30a6c](https://github.com/Molunerfinn/PicGo/commit/cd30a6c))
* busApi event register first && emit later ([e1a0cbb](https://github.com/Molunerfinn/PicGo/commit/e1a0cbb))
* enum type error ([4e3fa28](https://github.com/Molunerfinn/PicGo/commit/4e3fa28))
* handle empty request-body ([81e6acb](https://github.com/Molunerfinn/PicGo/commit/81e6acb))
* launch error in new structrue ([bc8e641](https://github.com/Molunerfinn/PicGo/commit/bc8e641))
* miniWindow minimize bug ([5f2b7c7](https://github.com/Molunerfinn/PicGo/commit/5f2b7c7))
* plugin config-form && default plugin logo ([514fc40](https://github.com/Molunerfinn/PicGo/commit/514fc40))
* release script ([b4f10c6](https://github.com/Molunerfinn/PicGo/commit/b4f10c6))
* removeById handler error ([c4f0a30](https://github.com/Molunerfinn/PicGo/commit/c4f0a30)), closes [#382](https://github.com/Molunerfinn/PicGo/issues/382)
* rename page not work ([29a55ed](https://github.com/Molunerfinn/PicGo/commit/29a55ed))
* save debug mode && PICGO_ENV into config file ([c6ead5b](https://github.com/Molunerfinn/PicGo/commit/c6ead5b))
* server may never start ([73870a5](https://github.com/Molunerfinn/PicGo/commit/73870a5))
* settingPage && miniPage style in windows ([3fd9572](https://github.com/Molunerfinn/PicGo/commit/3fd9572))


### :pencil: Documentation

* add note for windows electron mirror ([46a49ed](https://github.com/Molunerfinn/PicGo/commit/46a49ed))
* remove weibo picbed ([e81b8f4](https://github.com/Molunerfinn/PicGo/commit/e81b8f4))
* update installation by scoop ([91b397d](https://github.com/Molunerfinn/PicGo/commit/91b397d)), closes [#295](https://github.com/Molunerfinn/PicGo/issues/295)
* update readme ([1b3522e](https://github.com/Molunerfinn/PicGo/commit/1b3522e))
* update README ([f491209](https://github.com/Molunerfinn/PicGo/commit/f491209))
* update site ([fe9e19a](https://github.com/Molunerfinn/PicGo/commit/fe9e19a))



# :tada: 2.2.0 (2020-01-01)


### :sparkles: Features

* add alias for plugin config name ([5a06483](https://github.com/Molunerfinn/PicGo/commit/5a06483))
* add aliyun oss options ([a33f1ad](https://github.com/Molunerfinn/PicGo/commit/a33f1ad)), closes [#347](https://github.com/Molunerfinn/PicGo/issues/347)
* **server:** add http server for uploading images by a http request ([c56d4ef](https://github.com/Molunerfinn/PicGo/commit/c56d4ef))
* add server config settings ([6b57cf7](https://github.com/Molunerfinn/PicGo/commit/6b57cf7))
* only shows visible pic-beds ([9d4d605](https://github.com/Molunerfinn/PicGo/commit/9d4d605)), closes [#310](https://github.com/Molunerfinn/PicGo/issues/310)


### :bug: Bug Fixes

* beforeOpen handler in windows ([cd30a6c](https://github.com/Molunerfinn/PicGo/commit/cd30a6c))
* **website:** website pictures error ([a5b6526](https://github.com/Molunerfinn/PicGo/commit/a5b6526))
* add new tray icon for macOS dark-mode ([c5adf3b](https://github.com/Molunerfinn/PicGo/commit/c5adf3b)), closes [#267](https://github.com/Molunerfinn/PicGo/issues/267)
* busApi event register first && emit later ([e1a0cbb](https://github.com/Molunerfinn/PicGo/commit/e1a0cbb))
* decrease title-bar z-index when config-form dialog shows ([f2750e1](https://github.com/Molunerfinn/PicGo/commit/f2750e1))
* enum type error ([4e3fa28](https://github.com/Molunerfinn/PicGo/commit/4e3fa28))
* handle empty request-body ([81e6acb](https://github.com/Molunerfinn/PicGo/commit/81e6acb))
* launch error in new structrue ([bc8e641](https://github.com/Molunerfinn/PicGo/commit/bc8e641))
* plugin config-form && default plugin logo ([514fc40](https://github.com/Molunerfinn/PicGo/commit/514fc40))
* release script ([b4f10c6](https://github.com/Molunerfinn/PicGo/commit/b4f10c6))
* rename page not work ([29a55ed](https://github.com/Molunerfinn/PicGo/commit/29a55ed))
* save debug mode && PICGO_ENV into config file ([c6ead5b](https://github.com/Molunerfinn/PicGo/commit/c6ead5b))
* settingPage && miniPage style in windows ([3fd9572](https://github.com/Molunerfinn/PicGo/commit/3fd9572))


### :pencil: Documentation

* add note for windows electron mirror ([46a49ed](https://github.com/Molunerfinn/PicGo/commit/46a49ed))
* remove weibo picbed ([e81b8f4](https://github.com/Molunerfinn/PicGo/commit/e81b8f4))
* update installation by scoop ([91b397d](https://github.com/Molunerfinn/PicGo/commit/91b397d)), closes [#295](https://github.com/Molunerfinn/PicGo/issues/295)
* update readme ([1b3522e](https://github.com/Molunerfinn/PicGo/commit/1b3522e))
* update README ([f491209](https://github.com/Molunerfinn/PicGo/commit/f491209))
* update site ([fe9e19a](https://github.com/Molunerfinn/PicGo/commit/fe9e19a))



## :tada: 2.1.2 (2019-04-19)


### :sparkles: Features

* add file-name for customurl ([c59e2bc](https://github.com/Molunerfinn/PicGo/commit/c59e2bc)), closes [#173](https://github.com/Molunerfinn/PicGo/issues/173)


### :bug: Bug Fixes

* log-level filter bug ([4e02244](https://github.com/Molunerfinn/PicGo/commit/4e02244)), closes [#237](https://github.com/Molunerfinn/PicGo/issues/237)
* log-level's reset value from 'all' -> ['all'] ([3c6b329](https://github.com/Molunerfinn/PicGo/commit/3c6b329)), closes [#240](https://github.com/Molunerfinn/PicGo/issues/240) [#237](https://github.com/Molunerfinn/PicGo/issues/237)
* mini window hidden bug in linux ([466dbec](https://github.com/Molunerfinn/PicGo/commit/466dbec)), closes [#239](https://github.com/Molunerfinn/PicGo/issues/239)



## :tada: 2.1.1 (2019-04-16)


### :bug: Bug Fixes

* upload-area can't upload images ([4000cea](https://github.com/Molunerfinn/PicGo/commit/4000cea))



# :tada: 2.1.0 (2019-04-15)


### :sparkles: Features

* add commandline argvs support for picgo app ([6db86ec](https://github.com/Molunerfinn/PicGo/commit/6db86ec))
* add gui-api for remove event ([407b821](https://github.com/Molunerfinn/PicGo/commit/407b821)), closes [#201](https://github.com/Molunerfinn/PicGo/issues/201)
* add windows context menu ([e5fbe75](https://github.com/Molunerfinn/PicGo/commit/e5fbe75))
* add workflow for mac ([7f17697](https://github.com/Molunerfinn/PicGo/commit/7f17697))
* support commandline -> upload images in clipboard ([74c7016](https://github.com/Molunerfinn/PicGo/commit/74c7016))


### :bug: Bug Fixes

* qiniu area option from select group -> input ([c64959a](https://github.com/Molunerfinn/PicGo/commit/c64959a)), closes [#230](https://github.com/Molunerfinn/PicGo/issues/230)


### :pencil: Documentation

* add brew cask source ([6122e17](https://github.com/Molunerfinn/PicGo/commit/6122e17))


### :package: Chore

* add picgo bump-version ([37f1d34](https://github.com/Molunerfinn/PicGo/commit/37f1d34))


================================================
FILE: CONTRIBUTING.md
================================================
## 贡献指南

### 安装与启动

1. 使用 [yarn](https://yarnpkg.com/) 安装依赖

```bash
yarn install
```

然后通过

```bash
yarn dev
```

启动项目。

2. 只跟 Electron 主进程相关的代码请在 `src/main` 目录下添加。只跟渲染进程相关的代码请在 `src/renderer` 目录下添加。两个进程都能使用的代码请在 `src/universal` 目录下添加。 **注意**:渲染进程没有 `Node.js` 能力,所有渲染进程需要用到 `Node.js` 模块相关的代码请在 `src/main/events/picgoCoreIPC.ts` 下添加事件进行处理。

3. 所有的跨进程事件名请在 `src/universal/events/constants.ts` 里添加。

4. 所有的全局类型定义请在 `src/universal/types/` 里添加,如果是 `enum`,请在 `src/universal/types/enum.ts` 里添加。


### i18n

1. 在 `public/i18n/` 下面创建一种语言的 `yml` 文件,例如 `zh-Hans.yml`。然后参考 `zh-CN.yml` 或者 `en.yml` 编写语言文件。并注意,PicGo 会通过语言文件中的 `LANG_DISPLAY_LABEL` 向用户展示该语言的名称。

2. 在 `src/universal/i18n/index.ts` 里添加一种默认语言。其中 `label` 就是语言文件中 `LANG_DISPLAY_LABEL` 的值,`value` 是语言文件名。

3. 如果是对已有语言文件进行更新,请在更新完,务必运行一遍 `yarn gen-i18n`,确保能生成正确的语言定义文件。

### 提交代码

1. 请检查代码没有多余的注释、`console.log` 等调试代码。
2. 提交代码前,请执行命令 `git add . && yarn cz`,唤起 PicGo 的[代码提交规范工具](https://github.com/PicGo/bump-version)。通过该工具提交代码。


================================================
FILE: CONTRIBUTING_EN.md
================================================
## Contribution Guidelines

### Installation and startup

1. Use [yarn](https://yarnpkg.com/) to install dependencies

```bash
yarn install
```

then pass

```bash
yarn dev
```

Startup project.

2. 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.

3. Please add all cross-process event names in `src/universal/events/constants.ts`.

4. Please add all global type definitions in `src/universal/types/`, if it is `enum`, please add it in `src/universal/types/enum.ts`.


### i18n

1. 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.

2. 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.

3. 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.

### Submit code

1. Please check that the code has no extra comments, `console.log` and other debugging code.
2. Before submitting the code, please execute the command `git add . && yarn cz` to invoke PicGo's [Code Submission Specification Tool](https://github.com/PicGo/bump-version). Submit code through this tool.

================================================
FILE: FAQ.md
================================================
## Frequently Asked Questions / 常见问题

> While using PicGo you may run into various issues. Many of them have already been asked and resolved, so please check the [documentation](https://docs.picgo.app/gui/guide/getting-started), this FAQ, and closed [issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+is%3Aclosed) first — you will likely find the answer there.
>
> 在使用 PicGo 期间你会遇到很多问题,不过很多问题其实之前就有人提问过,也被解决,所以你可以先看看 [使用文档](https://docs.picgo.app/gui/guide/getting-started),这份 FAQ,以及那些被关闭的 [issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+is%3Aclosed),应该能找到答案。

## 1. Qiniu image host: upload succeeds but images don’t show in Album, or the URL has no `http://` prefix / 七牛图床上传图片成功后,相册里无法显示或图片无`http://`前缀

This is usually because the `Set URL` (access URL) in your Qiniu image host configuration does not include the `http://` or `https://` scheme.

Reference: [issue#79](https://github.com/Molunerfinn/PicGo/issues/79)

通常是你的七牛图床配置里的`设定访问网址`没有加上`http://`或者`https//`头。

参考:[issue#79](https://github.com/Molunerfinn/PicGo/issues/79)

## 2. Can PicGo delete images on the remote image host after upload? / 能否支持图床远端同步删除

Not at the moment. Some image hosts (e.g. Weibo image host, SM.MS, Imgur, etc.) don’t provide a backend management API, so PicGo does not support remote deletion for the sake of a consistent architecture.

暂时不支持。有些图床(比如微博图床、SM.MS、Imgur 等)不支持后台管理,为了架构统一不支持远端删除。

## 3. Can PicGo upload video files? / 能否支持上传视频文件

Some image hosts support uploading video files, but not all. Please follow the capabilities of the image host (and/or the plugin) you are actually using.

目前部分图床支持上传视频文件,但并非所有图床都支持,请以实际使用的图床以及插件为准。

## 4. Weibo image host: uploaded images don’t preview / 微博图床上传之后无法显示预览图

This is usually caused by having a global proxy enabled.

Reference: [issue36](https://github.com/Molunerfinn/PicGo/issues/36)

通常是挂了全局代理导致的。

参考:[issue36](https://github.com/Molunerfinn/PicGo/issues/36)

## 5. Can you add support for an image host? / 能否支持某某某图床

As of v1.6, PicGo supports the following built-in image hosts:

- `Weibo image host` v1.0
- `Qiniu image host` v1.0
- `Tencent Cloud COS v4/v5` v1.1 & v1.5.0
- `Upyun` v1.2.0
- `GitHub` v1.5.0
- `SM.MS` v1.5.1
- `Alibaba Cloud OSS` v1.6.0
- `Imgur` v1.6.0

PicGo itself will not add support for additional third-party image hosts as built-in features. If you need other image hosts, please refer to existing third-party [plugins](https://github.com/PicGo/Awesome-PicGo). If the one you need doesn’t exist yet, you’re welcome to develop a plugin and share it with the community.

截止 v1.6,PicGo 支持了如下图床:

- `微博图床` v1.0
- `七牛图床` v1.0
- `腾讯云 COS v4\v5 版本` v1.1 & v1.5.0
- `又拍云` v1.2.0
- `GitHub` v1.5.0
- `SM.MS` v1.5.1
- `阿里云 OSS` v1.6.0
- `Imgur` v1.6.0

所以本体内将不会再支持其他第三方图床。需要其他图床支持可以参考目前已有的三方 [插件](https://github.com/PicGo/Awesome-PicGo),如果还是没有你所需要的图床欢迎开发一个插件供大家使用。

## 6. GitHub image host uploads sometimes succeed and sometimes fail / GitHub 图床有时能上传,有时上传失败

1. The GitHub image host does not allow uploading files with the same name. If you upload a duplicate filename, you will get an error. Enable `Timestamp Rename` to avoid name collisions.
2. Due to GitHub network conditions (and the Great Firewall in mainland China), uploads may sometimes succeed and sometimes fail — there is no universal fix. For stability, consider using a paid cloud storage service such as Alibaba Cloud or Tencent Cloud; they are usually inexpensive.

1. GitHub 图床不支持上传同名文件,如果有同名文件上传,会报错。建议开启 `时间戳重命名` 避免同名文件。
2. GitHub 服务器和国内 GFW 的问题会导致有时上传成功,有时上传失败,无解。想要稳定请使用付费云存储,如阿里云、腾讯云等,价格也不会贵。

## 7. Can’t open PicGo’s main window on macOS / Mac 上无法打开 PicGo 的主窗口界面

On macOS, PicGo is a menu bar app, so it won’t show an icon in the Dock by default. To open the main window, right-click (or two-finger click) the PicGo menu bar icon and choose “Open Main Window”.

Starting from v2.4.1, PicGo lets you hide the Dock icon (`showDockIcon`) and the menu bar icon (`showMenubarIcon`) separately. If you turn both off (set both to `false`), you won’t be able to find the UI via either the Dock or the menu bar.

How to recover manually:

1. Locate and edit PicGo’s config file `data.json`.
    - If you can still open the settings page: PicGo Settings -> “Open Config File”.
    - If you can’t find the UI: the default location is usually `~/Library/Application Support/PicGo/data.json` (if you configured a custom path, follow `configPath`).
2. Set either field below to `true` (it’s recommended to keep at least one of them `true`). Do not modify other fields.
3. Save and restart PicGo.

PicGo 在 Mac 上是一个顶部栏应用,在 dock 栏是不会有图标的。要打开主窗口,请右键或者双指点按顶部栏 PicGo 图标,选择「打开详细窗口」即可打开主窗口。

从 v2.4.1 开始,PicGo 支持在 macOS 下分别隐藏 Dock 栏图标(`showDockIcon`)和顶部栏图标(`showMenubarIcon`)。如果你把这两个配置都关闭(都设为 `false`),将会导致你无法通过 Dock 或顶部栏找到 PicGo 主界面。

手动恢复方法:

1. 找到并编辑 PicGo 的配置文件 `data.json`。
    - 如果还能打开设置页:PicGo 设置 -> 「打开配置文件」。
    - 如果已经找不到界面:默认配置文件通常在 `~/Library/Application Support/PicGo/data.json`(如果你曾配置过自定义路径,则以配置里的 `configPath` 为准)。
2. 把以下任意一个字段改为 `true`(建议至少保留一个为 `true`),同时不要删改其他字段:

```json
{
   "settings": {
      // other settings ...
      "showDockIcon": true,
      "showMenubarIcon": true
   }
}
```

3. 保存后重启 PicGo。

## 8. Upload failed, or server returned an error / 上传失败,或者是服务器出错

1. PicGo’s built-in image hosts are tested; upload errors are usually not caused by PicGo itself. If you are using the GitHub image host, see FAQ #6.
2. Check PicGo logs (PicGo Settings -> Log File -> Open) and look for key information in `[PicGo Error]`.
   1. Search the error message first — you can often find the root cause via search engines without opening an issue.
   2. If you see `401`, `403`, or other `40X` status codes, it almost certainly means your configuration is wrong. Double-check for typos, trailing spaces, etc.
   3. If you see `HttpError`, `RequestError`, `socket hang up`, etc., that indicates a network issue. Please check your network, proxy, and DNS settings.
3. Upload failures caused by network issues are often due to incorrect proxy settings. If you enabled a system proxy, it’s recommended to also configure the corresponding HTTP proxy in PicGo. See [#912](https://github.com/Molunerfinn/PicGo/issues/912)

1. PicGo 自带的图床都经过测试,上传出错一般都不是 PicGo 自身的原因。如果你用的是 GitHub 图床请参考上面的第 6 点。
2. 检查 PicGo 的日志(报错日志可以在 PicGo 设置 -> 设置日志文件 -> 点击打开 后找到),看看 `[PicGo Error]` 的报错信息里有什么关键信息
   1. 先自行搜索 error 里的报错信息,往往你能百度或者谷歌出问题原因,不必开 issue。
   2. 如果有带有 `401` 、`403` 等 `40X` 状态码字样的,不用怀疑,就是你配置写错了,仔细检查配置,看看是否多了空格之类的。
   3. 如果带有 `HttpError`、`RequestError` 、 `socket hang up` 等字样的说明这是网络问题,我无法帮你解决网络问题,请检查你自己的网络,是否有代理,DNS 设置是否正常等。
3. 通常网络问题引起的上传失败都是因为代理设置不当导致的。如果开启了系统代理,建议同时也在 PicGo 的代理设置中设置对应的HTTP代理。参考 [#912](https://github.com/Molunerfinn/PicGo/issues/912)

## 9. Installed on macOS but there is no main UI window / macOS版本安装完之后没有主界面

Find the PicGo icon in the macOS menu bar, then right-click (two-finger click on trackpad) to open the menu and choose “Open Main Window”.

请找到PicGo在顶部栏的图标,然后右键(触摸板双指点按,或者鼠标右键),即可找到「打开详细窗口」的菜单。

## 10. Album suddenly can’t show images, or doesn’t refresh after upload, or Typora + PicGo upload succeeds but doesn’t write back / 相册突然无法显示图片 或者 上传后相册不更新 或者 使用Typora+PicGo上传图片成功但是没有写回Typora

This may be caused by a corrupted album database. Locate `picgo.db` under your PicGo config directory, delete it (backup first if needed), then restart PicGo.

Also check the log file for errors and open an issue if necessary. Versions >= 2.3.0 have addressed issues caused by a corrupted `picgo.db`, so upgrading is recommended.

这个原因可能是相册存储文件损坏导致的。可以找到 PicGo 配置文件所在路径下的 `picgo.db` ,将其删掉(删掉前建议备份一遍),再重启 PicGo 试试。
注意同时看看日志文件里有没有什么error,必要时可以提issue。2.3.0以上的版本已经解决因为 `picgo.db` 损坏导致的上述问题,建议更新版本。

## 11. Gitee-related issues / Gitee相关问题

If you run into upload issues with the Gitee image host, PicGo cannot help because PicGo does not provide an official Gitee uploader. Please open an issue in the repository of the Gitee plugin you are using.

如果在使用 Gitee 图床的时候遇到上传的问题,由于 PicGo 并没有官方提供 Gitee 上传服务,无法帮你解决,请去你所使用的 Gitee 插件仓库发相关的issue。

## 12. On macOS, PicGo shows “App is damaged”, or it doesn’t respond after installation / macOS系统安装完PicGo显示「文件已损坏」或者安装完打开没有反应

Please try the version >= v2.4.2, which has fixed this issue.

请尝试使用 v2.4.2 及以上版本,已经修复该问题。


## 13. Are third-party plugins claiming to be “PicGo Official image host” trustworthy? / 所谓「PicGo 官方图床」的第三方插件是否可信

No. Any third-party plugin that claims to be a “PicGo Official image host” (including, but not limited to, www.picgo.net) is not an official PicGo image host or service. Please do not trust such claims.

An official PicGo image host (if any) would be built into PicGo out of the box — it would not require you to download and install a “third-party plugin”, and it would not direct you to an unknown website to purchase or configure a so-called “official image host”. If you choose to use third-party image hosts, please prefer community plugins from reputable sources and assess their safety yourself.

不可信。所有打着「PicGo 官方图床」旗号的第三方插件(包括不限于 www.picgo.net 等)都不是 PicGo 官方提供的图床或服务,请勿轻信。

PicGo 不会以“第三方插件”的形式要求你另外下载安装所谓的 PicGo 官方图床。如果 PicGo 真的做了官方图床,一定是开箱即用的内置在本体里的。如果你需要使用第三方图床,请优先参考 PicGo 官方维护的插件集合与社区仓库,并自行甄别来源与安全性。

## 14. SM.MS migrated to S.EE: how should I update my config? / SM.MS 迁移到 S.EE 后,配置应该怎么改?

SM.MS uploader has migrated to **S.EE** and changed from the original free plan to a paid service.

To continue uploading normally:

1. Get your API token from [https://s.ee/user/dashboard/](https://s.ee/user/dashboard/).
2. Check your `picBed.smms.backupDomain`:
   - if it is an old domain such as `sm.ms` or `smms.app`, remove this field, or
   - change it to `s.ee`.

SM.MS 上传器已迁移到 **S.EE**,并且服务已从原本免费改为收费。

如需继续正常上传:

1. 到 [https://s.ee/user/dashboard/](https://s.ee/user/dashboard/) 获取 API Token。
2. 检查你的 `picBed.smms.backupDomain`:
   - 如果是旧域名(如 `sm.ms`、`smms.app`),请删除该字段,或
   - 改为 `s.ee`。


================================================
FILE: LICENSE
================================================
The MIT License (MIT)

Copyright (c) 2017-present, Molunerfinn

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

================================================
FILE: README.md
================================================
<div align="center" markdown="1">
  <sup>Special thanks to:</sup>
  <br>
  <a href="https://go.warp.dev/picgo">
    <img alt="Warp sponsorship" width="400" src="https://raw.githubusercontent.com/warpdotdev/brand-assets/refs/heads/main/Github/Sponsor/Warp-Github-LG-03.png">
  </a>

### [Warp, the intelligent terminal for developers](https://go.warp.dev/picgo)
[Available for macOS, Linux, & Windows](https://go.warp.dev/picgo)<br>

</div>

<div align="center" markdown="1">
  <sup>Sponsored by:</sup>
  <br>
  <a href="https://console.neon.tech/app/?promo=PicGo">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg">
      <source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg">
      <img alt="Neon sponsorship" width="400" src="https://neon.com/brand/neon-logo-dark-color.svg">
    </picture>
  </a>

### [Fast Postgres Databases for Teams and Agents](https://console.neon.tech/app/?promo=PicGo)

</div>


---

[中文](./README_zh-CN.md) | **English**

<div align="center">
  <img src="https://raw.githubusercontent.com/Molunerfinn/test/master/picgo/New%20LOGO-150.png" alt="PicGo Logo">
  <h1>PicGo</h1>
  <h3>The Ultimate Image Uploader for Efficient Creators</h3>
  
  <p align="center">
    <a href="https://github.com/Molunerfinn/PicGo/actions">
      <img src="https://img.shields.io/badge/code%20style-standard-green.svg?style=flat-square" alt="">
    </a>
    <a href="https://github.com/Molunerfinn/PicGo/actions">
      <img src="https://github.com/Molunerfinn/PicGo/actions/workflows/main.yml/badge.svg" alt="">
    </a>
    <a href="https://github.com/Molunerfinn/PicGo/releases">
      <img src="https://img.shields.io/github/downloads/Molunerfinn/PicGo/total.svg?style=flat-square" alt="">
    </a>
    <a href="https://github.com/Molunerfinn/PicGo/releases/latest">
      <img src="https://img.shields.io/github/release/Molunerfinn/PicGo.svg?style=flat-square" alt="">
    </a>
    <a href="https://github.com/PicGo/bump-version">
      <img src="https://img.shields.io/badge/picgo-convention-blue.svg?style=flat-square" alt="">
    </a>
  </p>
</div>

## 📖 Overview

**PicGo aims to make image uploading a seamless part of your creative workflow.**

Whether you’re writing a blog post, taking notes, or authoring developer docs, PicGo helps you upload images in one step and automatically copies the resulting link—so you can stay focused on creating, not uploading.

### Supported Image hosts

PicGo supports mainstream Image hosts out of the box, and can be extended indefinitely through its plugin system:

- **China cloud vendors**: Qiniu, Tencent Cloud COS, UPYUN, Alibaba Cloud OSS
- **International / open platforms**: GitHub, SM.MS(S.EE), Imgur
- **More options via plugins**: AWS S3, Cloudflare R2, MinIO, and more

> **Note**: PicGo itself will no longer add new third-party Image hosts by default. You can build Image host plugins yourself—see [PicGo-Core](https://docs.picgo.app/core/).

## ✨ Key Features

PicGo is built around a fast, low-friction image upload experience:

### ⚡ Smooth writing flow
- **Auto-copy links**: once an upload finishes, the link is copied to your clipboard automatically.
- **Flexible formats**: Markdown, HTML, URL, custom templates—paste directly into any editor.
- **Zero-Context Switching**: Don't switch windows. Just paste images directly into your favorite editor, and let PicGo handle the upload in the background.
  - _Enable this workflow via native support or community plugins:_ [Obsidian](https://obsidian.md) \ [VS Code](https://code.visualstudio.com/) \ [Typora](https://typora.io/) \ [Neovim](https://neovim.io/) \ [MarkText](https://marktext.me/) \ [SiYuan](https://b3log.org/siyuan/en/) \ And more...

### 🚀 Fast uploads
- **Multiple ways to upload**: drag & drop, paste from clipboard, hotkeys, and even right-click context menu upload on macOS/Windows.
- **Global hotkey**: press `Command+Shift+U` (macOS) / `Ctrl+Shift+U` (Windows/Linux) to open the upload window without leaving your current app. The global key can be customized.

### 🧩 Powerful plugin ecosystem
- **Highly extensible**: plugins already exist for AWS S3, Cloudflare R2, MinIO, and many other Image hosts.
- **Even more possibilities**: image compression, watermarking, renaming, Markdown image migration, and more.
  - Explore plugins: [Awesome-PicGo](https://github.com/PicGo/Awesome-PicGo)

### 🛠 Developer-friendly
- **HTTP API**: upload via HTTP requests (v2.2.0+), making it easy to integrate with other tools.
- **Open source**: fully open-source and transparent.
- **Great documentation**: detailed docs help you get started quickly. For plugin development, see the [PicGo-Core docs](https://docs.picgo.app/core/).

> There’s more to discover—development progress is tracked in [Projects](https://github.com/Molunerfinn/PicGo/projects).

If you’re new to PicGo, start with the [User Guide](https://docs.picgo.app/gui/guide/getting-started). If you run into issues, check the [FAQ](https://github.com/Molunerfinn/PicGo/blob/dev/FAQ.md) and closed [issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+is%3Aclosed).

## Download & Install

| Source                                                    | Link / Installation                                         | Platform   | Notes                                   |
| --------------------------------------------------------- | ----------------------------------------------------------- | ---------- | --------------------------------------- |
| GitHub Releases                                           | https://github.com/Molunerfinn/PicGo/releases               | All        | Downloads may be slow in mainland China |
| [Shandong University mirror](https://mirrors.sdu.edu.cn/) | https://mirrors.sdu.edu.cn/github-release/Molunerfinn_PicGo | All        | Thanks to the mirror for hosting        |
| [Scoop](https://scoop.sh/)                                | `scoop bucket add extras` & `scoop install picgo`           | Windows    | Thanks to @huangnauh and @Gladtbam      |
| [Chocolatey](https://chocolatey.org/)                     | `choco install picgo`                                       | Windows    | Thanks to @iYato                        |
| [Homebrew](https://brew.sh/)                              | `brew install picgo --cask`                                 | macOS      | Thanks to @womeimingzi11                |
| [AUR](https://aur.archlinux.org/packages/yay)             | `yay -S picgo-appimage`                                     | Arch Linux | Thanks to @houbaron                     |
| [Nix](https://search.nixos.org/packages?channel=unstable&query=picgo&show=picgo) | `nix-shell -p picgo`                 | Nix/NixOS  | Thanks to @qrzbing                      |

## Screenshots

![](https://raw.githubusercontent.com/Molunerfinn/test/master/picgo/picgo-2.0.gif)

![picgo-menubar](https://user-images.githubusercontent.com/12621342/34242310-b5056510-e655-11e7-8568-60ffd4f71910.gif)

## Development

> Currently tested on macOS and Windows only. Linux has not been fully tested.

If you want to learn, contribute, modify, or build PicGo yourself:

> For an Electron-vue learning series, see: [Electron-vue development](https://molunerfinn.com/tags/Electron-vue/)

1. Install Node.js and Git, and make sure you’re familiar with npm basics.
2. Clone the repo: `git clone https://github.com/Molunerfinn/PicGo.git` and enter the directory.
3. Install dependencies with `pnpm`. If you don’t have it yet, install it from the [pnpm website](https://pnpm.io/installation) first.
4. On macOS you’ll need Xcode; on Windows you’ll need Visual Studio.
5. For contributing, see [CONTRIBUTING.md](./CONTRIBUTING.md).

### Development mode

Run `pnpm run dev` to start the dev workflow with hot reload. Note: dev mode can be unstable and the process may crash—if that happens:

```bash
ctrl+c # stop dev mode
pnpm run dev # restart
```

> On Windows, after dev mode starts, PicGo’s tray icon will appear in the bottom-right system tray area.

### Production build

To build release artifacts locally, run `pnpm run build`. After a successful build, the installer files will be generated under `dist`.

**Note**: If your network is unstable, `electron-builder` may fail to download Electron binaries. You can set an alternative mirror before building:

```bash
export ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
# On Windows: set ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ (no quotes)
pnpm run build
```

Electron binaries are stored under `~/.electron/`. If you need to refresh them, delete that directory and rebuild.

## Related Projects

- [vs-picgo](https://github.com/PicGo/vs-picgo): PicGo for VS Code.
- [flutter-picgo](https://github.com/PicGo/flutter-picgo): mobile app (Android & iOS).
- [PicHoro](https://github.com/Kuingsmile/PicHoro): another mobile app compatible with PicGo config (Android only for now).

## Sponsorship

If you like PicGo and it helps your workflow, feel free to buy me a coffee.

Alipay:

![](https://user-images.githubusercontent.com/12621342/34188165-e7cdf372-e56f-11e7-8732-1338c88b9bb7.jpg)

WeChat Pay:

![](https://user-images.githubusercontent.com/12621342/34188201-212cda84-e570-11e7-9b7a-abb298699d85.jpg)

GitHub Sponsors:

[![Sponsor PicGo on GitHub](https://img.shields.io/badge/Sponsor-PicGo-blue.svg?style=flat-square)](https://github.com/sponsors/Molunerfinn)

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2017 - Now Molunerfinn


================================================
FILE: README_zh-CN.md
================================================
<div align="center" markdown="1">
  <sup>Special thanks to:</sup>
  <br>
  <a href="https://go.warp.dev/picgo">
    <img alt="Warp sponsorship" width="400" src="https://raw.githubusercontent.com/warpdotdev/brand-assets/refs/heads/main/Github/Sponsor/Warp-Github-LG-03.png">
  </a>

### [Warp, the intelligent terminal for developers](https://go.warp.dev/picgo)
[Available for macOS, Linux, & Windows](https://go.warp.dev/picgo)<br>

</div>

<div align="center" markdown="1">
  <sup>Sponsored by:</sup>
  <br>
  <a href="https://console.neon.tech/app/?promo=PicGo">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg">
      <source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg">
      <img alt="Neon sponsorship" width="400" src="https://neon.com/brand/neon-logo-dark-color.svg">
    </picture>
  </a>

### [Fast Postgres Databases for Teams and Agents](https://console.neon.tech/app/?promo=PicGo)

</div>

---

**中文** | [English](./README.md)

<div align="center">
  <img src="https://raw.githubusercontent.com/Molunerfinn/test/master/picgo/New%20LOGO-150.png" alt="PicGo Logo">
  <h1>PicGo</h1>
  <h3>高效创作者的最佳图片上传工具</h3>
  <p>The Ultimate Image Uploader for Efficient Creators</p>
  
  <p align="center">
    <a href="https://github.com/Molunerfinn/PicGo/actions">
      <img src="https://img.shields.io/badge/code%20style-standard-green.svg?style=flat-square" alt="">
    </a>
    <a href="https://github.com/Molunerfinn/PicGo/actions">
      <img src="https://github.com/Molunerfinn/PicGo/actions/workflows/main.yml/badge.svg" alt="">
    </a>
    <a href="https://github.com/Molunerfinn/PicGo/releases">
      <img src="https://img.shields.io/github/downloads/Molunerfinn/PicGo/total.svg?style=flat-square" alt="">
    </a>
    <a href="https://github.com/Molunerfinn/PicGo/releases/latest">
      <img src="https://img.shields.io/github/release/Molunerfinn/PicGo.svg?style=flat-square" alt="">
    </a>
    <a href="https://github.com/PicGo/bump-version">
      <img src="https://img.shields.io/badge/picgo-convention-blue.svg?style=flat-square" alt="">
    </a>
  </p>
</div>

## 📖 应用概述

**PicGo 致力于将图片上传无缝集成到你的创作工作流中。**

无论你是写博客、做笔记还是编写开发文档,PicGo 都能帮你一键上传图片并自动复制链接,让你专注于内容创作本身,而不是繁琐的上传步骤。

### 核心支持

PicGo 原生支持主流图床平台,并可通过插件系统无限扩展:

- **国内云厂商**:七牛云、腾讯云 COS、又拍云、阿里云 OSS
- **国际/开源平台**:GitHub、SM.MS(S.EE)、Imgur
- **更多支持**:通过插件支持 AWS S3、Cloudflare R2、MinIO 等第三方图床

> **注意**:PicGo 本体不再增加默认的第三方图床支持。你可以自行开发第三方图床插件。详见 [PicGo-Core](https://docs.picgo.app/core/)。

## ✨ 特色功能

PicGo 打造了全方位的上传体验,让“传图”这件事变得前所未有的简单:

### ⚡️ 无缝写作流
- **自动复制链接**:上传成功后,链接会自动复制到你的剪贴板。
- **格式随心定义**:支持 Markdown、HTML、URL、自定义等多种格式,粘贴即用,完美适配你的编辑器。
- **零上下文切换**:无需切换窗口。在你常用的编辑器里直接粘贴图片,让 PicGo 在后台完成上传。
  - _通过原生支持或社区插件开启该工作流:_ [Obsidian](https://obsidian.md) \ [VS Code](https://code.visualstudio.com/) \ [Typora](https://typora.io/) \ [Neovim](https://neovim.io/) \ [MarkText](https://marktext.me/) \ [SiYuan](https://b3log.org/siyuan/en/) \ 等等……

### 🚀 极速上传体验
- **多维上传方式**:支持拖拽图片、剪贴板粘贴、快捷键上传,甚至在 macOS/Windows 上支持右键菜单直接上传。
- **全局快捷键**:默认 `Command+Shift+U` (macOS) / `Ctrl+Shift+U` (Windows/Linux) 即可唤起上传,无需离开当前窗口。 快捷键可自定义。

### 🧩 强大的插件生态
- **高度可扩展**:PicGo 拥有丰富的插件系统,已有插件支持 AWS S3、Cloudflare R2、MinIO 等第三方图床。
- **更多可能**:支持图片压缩、水印、重命名、Markdown 图片迁移等功能插件。
  - 探索更多插件:[Awesome-PicGo](https://github.com/PicGo/Awesome-PicGo)

### 🛠 开发者友好
- **HTTP API**:支持通过 HTTP 请求调用 PicGo 上传 (v2.2.0+),方便与其他工具集成。
- **开源透明**:代码完全开源,安全可靠。
- **丰富的文档**:详尽的开发文档助你快速上手。插件开发请参考 [PicGo-Core 文档](https://docs.picgo.app/core/)。

> 更多功能等你自己去发现,开发进度可以查看 [Projects](https://github.com/Molunerfinn/PicGo/projects)。

**如果第一次使用,请参考应用 [使用文档](https://docs.picgo.app/gui/guide/getting-started)。遇到问题了还可以看看 [FAQ](https://github.com/Molunerfinn/PicGo/blob/dev/FAQ.md) 以及被关闭的 [issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+is%3Aclosed)。**

## 下载安装

| 下载源                                        | 地址/安装方式                                               | 平台       | 备注                                                              |
| --------------------------------------------- | ----------------------------------------------------------- | ---------- | ----------------------------------------------------------------- |
| GitHub Release                                | https://github.com/Molunerfinn/PicGo/releases               | All        | 国内下载速度可能会慢                                              |
| [山东大学镜像站](https://mirrors.sdu.edu.cn/) | https://mirrors.sdu.edu.cn/github-release/Molunerfinn_PicGo | All        | 感谢 [山东大学镜像站](https://mirrors.sdu.edu.cn/) 提供的镜像支持 |
| [Scoop](https://scoop.sh/)                    | `scoop bucket add extras` & `scoop install picgo`           | Windows    | 感谢 @huangnauh 和 @Gladtbam 的贡献                               |
| [Chocolatey](https://chocolatey.org/)         | `choco install picgo`                                       | Windows    | 感谢 @iYato 的贡献                                                |
| [Homebrew](https://brew.sh/)                  | `brew install picgo --cask`                                 | macOS      | 感谢 @womeimingzi11 的贡献                                        |
| [AUR](https://aur.archlinux.org/packages/yay) | `yay -S picgo-appimage`                                     | Arch-Linux | 感谢 @houbaron 的贡献                                             |
| [Nix](https://search.nixos.org/packages?channel=unstable&query=picgo&show=picgo) | `nix-shell -p picgo`     | Nix/NixOS  | 感谢 @qrzbing 的贡献                                              |

## 应用截图

![](https://raw.githubusercontent.com/Molunerfinn/test/master/picgo/picgo-2.0.gif)

![picgo-menubar](https://user-images.githubusercontent.com/12621342/34242310-b5056510-e655-11e7-8568-60ffd4f71910.gif)

## 开发说明

> 目前仅针对 Mac、Windows。Linux 平台并未测试。

如果你想要学习、开发、修改或自行构建 PicGo,可以依照下面的指示:

> 如果想学习 Electron-vue 的开发,可以查看我写的系列教程——[Electron-vue 开发实战](https://molunerfinn.com/tags/Electron-vue/)

1. 你需要有 Node、Git 环境,了解 npm 的相关知识。
2. `git clone https://github.com/Molunerfinn/PicGo.git` 并进入项目。
3. `pnpm` 下载依赖。注意如果你没有 `pnpm`,请去 [官网](https://pnpm.io/installation) 下载安装后再使用。 **用 `pnpm install` 将导致未知错误!**
4. Mac 需要有 Xcode 环境,Windows 需要有 VS 环境。
5. 如果需要贡献代码,可以参考[贡献指南](./CONTRIBUTING.md)。

### 开发模式

输入 `pnpm run dev` 进入开发模式,开发模式具有热重载特性。不过需要注意的是,开发模式不稳定,会有进程崩溃的情况。此时需要:

```bash
ctrl+c # 退出开发模式
pnpm run dev # 重新进入开发模式
```

**注:Windows 开发模式运行之后会在底部任务栏的右下角应用区出现 PicGo 的应用图标。**

### 生产模式

如果你需要自行构建,可以 `pnpm run build` 开始进行构建。构建成功后,会在 `dist` 目录里出现构建成功的相应安装文件。

**注意**:如果你的网络环境不太好,可能会出现 `electron-builder` 下载 `electron` 二进制文件失败的情况。这个时候需要在 build 之前指定一下 `electron` 的源为国内源:

```bash
export ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
# 在 Windows 上,则可以使用 set ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ (无需引号)
pnpm run build
```

只需第一次构建的时候指定一下国内源即可。后续构建不需要特地指定。二进制文件下载在 `~/.electron/` 目录下。如果想要更新 `electron` 构建版本,可以删除 `~/.electron/` 目录,然后重新运行上一步,让 `electron-builder `去下载最新的 `electron` 二进制文件。

## 其他相关

- [vs-picgo](https://github.com/PicGo/vs-picgo):PicGo 的 VS Code 版。
- [flutter-picgo](https://github.com/PicGo/flutter-picgo):PicGo 的手机版 App(支持 Android 和 iOS )。
- [PicHoro](https://github.com/Kuingsmile/PicHoro):另一款支持 PicGo 配置的手机版 App(暂时只支持 Android)。

## 赞助

如果你喜欢 PicGo 并且它对你确实有帮助,欢迎给我打赏一杯咖啡哈~

支付宝:

![](https://user-images.githubusercontent.com/12621342/34188165-e7cdf372-e56f-11e7-8732-1338c88b9bb7.jpg)

微信:

![](https://user-images.githubusercontent.com/12621342/34188201-212cda84-e570-11e7-9b7a-abb298699d85.jpg)

GitHub Sponsors:

[![Sponsor PicGo on GitHub](https://img.shields.io/badge/Sponsor-PicGo-blue.svg?style=flat-square)](https://github.com/sponsors/Molunerfinn)

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2017 - Now Molunerfinn


================================================
FILE: babel.config.js
================================================
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: ['@babel/plugin-proposal-optional-chaining']
}


================================================
FILE: build/entitlements.mac.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <!-- 允许 JIT (Electron 必须) -->
    <key>com.apple.security.cs.allow-jit</key>
    <true/>
    
    <!-- 允许加载未签名的动态库 (插件、原生模块必须) -->
    <key>com.apple.security.cs.disable-library-validation</key>
    <true/>
    
    <!-- 允许执行内存中可写的页 (部分 Electron 版本需要) -->
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
    <true/>
  </dict>
</plist>


================================================
FILE: build/installer.nsh
================================================
!macro customInstall
   SetRegView 64
   WriteRegStr HKCR "*\shell\PicGo" "" "Upload pictures w&ith PicGo"
   WriteRegStr HKCR "*\shell\PicGo" "Icon" "$INSTDIR\PicGo.exe"
   WriteRegStr HKCR "*\shell\PicGo\command" "" '"$INSTDIR\PicGo.exe" "upload" "%1"'
   SetRegView 32
   WriteRegStr HKCR "*\shell\PicGo" "" "Upload pictures w&ith PicGo"
   WriteRegStr HKCR "*\shell\PicGo" "Icon" "$INSTDIR\PicGo.exe"
   WriteRegStr HKCR "*\shell\PicGo\command" "" '"$INSTDIR\PicGo.exe" "upload" "%1"'
!macroend
!macro customUninstall
   DeleteRegKey HKCR "*\shell\PicGo"
!macroend


================================================
FILE: changelog/2.4.0.md
================================================
# PicGo 2.4.0 Changelog

## Features
- Add filename display in the gallery (#1050)
  - Add default placeholders when images/URLs cannot be shown in the gallery or tray window (#1050)
  ![image](https://user-images.githubusercontent.com/12621342/210806238-e77bc3b1-5e32-4c9f-af5c-278c5706450d.png)
- Add filename display in the macOS tray window (#1054)
  - Allow multiple configs per uploader type and choose one for upload (thanks @STDSuperman, #1016)
  ![](https://user-images.githubusercontent.com/44311619/203093104-9537e08a-2ef0-450d-a59d-c470dbcdd6c8.png)
- Allow the uploader selection menu to pick a specific config entry for that uploader type
  ![image](https://user-images.githubusercontent.com/12621342/210804413-4f78804f-a451-4ca5-93a3-63d461261b18.png)
- Add Dock icon visibility option (#1045)
  <img width="787" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/bb9492f1-6522-45ce-ae5d-c614901d8b06" />
- Add PicGo Repair Toolbox for self-diagnosis
  <img width="324" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/98cf6e64-7313-4ebe-83d0-aa86e4514109" />
- Add option to encode/escape output URLs (#731)
  <img width="775" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/6e0c13dd-3404-4b07-9c99-412321835b27" />
- Support drag-and-drop uploads for arbitrary file formats (#1052)
- Tencent COS: add Endpoint and Intelligent Compression settings (thanks @palmcivet @yc910920)
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/6e623751-d330-47f8-89bc-986031452914)
- Add Markdown-rendered tips for uploader config (see tcyun uploader config)
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/2f9b8734-717a-4f49-b397-1ddb9437bc3c)
- Show the active uploader config name in the upload screen
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/52c58fff-4810-4b91-92d7-5ade512eaca8)
- Gallery toolbar: bulk replace image URL host (#875)
  Note: select images first; you can filter by uploader; e.g., replace `https://www.a.com/...` with `https://www.b.com/...`
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/ee314dfc-7699-4ceb-8638-cafe7948bd5a)
- Add “Startup Mode”: Silent (default) / Main Window; Windows/Linux also support Mini Window (#915)
  <img width="577" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/7e63bb5c-44b0-480e-824f-3c2edbed4fbb" />
- PicGo Server: support multipart form uploads (field `files`, #428, thanks @happy-game)
  <img width="951" alt="image" src="https://github.com/user-attachments/assets/14244f1d-60f5-487f-bde6-6d0e009645fb" />

## Bug Fixes
- Fix Windows context-menu config script generation (#1019)
- Fix custom link URL encoding (#1112)
- Fix potential logging dead loop (#1101)
- Fix drag-to-tray upload error (#1107)
- Fix filename encoding (#1121)
- Prevent errors on GitHub uploads with duplicate filenames
- Fix beta.2 style issues
- Fix slow filename display in the rename window (#1130)
- Fix “open config file” actually opening the log file (#1163)
- Fix plugin config dialog not reading/saving correctly
- Fix inability to add new uploader configs (created as edit) (#1198, #1196)
- Fix macOS context menu disappearing (thanks @muwoo, #1179)
- Fix macOS tray window flashing after right-click (thanks @QThans, #1217)
- Fix uploader config page not scrollable when many fields (#1237)
- Fix Tencent COS URL encoding (#1265)
- Fix plugin list search not working (#1297)
- Fix clipboard filename losing “seconds” (#1293)
- Fix macOS tray copy-link failing on click (#1280, #1210)
- Fix auto-copy URL toggle not turning off (#1294, thanks @happy-game)
- Fix Wayland clipboard image upload issue (#1261, thanks @happy-game)
- Fix URL uploads with Chinese characters being encoded in filenames (#1339)

## Other
- COS distribution paused due to malicious traffic charges
- Upgrade to Vue3
- Refactor parts of the code
- Refactor parts of the code (again)
- Add more detailed hotkey logs (#1031)
- Known issue: some button styles were incorrect (fixed in later betas)
- Update README scoop installation section (thanks @wuhang2003)

----------

## Features
- 新增 相册页新增文件名展示,参考 #1050
- 新增 相册中和顶部栏窗口中无法展示的图片或者 url 将会展示默认图片,参考#1050
  ![image](https://user-images.githubusercontent.com/12621342/210806238-e77bc3b1-5e32-4c9f-af5c-278c5706450d.png)
- 新增 macOS 顶部栏窗口新增文件名展示,参考 #1054
- 新增 同种类型图床支持多份配置,上传时可以指定某一份配置进行上传。感谢 @STDSuperman ,参考 #1016
  ![](https://user-images.githubusercontent.com/44311619/203093104-9537e08a-2ef0-450d-a59d-c470dbcdd6c8.png)
- 新增 选择图床的菜单可以支持选择该图床类型某一项具体配置
  ![image](https://user-images.githubusercontent.com/12621342/210804413-4f78804f-a451-4ca5-93a3-63d461261b18.png)
- 新增 显示 dock 栏图标选项,参考 #1045
  <img width="787" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/bb9492f1-6522-45ce-ae5d-c614901d8b06" />
- 新增 PicGo 修复工具箱,可以自行排查一些问题
  <img width="324" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/98cf6e64-7313-4ebe-83d0-aa86e4514109" />
- 新增 对输出的 URL 进行 encode 转义的选项,参考 #731
  <img width="775" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/6e0c13dd-3404-4b07-9c99-412321835b27" />
- 新增 支持拖拽任意格式文件上传,参考 #1052
- 新增 腾讯云 COS 支持 `Endpoint` 配置 和 `极智压缩` 配置。 感谢 @palmcivet @yc910920 的贡献!
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/6e623751-d330-47f8-89bc-986031452914)
- 新增 `tips` 配置渲染的支持,可以动态渲染 Uploader config 的 tips。支持 markdown 格式。参考 [tcyun uploader config](https://github.com/PicGo/PicGo-Core/blob/dev/src/plugins/uploader/tcyun.ts#L280)
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/2f9b8734-717a-4f49-b397-1ddb9437bc3c)
- 新增 上传界面展示当前图床使用的配置名
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/52c58fff-4810-4b91-92d7-5ade512eaca8)
- 新增 相册页工具栏,目前内置 `批量修改图片 URL HOST 的功能` 。参考 #875
  注意:需要先选中指定的图片,然后会根据已选中的图片进行修改,你可以通过图床筛选功能只筛选出需要修改的图片
  例如,你有一批图片都是 `https://www.a.com/...` 打头的 URL,你想把 `www.a.com` 批量修改成 `www.b.com` ,就可以用这个功能
  ![image](https://github.com/Molunerfinn/PicGo/assets/12621342/ee314dfc-7699-4ceb-8638-cafe7948bd5a)
- 新增 `启动模式`,可以设置启动的时候是否要打开窗口。全平台支持 `静默启动`(默认值) & `打开主窗口`,Windows 和 Linux 额外支持 `打开 Mini 窗口`。参考 #915
  <img width="577" alt="image" src="https://github.com/Molunerfinn/PicGo/assets/12621342/7e63bb5c-44b0-480e-824f-3c2edbed4fbb" />
- 新增 PicGo Server 支持表单形式上传图片。参考 #428 ,感谢 @happy-game
  表单字段为 files。参考截图:
  <img width="951" alt="image" src="https://github.com/user-attachments/assets/14244f1d-60f5-487f-bde6-6d0e009645fb" />

## Bug Fixes
- 修复 windows 右键菜单配置生成脚本,参考 #1019
- 修复 自定义链接 URL encode 问题,参考 #1112
- 修复 日志写入可能存在死循环问题,参考 #1101
- 修复 拖拽文件到顶部栏图标报错问题,参考 #1107
- 修复 文件名 encode 问题。参考 #1121
- 修复 GitHub 重名文件上传不再报错
- 修复 beta.2 版本部分样式问题
- 修复 重命名窗口某些情况下显示文件名过慢的问题,参考 #1130
- 修复 打开配置文件打开的是日志文件的 bug,参考 #1163
- 修复 插件配置弹窗打开后无法正确读取和保存配置的问题
- 修复 无法新增图床配置的问题(新增变成了编辑)。参考 #1198,#1196
- 修复 macOS 右键菜单消失问题。感谢 @muwoo 。参考 #1179
- 修复 macOS 顶部栏窗口右键之后一闪而过的问题。 感谢 @QThans。 参考 #1217
- 修复 图床配置页面配置项过多时无法滚动到底部的问题。参考 #1237
- 修复 腾讯云 COS URL encode 的问题。参考 #1265
- 修复 插件列表无法搜索的问题。 参考 #1297
- 修复 剪贴板文件名丢失 `秒` 的问题。 参考 #1293
- 修复 macOS 顶部栏点击图片复制链接失效的问题。 参考 #1280 , #1210
- 修复 自动复制 URL 这个开关无法被关闭的问题。参考 #1294 ,感谢 @happy-game
- 修复 wayland 里无法使用剪贴板图片的问题。参考 #1261 ,感谢 @happy-game
- 修复 直接通过 URL 上传图片的时候,带有汉字的 URL 上传后,文件名被 encode 的问题。 参考 #1339

## Other
- 由于 PicGo 存储的 COS 空间被恶意刷大量流量导致欠费,暂时停止 COS 渠道的 PicGo 分发
- 更新至 Vue3
- 重构部分代码
- 重构部分代码
- 补充更详细的快捷键相关日志,参考 #1031
- 已知问题:部分按钮样式有点问题,下个版本会修复
- 更新 README中的 scoop 下载安装的部分,感谢 @wuhang2003


================================================
FILE: changelog/2.4.1.md
================================================
# PicGo 2.4.1 Changelog

## Features

- Add `showMenubarIcon` setting to control the visibility of the macOS menu bar icon. See #1222 for details

## Bug Fixes
- Fix: An issue where the macOS menu bar window could not read images from the clipboard. See https://github.com/Molunerfinn/PicGo/issues/1310 for details
- Fix: An issue where the macOS Intel build could not be opened. Please take a look at #1363 and #1310 for details

## Other
- Upgraded Electron to v38 and migrated the underlying build framework to Electron-vite
- Unified the main window UI on Windows/Linux to match the macOS style
  <img width="821" height="472" alt="image" src="https://github.com/user-attachments/assets/dbafadeb-7a9f-40e5-bd87-d4012c9a3902" />
- Updated ARM64 builds for Windows & Linux, and added Linux deb packages

----------

## Features

- 新增 `showMenubarIcon` 配置项,用于控制 macOS 顶部栏图标的显示与隐藏。参考 #1222 

## Bug Fixes
- 修复 macOS 顶部栏窗口无法获取剪贴板图片的问题。参考 https://github.com/Molunerfinn/PicGo/issues/1310
- 修复 macOS intel 架构 app 无法打开的问题。参考 #1363, #1310

## Other
- 更新 Electron 版本到 38 以及切换底层开发框架到 Electron-vite
- 更新 Windows\Linux 系统现在主窗口的样式跟 macOS 一致了
  <img width="821" height="472" alt="image" src="https://github.com/user-attachments/assets/dbafadeb-7a9f-40e5-bd87-d4012c9a3902" />
- 更新 Windows & Linux 平台的 ARM64 架构构建产物;新增 Linux `deb` 构建产物


================================================
FILE: changelog/2.4.2.md
================================================
# PicGo 2.4.2 Changelog

## Features
- New: macOS version with signature && notarization. No more manual handling
  <img width="260" height="260" alt="image" src="https://github.com/user-attachments/assets/dc1b7114-1f10-40e3-b45e-e3b330712399" />
- Add duplicate button for image host config item. And add a double confirm dialog for `duplicate` and `delete` config item action
  <img width="800" height="450" alt="image" src="https://github.com/user-attachments/assets/238881e3-e993-4cb7-9699-fd2f7441ce02" />
- Add: Refactor notifications and add `notificationSound` setting (#1370)

## Bug Fixes
- Fix: An issue that the app icon will be too big under macOS 26. See #1367 for more details
- Fix: Clamp tray image titles to two lines or the style will be broken

## Other
- Refactor: Remove config store (#1371)

----------

## Features
- 新增:macOS 版本签名+公证,现在不再需要手动放行,可以直接下载安装使用
  <img width="260" height="260" alt="image" src="https://github.com/user-attachments/assets/dc1b7114-1f10-40e3-b45e-e3b330712399" />
- 新增:图床配置界面新增复制按钮,可以一键复制已有配置,方便进行多样化操作。同时复制和删除均增加二次确认弹窗
  <img width="800" height="450" alt="image" src="https://github.com/user-attachments/assets/238881e3-e993-4cb7-9699-fd2f7441ce02" />
- 新增:重构通知并新增 `notificationSound` 设置(#1370)

## Bug Fixes
- 修复:在 macOS 26 版本下 app 图标过大的问题。参考 #1367
- 修复:托盘图片标题最多显示两行否则样式会被破坏的问题

## Other
- 重构:移除 config store(#1371)


================================================
FILE: changelog/2.4.3.md
================================================
# PicGo 2.4.3 Changelog

## Features
- Add: Batch URL upload support (#1376). See #1302 for details
- Add: [Global URL rewrite](https://docs.picgo.app/core/guide/config.html#settings) support (#1377). See #1281 for details
- Refactor: Gallery image URL can not only rewrite the host but also the whole link. See #1255 for details

----------

## Features
- 新增:支持批量 URL 上传(#1376),参考 #1302
- 新增:支持[全局 URL 重写](https://docs.picgo.app/zh/core/guide/config.html#settings)(#1377),参考 #1281
- 重构:相册页的图片 URL 可以批量修改,不仅仅只是修改 HOST,参考 #1255

## Bug Fixes
- 修复:相册页图床列表显示状态与相册不同步的问题(#1373),参考 #1372
- 修复:一些 UI 问题


================================================
FILE: changelog/2.5.1.md
================================================
# PicGo 2.5.1 Changelog

## Features
- Update: Bump `picgo` dependency to `^2.0.1` to support legacy `sm.ms` migrate to `s.ee` (#1385)

## Bug Fixes
- Fix: Plugin search no longer throws when an npm package description is empty (#1383)

## Other
- Update: Refresh the documentation link in the GitHub bug report template

----------

## Features
- 更新:将 `picgo` 依赖升级到 `^2.0.1` 以支持 `s.ee`。参考 #1385

## Bug Fixes
- 修复:插件搜索在 npm 包描述为空时会报错的问题。参考 #1383

## Other
- 更新:更新 GitHub 问题模板中的文档链接


================================================
FILE: changelog/2.5.2.md
================================================
# PicGo 2.5.2 Changelog

## Bug Fixes
- Fix: Resolve `s.ee` compatibility issues that could report upload failure even when the upload actually succeeded (#1385)

----------

## Bug Fixes
- 修复:解决 `s.ee` 兼容性问题,上传实际成功时仍可能提示上传失败(#1385)


================================================
FILE: changelog/2.5.3.md
================================================
# PicGo 2.5.3 Changelog

## Bug Fixes
- Fix: Plugin configuration dialogs now refresh correctly when switching between plugins, avoiding stale form data from the previous plugin (#1394)
- Fix: Latest version checking now compares stable and beta releases correctly when beta updates are enabled, avoiding incorrect update prompts (#1396)

## Other
- Update: README now includes a Nix/NixOS setup note, thanks @qrzbing for the contribution! (#1390)

----------

## Bug Fixes
- 修复:在不同插件之间切换时,插件配置弹窗会正确刷新,避免沿用上一个插件的旧表单数据(#1394)
- 修复:开启 beta 更新通道后,最新版本检查会正确比较正式版与 beta 版,避免更新提示不准确(#1396)

## Other
- 更新:README 补充了 Nix/NixOS 相关说明,感谢 @qrzbing 的贡献!(#1390)


================================================
FILE: changelog/gen_changelog.md
================================================
# gen_changelog.md

This guide describes how to generate a consolidated changelog for any PicGo release series (e.g., 2.4.0, 2.5.0) from the GitHub release notes of its betas and finals

## Source of truth
- Use GitHub release pages only (e.g., `https://github.com/Molunerfinn/PicGo/releases/tag/vX.Y.Z-beta.N` and `vX.Y.Z` if present). You can fetch these via MCP GitHub APIs (e.g., `get_release_by_tag`, `list_releases`) instead of manual browsing
- Do **not** use `CHANGELOG.md` in the repo
- Preserve all text and images exactly as written in the releases
  - Exception: Remove holiday greetings (e.g., "Happy New Year!", "新年快乐!") from the generated changelog. These can stay in GitHub release notes but should not appear in `changelog/X.Y.Z.md`

## Structure
- Target file: `changelog/X.Y.Z.md` (replace with the series version)
- Use these top-level sections when they contain items: `## Features`, `## Bug Fixes`, `## Other`
- Omit any empty section title entirely (do not output a heading with no bullets)
- Do **not** nest content under individual beta version headers; merge all items into these sections
- Keep items in chronological order (early → late) within each section, mirroring the beta sequence
- Keep inline issue references, thanks, and notes as-is
- Remove download-link sections entirely
- After the English sections, insert a line with `----------`, then add a full Chinese translation with the same structure/content (including images)

## Formatting rules
- Markdown, plain ASCII
- Bullet lists only; no numbered lists required
- Indent images under their bullet with two spaces to keep association clear
- Keep inline HTML image tags from the releases (e.g., `<img width="...">`) untouched
- Keep line breaks and multi-line notes intact
- Do not reword or summarize; copy content verbatim except for removing beta headers and download sections
- If you need to add items from git commit logs (for the same release series), do not paste raw commit messages. Normalize them to the existing changelog style (e.g., use `Add:`, `Fix:`, `Refactor:` prefixes without emoji)
- Chinese translation must mirror the English bullets in order and content (keep images alongside the translated bullets)

## Regeneration steps
1) Collect all release bodies for the target series (e.g., `vX.Y.Z-beta.0…N` and, if present, `vX.Y.Z`) from GitHub releases
2) For each release, copy bullets and images into the appropriate section:
   - Features ↔ “Feature(s)” or “Features” blocks
   - Bug Fixes ↔ “Bug Fixes” blocks
   - Other ↔ “Other”, “Notice”, or misc notes that are not features/bugs
   - If one section has no items after merging, skip that section heading in both EN and ZH halves
3) Omit “国内可下载链接” (or any download links) entirely
4) Drop beta subheadings; keep only section-level bullets in chronological order
5) Ensure images remain adjacent to their bullets with indentation
6) After the English sections are complete, insert `----------` on its own line
7) Append the Chinese translation, preserving bullet order and images, reusing only the section headings that appeared in English (same heading set/order; no “(Chinese)” suffix)
8) Save the result to `changelog/X.Y.Z.md`

## Quick checklist
- [ ] All non-empty Features items present with images kept
- [ ] All non-empty Bug Fixes items present
- [ ] All non-empty Other notes present
- [ ] No beta headers
- [ ] No download links
- [ ] No empty section headings
- [ ] Chronological ordering preserved
- [ ] Chinese translation present with matching bullets/images after `----------`


================================================
FILE: electron-builder.config.ts
================================================
import type { Configuration } from 'electron-builder'
import dotenv from 'dotenv'
 
dotenv.config()

const shouldNotarize = process.env.SKIP_NOTARIZE !== 'true'

const config: Configuration = {
  appId: 'com.molunerfinn.picgo',
  productName: 'PicGo',
  afterSign: shouldNotarize ? 'scripts/notarize.js' : undefined,
  // publish: [
  //   {
  //     provider: 'github',
  //     owner: 'Molunerfinn',
  //     repo: 'PicGo',
  //     releaseType: 'draft'
  //   }
  // ],
  // temporarily disable auto update feature
  publish: [],
  files: [
    'dist_electron/**/*',
    'public/**/*',
    'package.json',
    '!node_modules/@babel/**/*',
    "!**/node_modules/typescript{,/**}"
  ],
  extraResources: [
    {
      from: 'public',
      to: 'public'
    }
  ],
  dmg: {
    contents: [
      {
        x: 410,
        y: 150,
        type: 'link',
        path: '/Applications'
      },
      {
        x: 130,
        y: 150,
        type: 'file'
      }
    ]
  },
  mac: {
    icon: 'build/icons/icon.icns',
    extendInfo: {
      LSUIElement: 0
    },
    target: [
      {
        target: 'dmg',
        arch: ['arm64', 'x64']
      }
    ],
    artifactName: 'PicGo-${version}-${arch}.${ext}',
    hardenedRuntime: true,
    entitlements: 'build/entitlements.mac.plist',
    entitlementsInherit: 'build/entitlements.mac.plist',
    notarize: false
  },
  win: {
    icon: 'build/icons/icon.ico',
    artifactName: 'PicGo-${version}-${arch}.exe',
    target: [
      {
        target: 'nsis',
        arch: ['x64']
      },
      {
        target: 'nsis',
        arch: ['ia32']
      },
      {
        target: 'nsis',
        arch: ['arm64']
      }
    ]
  },
  nsis: {
    shortcutName: 'PicGo',
    oneClick: false,
    allowToChangeInstallationDirectory: true,
    buildUniversalInstaller: false,
    include: 'build/installer.nsh'
  },
  linux: {
    executableName: 'PicGo',
    icon: 'build/icons/512x512.png',
    artifactName: 'PicGo-${version}-${arch}.${ext}',
    target: [
      {
        target: 'AppImage',
        arch: ['x64', 'arm64']
      },
      {
        target: 'deb',
        arch: ['x64', 'arm64']
      },
      {
        target: 'snap',
        arch: ['x64'],
      }
    ],
    maintainer: 'Molunerfinn',
    category: 'Utility',
    publish: []
  },
  snap: {
    publish: []
  }
}

export default config


================================================
FILE: electron.vite.config.ts
================================================
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import vue from '@vitejs/plugin-vue'
// temp for webUtils
import electronRenderer from '@molunerfinn/vite-plugin-electron-renderer'
import { resolve } from 'path'

const alias = {
  '@': resolve(__dirname, 'src/renderer'),
  '~': resolve(__dirname, 'src'),
  '#': resolve(__dirname, 'src/universal'),
  root: resolve(__dirname, '.'),
  apis: resolve(__dirname, 'src/main/apis'),
  '@core': resolve(__dirname, 'src/main/apis/core')
}

export default defineConfig({
  main: {
    plugins: [externalizeDepsPlugin()],
    resolve: { alias },
    build: {
      outDir: 'dist_electron/main',
      rollupOptions: {
        input: {
          index: resolve(__dirname, 'src/background.ts')
        }
      }
    }
  },
  preload: {
    plugins: [externalizeDepsPlugin()],
    resolve: { alias },
    build: {
      outDir: 'dist_electron/preload',
      rollupOptions: {
        input: {
          index: resolve(__dirname, 'src/preload/index.ts')
        }
      }
    }
  },
  renderer: {
    root: 'src/renderer',
    publicDir: resolve(__dirname, 'src/renderer/public'),
    resolve: { alias },
    plugins: [vue(), electronRenderer()],
    build: {
      outDir: 'dist_electron/renderer',
      rollupOptions: {
        input: {
          index: resolve(__dirname, 'src/renderer/index.html')
        }
      }
    },
    server: {
      port: 5173
    }
  }
})


================================================
FILE: eslint.config.js
================================================
const globals = require('globals')
const path = require('node:path')
const eslintJs = require('@eslint/js')
const tsPlugin = require('@typescript-eslint/eslint-plugin')
const tsParser = require('@typescript-eslint/parser')
const importPlugin = require('eslint-plugin-import')
const promisePlugin = require('eslint-plugin-promise')
const vuePlugin = require('eslint-plugin-vue')
const stylistic = require('@stylistic/eslint-plugin')

const isProduction = process.env.NODE_ENV === 'production'
const vueConfigs = vuePlugin.configs['flat/recommended'].map(config => ({
  ...config,
  languageOptions: {
    ...(config.languageOptions || {}),
    parserOptions: {
      ...(config.languageOptions?.parserOptions || {}),
      parser: tsParser,
      ecmaVersion: 'latest',
      sourceType: 'module',
      extraFileExtensions: ['.vue']
    }
  }
}))

const tsConfigs = tsPlugin.configs['flat/recommended'].map(config => ({
  ...config,
  files: config.files || ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
  languageOptions: {
    ...(config.languageOptions || {}),
    parser: tsParser,
    parserOptions: {
      ...(config.languageOptions?.parserOptions || {}),
      ecmaVersion: 'latest',
      sourceType: 'module',
      extraFileExtensions: ['.vue'],
      project: path.join(__dirname, 'tsconfig.json'),
      tsconfigRootDir: __dirname
    }
  },
  rules: {
    ...(config.rules || {}),
    'no-unused-vars': 'off',
    '@typescript-eslint/no-unused-vars': ['error', {
      argsIgnorePattern: '^_',
      varsIgnorePattern: '^_',
      caughtErrors: 'none'
    }],
    '@typescript-eslint/no-explicit-any': 'off',
    '@typescript-eslint/ban-ts-comment': 'off',
    '@typescript-eslint/no-require-imports': 'off',
    '@typescript-eslint/no-unsafe-function-type': 'off',
    '@typescript-eslint/no-empty-object-type': 'off'
  }
}))

module.exports = [
  {
    ignores: [
      'dist/**',
      'dist_electron/**',
      'build/**',
      'test/unit/coverage/**',
      'test/unit/*.js',
      'test/e2e/*.js',
      'node_modules/**',
      'vitest.config.ts',
    ]
  },
  {
    name: 'eslint/base',
    languageOptions: {
      ecmaVersion: 'latest',
      sourceType: 'module',
      globals: {
        __static: 'readonly'
      }
    },
    plugins: {
      import: importPlugin,
      promise: promisePlugin,
      '@stylistic': stylistic
    },
    settings: {
      'import/resolver': {
        node: {
          extensions: ['.js', '.jsx', '.ts', '.tsx', '.d.ts', '.vue']
        }
      }
    },
    rules: {
      ...eslintJs.configs.recommended.rules,
      ...importPlugin.configs.recommended.rules,
      ...promisePlugin.configs.recommended.rules,
      'import/named': 'off',
      'import/no-named-as-default-member': 'off',
      'import/no-unresolved': 'off',
      'promise/catch-or-return': 'off',
      'promise/always-return': 'off',
      'no-console': 'off',
      'no-debugger': isProduction ? 'error' : 'off',
      'no-async-promise-executor': 'off',
      'no-empty': ['error', { allowEmptyCatch: true }],
      'no-unused-vars': 'off',
      '@stylistic/indent': ['error', 2],
      '@stylistic/semi': ['error', 'never'],
      'no-unexpected-multiline': 'error' 
    }
  },
  ...vueConfigs,
  {
    files: ['*.vue', '**/*.vue'],
    rules: {
      'vue/no-v-html': 'off',
      'vue/attribute-hyphenation': 'off'
    }
  },
  ...tsConfigs,
  {
    files: ['**/*.{ts,tsx,vue}'],
    rules: {
      'no-undef': 'off'
    }
  },
  {
    files: ['**/*.d.ts'],
    rules: {
      'no-var': 'off',
      '@typescript-eslint/no-empty-object-type': 'off',
      '@typescript-eslint/no-explicit-any': 'off'
    }
  },
  {
    // 1. 针对所有 JS 文件(或者特定目录)启用 Node 全局变量
    files: ["**/*.js", "scripts/*.js"], 
    languageOptions: {
      globals: {
        ...globals.node, // 注入 process, require, module, __dirname 等
        ...globals.browser // 如果你的项目是前端项目,可能还需要 browser
      },
      sourceType: "commonjs" // 如果你的项目代码主要是 CJS,加上这个;如果是 ESM 则设为 "module"
    }
  },
]


================================================
FILE: package.json
================================================
{
  "name": "picgo",
  "version": "2.5.3",
  "private": true,
  "main": "dist_electron/main/index.js",
  "description": "A powerful & simple image uploader for creators.",
  "author": {
    "name": "Molunerfinn",
    "email": "marksz@teamsz.xyz"
  },
  "scripts": {
    "build": "electron-vite build",
    "build:win": "npm run build && electron-builder --config electron-builder.config.ts --win --publish never",
    "build:mac": "npm run build && electron-builder --config electron-builder.config.ts --mac --publish never",
    "build:linux": "npm run build && electron-builder --config electron-builder.config.ts --linux --publish never",
    "build:local": "dotenv -e .env -- electron-vite build && electron-builder --config electron-builder.config.ts --publish never",
    "lint": "pnpm lint:dpdm && eslint --ext .js,.jsx,.ts,.tsx,.vue src/",
    "tsc": "tsc --noEmit",
    "vue-tsc": "vue-tsc --noEmit",
    "bump": "bump-version",
    "cz": "git-cz",
    "dev": "electron-vite dev",
    "preview": "electron-vite preview",
    "gen-i18n": "node ./scripts/gen-i18n-types.js",
    "lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx,.vue src/",
    "postinstall": "electron-builder install-app-deps",
    "postuninstall": "electron-builder install-app-deps",
    "upload-dist": "node ./scripts/upload-dist.js",
    "lint:dpdm": "dpdm -T --tsconfig ./tsconfig.json --no-tree --no-warning --exit-code circular:1 src/background.ts",
    "check": "pnpm run tsc && pnpm run vue-tsc && pnpm run lint",
    "test": "vitest run",
    "prepare": "husky",
    "commitlint": "commitlint --edit"
  },
  "dependencies": {
    "@element-plus/icons-vue": "^2.3.2",
    "@picgo/i18n": "^1.0.0",
    "@picgo/store": "^2.1.0",
    "@picgo/video-duration": "^1.0.1",
    "axios": "^0.19.0",
    "clip-filepaths": "^0.3.0",
    "comment-json": "^4.5.1",
    "compare-versions": "^4.1.3",
    "core-js": "^3.27.1",
    "dayjs": "^1.11.19",
    "element-plus": "^2.3.7",
    "epipebomb": "^1.0.0",
    "fs-extra": "^10.0.0",
    "js-yaml": "^4.1.1",
    "keycode": "^2.2.0",
    "lodash": "^4.17.21",
    "lodash-id": "^0.14.0",
    "lowdb": "^1.0.0",
    "marked": "^7.0.4",
    "mime-types": "^3.0.2",
    "mitt": "^3.0.1",
    "multer": "^1.4.5-lts.1",
    "picgo": "^2.0.3",
    "qrcode.vue": "^3.3.3",
    "semver": "^7.7.3",
    "shell-path": "2.1.0",
    "systeminformation": "^5.27.14",
    "tunnel": "^0.0.6",
    "uuid": "^9.0.0",
    "vue": "^3.3.4",
    "vue-router": "^4.2.2",
    "vue3-lazyload": "^0.3.6",
    "vue3-photo-preview": "^0.3.0",
    "write-file-atomic": "^7.0.0"
  },
  "devDependencies": {
    "@aws-sdk/client-s3": "^3.276.0",
    "@aws-sdk/lib-storage": "^3.276.0",
    "@eslint/js": "^9.39.1",
    "@molunerfinn/vite-plugin-electron-renderer": "^0.14.7",
    "@picgo/bump-version": "^2.0.0",
    "@stylistic/eslint-plugin": "^5.6.1",
    "@types/electron-devtools-installer": "^2.2.0",
    "@types/fs-extra": "^9.0.13",
    "@types/inquirer": "^6.5.0",
    "@types/js-yaml": "^4.0.5",
    "@types/lodash": "^4.17.21",
    "@types/lowdb": "^1.0.9",
    "@types/multer": "^1.4.12",
    "@types/node": "^20",
    "@types/request-promise-native": "^1.0.17",
    "@types/semver": "^7.3.8",
    "@types/tunnel": "^0.0.3",
    "@types/uuid": "^9.0.2",
    "@types/write-file-atomic": "^4.0.0",
    "@typescript-eslint/eslint-plugin": "^8.49.0",
    "@typescript-eslint/parser": "^8.49.0",
    "@vitejs/plugin-vue": "^6.0.2",
    "autoprefixer": "^10.4.14",
    "commitizen": "^4.3.1",
    "conventional-changelog": "^3.1.18",
    "cz-customizable": "^7.5.1",
    "dotenv": "^16.0.1",
    "dotenv-cli": "^11.0.0",
    "dpdm": "^3.13.1",
    "electron": "^38",
    "electron-builder": "26.1.0",
    "electron-devtools-installer": "^3.2.0",
    "electron-vite": "^4.0.1",
    "eslint": "^9.39.1",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-promise": "^7.2.1",
    "eslint-plugin-vue": "^10.6.2",
    "globals": "^16.5.0",
    "husky": "^9.1.7",
    "postcss": "^8.4.23",
    "stylus": "^0.54.7",
    "stylus-loader": "^3.0.2",
    "tailwindcss": "^3.3.2",
    "typescript": "^5.9.3",
    "vite": "^7.2.6",
    "vitest": "^4.0.16",
    "vue-tsc": "^3.2.3"
  },
  "commitlint": {
    "extends": [
      "./node_modules/@picgo/bump-version/commitlint-picgo"
    ]
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-customizable"
    },
    "cz-customizable": {
      "config": "./node_modules/@picgo/bump-version/.cz-config.js"
    }
  },
  "husky": {
    "hooks": {
      "commit-msg": "npm run lint:dpdm && commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}


================================================
FILE: pnpm-workspace.yaml
================================================
onlyBuiltDependencies:
  - core-js
  - ejs
  - electron
  - electron-winstaller
  - esbuild
  - husky
  - vue-demi

# for multi-arch builds, include both x64 and arm64 versions of electron
# will be deprecated in future(use different arch machine to build different arch binaries)
supportedArchitectures:
  os:
    - current
  cpu:
    - x64
    - arm64


================================================
FILE: postcss.config.js
================================================
module.exports = {
  plugins: {
    autoprefixer: {},
    tailwindcss: {}
  }
}


================================================
FILE: public/Upload pictures with PicGo.workflow/Contents/Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>NSServices</key>
	<array>
		<dict>
			<key>NSBackgroundColorName</key>
			<string>background</string>
			<key>NSBackgroundSystemColorName</key>
			<string>systemBlueColor</string>
			<key>NSIconName</key>
			<string>NSTouchBarShare</string>
			<key>NSMenuItem</key>
			<dict>
				<key>default</key>
				<string>Upload pictures with PicGo</string>
			</dict>
			<key>NSMessage</key>
			<string>runWorkflowAsService</string>
			<key>NSRequiredContext</key>
			<dict>
				<key>NSApplicationIdentifier</key>
				<string>com.apple.finder</string>
			</dict>
			<key>NSSendFileTypes</key>
			<array>
				<string>public.image</string>
			</array>
		</dict>
	</array>
</dict>
</plist>


================================================
FILE: public/Upload pictures with PicGo.workflow/Contents/document.wflow
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AMApplicationBuild</key>
	<string>444.42</string>
	<key>AMApplicationVersion</key>
	<string>2.9</string>
	<key>AMDocumentVersion</key>
	<string>2</string>
	<key>actions</key>
	<array>
		<dict>
			<key>action</key>
			<dict>
				<key>AMAccepts</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Optional</key>
					<true/>
					<key>Types</key>
					<array>
						<string>com.apple.cocoa.string</string>
					</array>
				</dict>
				<key>AMActionVersion</key>
				<string>2.0.3</string>
				<key>AMApplication</key>
				<array>
					<string>自动操作</string>
				</array>
				<key>AMParameterProperties</key>
				<dict>
					<key>COMMAND_STRING</key>
					<dict/>
					<key>CheckedForUserDefaultShell</key>
					<dict/>
					<key>inputMethod</key>
					<dict/>
					<key>shell</key>
					<dict/>
					<key>source</key>
					<dict/>
				</dict>
				<key>AMProvides</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Types</key>
					<array>
						<string>com.apple.cocoa.string</string>
					</array>
				</dict>
				<key>ActionBundlePath</key>
				<string>/System/Library/Automator/Run Shell Script.action</string>
				<key>ActionName</key>
				<string>运行 Shell 脚本</string>
				<key>ActionParameters</key>
				<dict>
					<key>COMMAND_STRING</key>
					<string>/Applications/PicGo.app/Contents/MacOS/PicGo upload "$@" &gt; /dev/null 2&gt;&amp;1 &amp;</string>
					<key>CheckedForUserDefaultShell</key>
					<true/>
					<key>inputMethod</key>
					<integer>1</integer>
					<key>shell</key>
					<string>/bin/bash</string>
					<key>source</key>
					<string></string>
				</dict>
				<key>BundleIdentifier</key>
				<string>com.apple.RunShellScript</string>
				<key>CFBundleVersion</key>
				<string>2.0.3</string>
				<key>CanShowSelectedItemsWhenRun</key>
				<false/>
				<key>CanShowWhenRun</key>
				<true/>
				<key>Category</key>
				<array>
					<string>AMCategoryUtilities</string>
				</array>
				<key>Class Name</key>
				<string>RunShellScriptAction</string>
				<key>InputUUID</key>
				<string>79609224-28DD-4ADE-AA8F-5A6C68C18C18</string>
				<key>Keywords</key>
				<array>
					<string>Shell</string>
					<string>脚本</string>
					<string>命令</string>
					<string>运行</string>
					<string>Unix</string>
				</array>
				<key>OutputUUID</key>
				<string>35CD6B4C-A616-4F89-8D76-DCD3249C5B4E</string>
				<key>UUID</key>
				<string>4350A83B-E7E6-4D2B-9768-B1D676CF58F3</string>
				<key>UnlocalizedApplications</key>
				<array>
					<string>Automator</string>
				</array>
				<key>arguments</key>
				<dict>
					<key>0</key>
					<dict>
						<key>default value</key>
						<integer>0</integer>
						<key>name</key>
						<string>inputMethod</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>0</string>
					</dict>
					<key>1</key>
					<dict>
						<key>default value</key>
						<string></string>
						<key>name</key>
						<string>source</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>1</string>
					</dict>
					<key>2</key>
					<dict>
						<key>default value</key>
						<false/>
						<key>name</key>
						<string>CheckedForUserDefaultShell</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>2</string>
					</dict>
					<key>3</key>
					<dict>
						<key>default value</key>
						<string></string>
						<key>name</key>
						<string>COMMAND_STRING</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>3</string>
					</dict>
					<key>4</key>
					<dict>
						<key>default value</key>
						<string>/bin/sh</string>
						<key>name</key>
						<string>shell</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>4</string>
					</dict>
				</dict>
				<key>isViewVisible</key>
				<true/>
				<key>location</key>
				<string>449.000000:305.000000</string>
				<key>nibPath</key>
				<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string>
			</dict>
			<key>isViewVisible</key>
			<true/>
		</dict>
	</array>
	<key>connectors</key>
	<dict/>
	<key>workflowMetaData</key>
	<dict>
		<key>applicationBundleID</key>
		<string>com.apple.finder</string>
		<key>applicationBundleIDsByPath</key>
		<dict>
			<key>/System/Library/CoreServices/Finder.app</key>
			<string>com.apple.finder</string>
		</dict>
		<key>applicationPath</key>
		<string>/System/Library/CoreServices/Finder.app</string>
		<key>applicationPaths</key>
		<array>
			<string>/System/Library/CoreServices/Finder.app</string>
		</array>
		<key>backgroundColor</key>
		<data>
		YnBsaXN0MDDUAQIDBAUGNjdYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVy
		VCR0b3ASAAGGoKoHCBMUFR4kKC8zVSRudWxs1QkKCwwNDg8QERJWJGNsYXNz
		W05TQ29sb3JOYW1lXE5TQ29sb3JTcGFjZV1OU0NhdGFsb2dOYW1lV05TQ29s
		b3KACYADEAaAAoAEVlN5c3RlbV8QD3N5c3RlbUJsdWVDb2xvctUWFwsYCRka
		GxwOXE5TQ29tcG9uZW50c1VOU1JHQl8QEk5TQ3VzdG9tQ29sb3JTcGFjZUcw
		IDAgMSAxTxARMCAwIDAuOTk4MTg4OTcyNQAQAYAFgAnTHyAJISIjVE5TSURV
		TlNJQ0MQB4AGgAjSJQkmJ1dOUy5kYXRhTxEMSAAADEhMaW5vAhAAAG1udHJS
		R0IgWFlaIAfOAAIACQAGADEAAGFjc3BNU0ZUAAAAAElFQyBzUkdCAAAAAAAA
		AAAAAAAAAAD21gABAAAAANMtSFAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
		AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEWNwcnQAAAFQAAAAM2Rlc2MAAAGE
		AAAAbHd0cHQAAAHwAAAAFGJrcHQAAAIEAAAAFHJYWVoAAAIYAAAAFGdYWVoA
		AAIsAAAAFGJYWVoAAAJAAAAAFGRtbmQAAAJUAAAAcGRtZGQAAALEAAAAiHZ1
		ZWQAAANMAAAAhnZpZXcAAAPUAAAAJGx1bWkAAAP4AAAAFG1lYXMAAAQMAAAA
		JHRlY2gAAAQwAAAADHJUUkMAAAQ8AAAIDGdUUkMAAAQ8AAAIDGJUUkMAAAQ8
		AAAIDHRleHQAAAAAQ29weXJpZ2h0IChjKSAxOTk4IEhld2xldHQtUGFja2Fy
		ZCBDb21wYW55AABkZXNjAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAA
		AAAAAAAAEnNSR0IgSUVDNjE5NjYtMi4xAAAAAAAAAAAAAAAAAAAAAAAAAAAA
		AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYWVogAAAAAAAA81EAAQAA
		AAEWzFhZWiAAAAAAAAAAAAAAAAAAAAAAWFlaIAAAAAAAAG+iAAA49QAAA5BY
		WVogAAAAAAAAYpkAALeFAAAY2lhZWiAAAAAAAAAkoAAAD4QAALbPZGVzYwAA
		AAAAAAAWSUVDIGh0dHA6Ly93d3cuaWVjLmNoAAAAAAAAAAAAAAAWSUVDIGh0
		dHA6Ly93d3cuaWVjLmNoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
		AAAAAAAAAAAAAAAAAAAAAGRlc2MAAAAAAAAALklFQyA2MTk2Ni0yLjEgRGVm
		YXVsdCBSR0IgY29sb3VyIHNwYWNlIC0gc1JHQgAAAAAAAAAAAAAALklFQyA2
		MTk2Ni0yLjEgRGVmYXVsdCBSR0IgY29sb3VyIHNwYWNlIC0gc1JHQgAAAAAA
		AAAAAAAAAAAAAAAAAAAAAABkZXNjAAAAAAAAACxSZWZlcmVuY2UgVmlld2lu
		ZyBDb25kaXRpb24gaW4gSUVDNjE5NjYtMi4xAAAAAAAAAAAAAAAsUmVmZXJl
		bmNlIFZpZXdpbmcgQ29uZGl0aW9uIGluIElFQzYxOTY2LTIuMQAAAAAAAAAA
		AAAAAAAAAAAAAAAAAAAAAAAAdmlldwAAAAAAE6T+ABRfLgAQzxQAA+3MAAQT
		CwADXJ4AAAABWFlaIAAAAAAATAlWAFAAAABXH+dtZWFzAAAAAAAAAAEAAAAA
		AAAAAAAAAAAAAAAAAAACjwAAAAJzaWcgAAAAAENSVCBjdXJ2AAAAAAAABAAA
		AAAFAAoADwAUABkAHgAjACgALQAyADcAOwBAAEUASgBPAFQAWQBeAGMAaABt
		AHIAdwB8AIEAhgCLAJAAlQCaAJ8ApACpAK4AsgC3ALwAwQDGAMsA0ADVANsA
		4ADlAOsA8AD2APsBAQEHAQ0BEwEZAR8BJQErATIBOAE+AUUBTAFSAVkBYAFn
		AW4BdQF8AYMBiwGSAZoBoQGpAbEBuQHBAckB0QHZAeEB6QHyAfoCAwIMAhQC
		HQImAi8COAJBAksCVAJdAmcCcQJ6AoQCjgKYAqICrAK2AsECywLVAuAC6wL1
		AwADCwMWAyEDLQM4A0MDTwNaA2YDcgN+A4oDlgOiA64DugPHA9MD4APsA/kE
		BgQTBCAELQQ7BEgEVQRjBHEEfgSMBJoEqAS2BMQE0wThBPAE/gUNBRwFKwU6
		BUkFWAVnBXcFhgWWBaYFtQXFBdUF5QX2BgYGFgYnBjcGSAZZBmoGewaMBp0G
		rwbABtEG4wb1BwcHGQcrBz0HTwdhB3QHhgeZB6wHvwfSB+UH+AgLCB8IMghG
		CFoIbgiCCJYIqgi+CNII5wj7CRAJJQk6CU8JZAl5CY8JpAm6Cc8J5Qn7ChEK
		Jwo9ClQKagqBCpgKrgrFCtwK8wsLCyILOQtRC2kLgAuYC7ALyAvhC/kMEgwq
		DEMMXAx1DI4MpwzADNkM8w0NDSYNQA1aDXQNjg2pDcMN3g34DhMOLg5JDmQO
		fw6bDrYO0g7uDwkPJQ9BD14Peg+WD7MPzw/sEAkQJhBDEGEQfhCbELkQ1xD1
		ERMRMRFPEW0RjBGqEckR6BIHEiYSRRJkEoQSoxLDEuMTAxMjE0MTYxODE6QT
		xRPlFAYUJxRJFGoUixStFM4U8BUSFTQVVhV4FZsVvRXgFgMWJhZJFmwWjxay
		FtYW+hcdF0EXZReJF64X0hf3GBsYQBhlGIoYrxjVGPoZIBlFGWsZkRm3Gd0a
		BBoqGlEadxqeGsUa7BsUGzsbYxuKG7Ib2hwCHCocUhx7HKMczBz1HR4dRx1w
		HZkdwx3sHhYeQB5qHpQevh7pHxMfPh9pH5Qfvx/qIBUgQSBsIJggxCDwIRwh
		SCF1IaEhziH7IiciVSKCIq8i3SMKIzgjZiOUI8Ij8CQfJE0kfCSrJNolCSU4
		JWgllyXHJfcmJyZXJocmtyboJxgnSSd6J6sn3CgNKD8ocSiiKNQpBik4KWsp
		nSnQKgIqNSpoKpsqzysCKzYraSudK9EsBSw5LG4soizXLQwtQS12Last4S4W
		Lkwugi63Lu4vJC9aL5Evxy/+MDUwbDCkMNsxEjFKMYIxujHyMioyYzKbMtQz
		DTNGM38zuDPxNCs0ZTSeNNg1EzVNNYc1wjX9Njc2cjauNuk3JDdgN5w31zgU
		OFA4jDjIOQU5Qjl/Obw5+To2OnQ6sjrvOy07azuqO+g8JzxlPKQ84z0iPWE9
		oT3gPiA+YD6gPuA/IT9hP6I/4kAjQGRApkDnQSlBakGsQe5CMEJyQrVC90M6
		Q31DwEQDREdEikTORRJFVUWaRd5GIkZnRqtG8Ec1R3tHwEgFSEtIkUjXSR1J
		Y0mpSfBKN0p9SsRLDEtTS5pL4kwqTHJMuk0CTUpNk03cTiVObk63TwBPSU+T
		T91QJ1BxULtRBlFQUZtR5lIxUnxSx1MTU19TqlP2VEJUj1TbVShVdVXCVg9W
		XFapVvdXRFeSV+BYL1h9WMtZGllpWbhaB1pWWqZa9VtFW5Vb5Vw1XIZc1l0n
		XXhdyV4aXmxevV8PX2Ffs2AFYFdgqmD8YU9homH1YklinGLwY0Njl2PrZEBk
		lGTpZT1lkmXnZj1mkmboZz1nk2fpaD9olmjsaUNpmmnxakhqn2r3a09rp2v/
		bFdsr20IbWBtuW4SbmtuxG8eb3hv0XArcIZw4HE6cZVx8HJLcqZzAXNdc7h0
		FHRwdMx1KHWFdeF2Pnabdvh3VnezeBF4bnjMeSp5iXnnekZ6pXsEe2N7wnwh
		fIF84X1BfaF+AX5ifsJ/I3+Ef+WAR4CogQqBa4HNgjCCkoL0g1eDuoQdhICE
		44VHhauGDoZyhteHO4efiASIaYjOiTOJmYn+imSKyoswi5aL/IxjjMqNMY2Y
		jf+OZo7OjzaPnpAGkG6Q1pE/kaiSEZJ6kuOTTZO2lCCUipT0lV+VyZY0lp+X
		Cpd1l+CYTJi4mSSZkJn8mmia1ZtCm6+cHJyJnPedZJ3SnkCerp8dn4uf+qBp
		oNihR6G2oiailqMGo3aj5qRWpMelOKWpphqmi6b9p26n4KhSqMSpN6mpqhyq
		j6sCq3Wr6axcrNCtRK24ri2uoa8Wr4uwALB1sOqxYLHWskuywrM4s660JbSc
		tRO1irYBtnm28Ldot+C4WbjRuUq5wro7urW7LrunvCG8m70VvY++Cr6Evv+/
		er/1wHDA7MFnwePCX8Lbw1jD1MRRxM7FS8XIxkbGw8dBx7/IPci8yTrJuco4
		yrfLNsu2zDXMtc01zbXONs62zzfPuNA50LrRPNG+0j/SwdNE08bUSdTL1U7V
		0dZV1tjXXNfg2GTY6Nls2fHadtr724DcBdyK3RDdlt4c3qLfKd+v4DbgveFE
		4cziU+Lb42Pj6+Rz5PzlhOYN5pbnH+ep6DLovOlG6dDqW+rl63Dr++yG7RHt
		nO4o7rTvQO/M8Fjw5fFy8f/yjPMZ86f0NPTC9VD13vZt9vv3ivgZ+Kj5OPnH
		+lf65/t3/Af8mP0p/br+S/7c/23//4AH0ikqKyxaJGNsYXNzbmFtZVgkY2xh
		c3Nlc11OU011dGFibGVEYXRhoystLlZOU0RhdGFYTlNPYmplY3TSKSowMVxO
		U0NvbG9yU3BhY2WiMi5cTlNDb2xvclNwYWNl0ikqNDVXTlNDb2xvcqI0Ll8Q
		D05TS2V5ZWRBcmNoaXZlctE4OVRyb290gAEACAARABoAIwAtADIANwBCAEgA
		UwBaAGYAcwCBAIkAiwCNAI8AkQCTAJoArAC3AMQAygDfAOcA+wD9AP8BAQEI
		AQ0BEwEVARcBGQEeASYNcg10DXkNhA2NDZsNnw2mDa8NtA3BDcQN0Q3WDd4N
		4Q3zDfYN+wAAAAAAAAIBAAAAAAAAADoAAAAAAAAAAAAAAAAAAA39
		</data>
		<key>backgroundColorName</key>
		<string>systemBlueColor</string>
		<key>inputTypeIdentifier</key>
		<string>com.apple.Automator.fileSystemObject.image</string>
		<key>outputTypeIdentifier</key>
		<string>com.apple.Automator.nothing</string>
		<key>presentationMode</key>
		<integer>15</integer>
		<key>processesInput</key>
		<integer>0</integer>
		<key>serviceApplicationBundleID</key>
		<string>com.apple.finder</string>
		<key>serviceApplicationPath</key>
		<string>/System/Library/CoreServices/Finder.app</string>
		<key>serviceInputTypeIdentifier</key>
		<string>com.apple.Automator.fileSystemObject.image</string>
		<key>serviceOutputTypeIdentifier</key>
		<string>com.apple.Automator.nothing</string>
		<key>serviceProcessesInput</key>
		<integer>0</integer>
		<key>systemImageName</key>
		<string>NSTouchBarShare</string>
		<key>useAutomaticInputType</key>
		<integer>0</integer>
		<key>workflowTypeIdentifier</key>
		<string>com.apple.Automator.servicesMenu</string>
	</dict>
</dict>
</plist>


================================================
FILE: public/i18n/en.yml
================================================
LANG_DISPLAY_LABEL: "English"
ABOUT: About
OPEN_MAIN_WINDOW: Open Main Window
CHOOSE_DEFAULT_PICBED: Choose Default Picbed
OPEN_UPDATE_HELPER: Open Update Helper
PRIVACY_TERMS_AGREEMENT: Privacy & Terms Agreement
RELOAD_APP: Reload App
UPLOAD_FAILED: Upload Failed
UPLOAD_SUCCEED: Upload Succeed
UPLOAD_PROGRESS: Upload Progress
OPERATION_FAILED: Operation Failed
OPERATION_SUCCEED: Operation Succeed
UPLOADING: Uploading
QUICK_UPLOAD: Quick Upload
UPLOAD_BY_CLIPBOARD: Upload by Clipboard
HIDE_WINDOW: Hide Window
SPONSOR_PICGO: Sponsor PicGo
SHOW_PICBED_QRCODE: Show Picbed Qrcode
PICBED_QRCODE: Picbed Qrcode
ENABLE: Enable
DISABLE: Disable
CONFIG_THING: Config ${c}
FIND_NEW_VERSION: Find New Version
NO_MORE_NOTICE: No More Notice
SHOW_DEVTOOLS: Show Devtools
CURRENT_PICBED: Current Picbed
OPEN_TOOLBOX: Open Toolbox

# ---renderer i18n begin---

CHOOSE_YOUR_DEFAULT_PICBED: "Choose ${d} as your default picbed:"
UPLOAD_AREA: Upload Area
GALLERY: Gallery
PICBEDS_SETTINGS: Picbeds Settings
PICGO_SETTINGS: PicGo Settings
PLUGIN_SETTINGS: Plugins Settings
PICGO_CLOUD_TITLE: PicGo Cloud
PICGO_CLOUD_ERROR_TITLE: PicGo Cloud Error
PICGO_CLOUD_NOT_LOGGED_IN: Not logged in to PicGo Cloud.
PICGO_CLOUD_LOGIN: Log In
PICGO_CLOUD_LOGOUT: Log Out
PICGO_CLOUD_CANCEL_LOGIN: Cancel Login
PICGO_CLOUD_RETRY: Retry
PICGO_CLOUD_CONFIG_SYNC: Config Sync
PICGO_CLOUD_LOGIN_IN_PROGRESS: Login in progress. Please finish login in your browser.
PICGO_CLOUD_LOGGED_IN_AS: "Logged in as: ${user}"
PICGO_CLOUD_OPEN: Open PicGo Cloud
PICGO_CLOUD_LOGIN_TIMEOUT: Login timed out. Please try again.
PICGO_CLOUD_LOGIN_FAILED: Login failed. Please try again.
PICGO_CLOUD_AGREE_PREFIX: "I have read and agree to PicGo's "
PICGO_CLOUD_TERMS_OF_SERVICE: Terms of Service
PICGO_CLOUD_AGREE_AND: " and "
PICGO_CLOUD_PRIVACY_POLICY: Privacy Policy
PICGO_CLOUD_LOGIN_EXPIRED: Login expired. Please log in again.
PICGO_CLOUD_ENCRYPTION_MODE_LABEL: Encryption mode
PICGO_CLOUD_ENCRYPTION_MODE_AUTO: Auto
PICGO_CLOUD_ENCRYPTION_MODE_SERVER: Server-side encryption
PICGO_CLOUD_ENCRYPTION_MODE_E2E: End-to-end encryption
PICGO_CLOUD_ENCRYPTION_MODE_TIP_AUTO: "Auto: follow the cloud's last used encryption method (defaults to server-side)."
PICGO_CLOUD_ENCRYPTION_MODE_TIP_SERVER: "Server-side encryption: your config is encrypted on the server before being stored. No PIN required."
PICGO_CLOUD_ENCRYPTION_MODE_TIP_E2E: "End-to-end encryption: use your PIN to encrypt/decrypt data. PicGo does not store your PIN; losing it means data cannot be recovered."
PICGO_CLOUD_ENCRYPTION_MODE_TIP_DOC: Read full docs
PICGO_CLOUD_E2E_CHECKBOX_LABEL: Enable E2E encryption
PICGO_CLOUD_E2E_ENABLE_WARNING_TITLE: Enable E2E Encryption
PICGO_CLOUD_E2E_ENABLE_WARNING_MESSAGE: "E2E encryption requires you to keep your PIN safe. If you lose your PIN, the encrypted data cannot be recovered. PicGo does not store your PIN or any recovery data."
PICGO_CLOUD_REMOTE_E2E_AUTO_ENABLED: Remote config is E2E-encrypted. E2E has been enabled locally.
PICGO_CLOUD_E2E_PIN_SETUP_TITLE: Set up E2E PIN
PICGO_CLOUD_E2E_PIN_DECRYPT_TITLE: Enter E2E PIN
PICGO_CLOUD_E2E_PIN_RETRY_TITLE: "Incorrect PIN. Please try again (attempt ${retryCount})."
PICGO_CLOUD_E2E_PIN_PLACEHOLDER: PIN
PICGO_CLOUD_E2E_PIN_CONFIRM_PLACEHOLDER: Confirm PIN
PICGO_CLOUD_CONFIG_SYNC_SUCCESS: Config sync succeeded.
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_DETECTED: Conflict detected. Please resolve the conflicts.
PICGO_CLOUD_CONFIG_SYNC_FAILED: Config sync failed.
PICGO_CLOUD_CONFIG_SYNC_ABORTED: Config sync cancelled.
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_TITLE: Confirm switch encryption method?
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_BODY: "You are switching from \"${from}\" to \"${to}\".\n\nNote: Switching encryption modes will clear all your cloud history versions.\nThis is because older history versions cannot be decrypted or verified under the new mode.\nAfter switching, the system will immediately create a new backup as the starting point."
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CONFIRM: Confirm switch and clear history
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CANCEL: Cancel
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CANCELLED: Encryption switch cancelled by user
PICGO_CLOUD_CONFIG_SYNC_FAILED_WITH_REASON: "Config sync failed: ${reason}"
PICGO_CLOUD_CONFIG_SYNC_PIN_MAX_RETRY: Too many incorrect PIN attempts. Please try again.
PICGO_CLOUD_CONFIG_SYNC_LOCAL_CONFIG_INVALID: Local config is invalid. Please check your config file.
PICGO_CLOUD_CONFIG_SYNC_IN_PROGRESS: Config sync is in progress.
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_PENDING: There is a pending conflict session. Please resolve conflicts first.
PICGO_CLOUD_CONFIG_SYNC_NO_CONFLICT_SESSION: No conflict session found.
PICGO_CLOUD_CONFIG_SYNC_RESOLUTION_INCOMPLETE: Please choose Local or Cloud for all conflict items.
PICGO_CLOUD_CONFIG_SYNC_STARTING: Config sync started...
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_TITLE: "Conflict Detected (${count})"
PICGO_CLOUD_CONFIG_SYNC_CHOOSE_ALL_LOCAL: Choose All Local
PICGO_CLOUD_CONFIG_SYNC_CHOOSE_ALL_CLOUD: Choose All Cloud
PICGO_CLOUD_CONFIG_SYNC_RESET_ALL: Reset All
PICGO_CLOUD_CONFIG_SYNC_LOCAL_VERSION: Local Version
PICGO_CLOUD_CONFIG_SYNC_CLOUD_VERSION: Cloud Version
PICGO_CLOUD_CONFIG_SYNC_ABORT: Abort
PICGO_CLOUD_CONFIG_SYNC_CONFIRM_AND_SYNC: Confirm & Sync
PICGO_CLOUD_CONFIG_SYNC_VALUE_UNDEFINED: (empty)
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_RESOLVED: Conflicts resolved.
PICGO_CLOUD_LAST_SYNC_TIME: "Last local sync time: ${time}"
PICGO_CLOUD_LAST_SYNC_TIME_NONE: None
PICGO_CLOUD_CONFIG_SYNC_RESTART_PROMPT_TITLE: Restart Required?
PICGO_CLOUD_CONFIG_SYNC_RESTART_PROMPT_MESSAGE: Some settings may require a restart to take effect. Restart now?
PICGO_CLOUD_CONFIG_SYNC_RESTART_NOW: Restart Now
PICGO_CLOUD_CONFIG_SYNC_RESTART_LATER: Later
INPUT_BOX_CONFIRM_MISMATCH: The two inputs do not match.
PICGO_SPONSOR_TEXT: PicGo is a free software, if you like it, please don't forget to buy me a cup of coffee.
ALIPAY: Alipay
WECHATPAY: Wechat Pay
CHOOSE_PICBED: Choose Picbed
COPY_PICBED_CONFIG: Copy Picbed Config
COPY_PICBED_CONFIG_SUCCEED: Copy Picbed Config Succeed
INPUT: Input
CANCEL: Cancel
CONFIRM: Confirm
CHOOSE_SHOWED_PICBED: Choose Showed Picbed
CHOOSE_PASTE_FORMAT: Choose Paste Format
SEARCH: Search
COPY: Copy
DELETE: Delete
SELECT_ALL: Select All
CHANGE_IMAGE_URL: Change Image URL
CHANGE_IMAGE_URL_SUCCEED: Change Image URL Succeed
COPY_LINK_SUCCEED: Copy Link Succeed
BATCH_COPY_LINK_SUCCEED: Batch Copy Link Succeed
FILE_RENAME: File Rename
COPY_FILE_PATH: Copy file path
OPEN_FILE_PATH: Open file path
SUCCESS: Success
FAILED: Failed

# settings

SETTINGS: Settings
SETTINGS_OPEN_CONFIG_FILE: Open Config File
SETTINGS_CLICK_TO_OPEN: Click to Open
SETTINGS_SET_LOG_FILE: Set Log File
SETTINGS_CLICK_TO_SET: Click to Set
SETTINGS_CLICK_TO_CHECK: Click to Check
SETTINGS_SET_SHORTCUT: Set Shortcut
SETTINGS_URL_REWRITE: URL Rewrite
SETTINGS_CUSTOM_LINK_FORMAT: Custom Link Format
SETTINGS_SET_PROXY_AND_MIRROR: Set Proxy and Mirror
SETTINGS_SET_SERVER: Set Server
SETTINGS_CHECK_UPDATE: Check Update
SETTINGS_OPEN_UPDATE_HELPER: Open Update Helper
SETTINGS_OPEN: Open
SETTINGS_CLOSE: Close
SETTINGS_ACCEPT_BETA_UPDATE: Accept Beta Update
SETTINGS_LAUNCH_ON_BOOT: Launch On Boot
SETTINGS_RENAME_BEFORE_UPLOAD: Rename Before Upload
SETTINGS_TIMESTAMP_RENAME: Timestamp Rename
SETTINGS_OPEN_UPLOAD_TIPS: Open Upload Tips
SETTINGS_NOTIFICATION_SOUND: Play Notification Sound
SETTINGS_MINI_WINDOW_ON_TOP: Mini Window On Top
SETTINGS_AUTO_COPY_URL_AFTER_UPLOAD: Auto Copy URL After Upload
SETTINGS_TIPS_PLACEHOLDER_URL: Use $url to represent url position
SETTINGS_TIPS_PLACEHOLDER_FILENAME: Use $fileName to represent file name position
SETTINGS_TIPS_PLACEHOLDER_EXTNAME: Use $extName to represent file's ext position
SETTINGS_TIPS_SUCH_AS: "Such as: $url/$fileName"
SETTINGS_UPLOAD_PROXY: Upload Proxy
SETTINGS_PLUGIN_INSTALL_PROXY: Proxy for Plugin Install
SETTINGS_PLUGIN_INSTALL_MIRROR: Mirror for Plugin Install
SETTINGS_CURRENT_VERSION: Current Version
SETTINGS_NEWEST_VERSION: Newest Version
SETTINGS_GETING: Getting...
SETTINGS_TIPS_HAS_NEW_VERSION: PicGo has a new version, please click confirm to open download page
SETTINGS_LOG_FILE: Log File
SETTINGS_LOG_LEVEL: Log Level
SETTINGS_LOG_FILE_SIZE: Log File Size
SETTINGS_SET_PICGO_SERVER: Set PicGo Server
SETTINGS_TIPS_SERVER_NOTICE: If you don't know what is the server's function, please read the document, or don't modify the configuration.
SETTINGS_ENABLE_SERVER: Enable Server
SETTINGS_SET_SERVER_HOST: Set Server Host
SETTINGS_SET_SERVER_PORT: Set Server Port
SETTINGS_TIP_PLACEHOLDER_HOST: Default:127.0.0.1
SETTINGS_TIP_PLACEHOLDER_PORT: Default:36677
SETTINGS_LOG_LEVEL_ALL: All
SETTINGS_LOG_LEVEL_SUCCESS: Success
SETTINGS_LOG_LEVEL_ERROR: Error
SETTINGS_LOG_LEVEL_INFO: Info
SETTINGS_LOG_LEVEL_WARN: Warn
SETTINGS_LOG_LEVEL_NONE: None
SETTINGS_RESULT: Result
SETTINGS_DEFAULT_PICBED: Default Picbed
SETTINGS_SET_DEFAULT_PICBED: Set Default Picbed
SETTINGS_NOT_CONFIG_OPTIONS: Not Config Options
SETTINGS_USE_BUILTIN_CLIPBOARD_UPLOAD: Use Builtin Clipboard to Upload
SETTINGS_CHOOSE_LANGUAGE: Choose Language
UPLOADER_CONFIG_NAME: Configuration Name
BUILTIN_CLIPBOARD_TIPS: Use builtin clipboard function to upload instead of using scripts

# url rewrite

URL_REWRITE_HELP: Rewrites uploaded image URLs. Rules are evaluated in order; the first matched rule wins.
URL_REWRITE_ADD_RULE: Add Rule
URL_REWRITE_EDIT_RULE: Edit Rule
URL_REWRITE_EMPTY: No rules
URL_REWRITE_ORDER: Order
URL_REWRITE_MATCH: Match
URL_REWRITE_REPLACE: Replace
URL_REWRITE_FLAGS: Flags
URL_REWRITE_ENABLED: Enabled
URL_REWRITE_ACTIONS: Actions
URL_REWRITE_MOVE_UP: Up
URL_REWRITE_MOVE_DOWN: Down
URL_REWRITE_EDIT: Edit
URL_REWRITE_DELETE: Delete
URL_REWRITE_DELETE_CONFIRM: Delete this rule?
URL_REWRITE_MATCH_TIPS: Supports regex (JavaScript RegExp)
URL_REWRITE_MATCH_PLACEHOLDER: https://example.com/path
URL_REWRITE_REPLACE_TIPS: Replacement string (supports $1, $2, ...)
URL_REWRITE_REPLACE_PLACEHOLDER: https://example.org/newpath
URL_REWRITE_OPTIONS: Options
URL_REWRITE_RULE_ENABLED: Enable this rule
URL_REWRITE_FLAG_GLOBAL_LABEL: Global (g)
URL_REWRITE_FLAG_GLOBAL_DESC: Replace all occurrences, not just the first one
URL_REWRITE_FLAG_IGNORE_CASE_LABEL: Ignore case (i)
URL_REWRITE_FLAG_IGNORE_CASE_DESC: Case-insensitive matching (e.g. JPG equals jpg)
URL_REWRITE_MATCH_REQUIRED: Match is required
URL_REWRITE_REPLACE_REQUIRED: Replace is required
URL_REWRITE_INVALID_REGEX: Invalid regex
URL_REWRITE_PREVIEW_TITLE: Preview
URL_REWRITE_PREVIEW_TIPS: Enter a URL to see how the current rules rewrite it (matched in order; only the first match is applied)
URL_REWRITE_PREVIEW_PLACEHOLDER: https://example.com/path/to/image.png
URL_REWRITE_PREVIEW_RUN: Preview
URL_REWRITE_PREVIEW_OUTPUT: Output URL
URL_REWRITE_PREVIEW_INPUT_REQUIRED: Please enter a URL to preview
URL_REWRITE_PREVIEW_RULE_INVALID: Invalid rule
URL_REWRITE_PREVIEW_MATCHED_RULE: Matched rule
URL_REWRITE_PREVIEW_NO_MATCH: No rules matched
UPLOADER_CONFIG_PLACEHOLDER: Please Enter Configuration Name
SELECTED_SETTING_HINT: Selected
SETTINGS_ENCODE_OUTPUT_URL: Encode Output(or Copyed) URL
SETTINGS_SHOW_DOCK_ICON: Show Dock icon
SETTINGS_SHOW_MENUBAR_ICON: Show Menubar icon
SETTINGS_SHOW_MENUBAR_ICON_TIPS: If both "Show Dock icon" and "Show Menubar icon" are turned off, you won't be able to find PicGo's main window. Edit the config file and set showDockIcon or showMenubarIcon to true to recover.
SETTINGS_STARTUP_MODE: Startup Mode
SETTINGS_STARTUP_MODE_MAIN_WINDOW: Open Main Window
SETTINGS_STARTUP_MODE_MINI_WINDOW: Open Mini Window
SETTINGS_STARTUP_MODE_HIDE: Silent Startup

# shortcut-page

SHORTCUT_NAME: Shortcut Name
SHORTCUT_BIND: Shortcut Binding
SHORTCUT_STATUS: Status
SHORTCUT_ENABLED: Enabled
SHORTCUT_DISABLED: Disabled
SHORTCUT_SOURCE: Source
SHORTCUT_HANDLE: Handle
SHORTCUT_ENABLE: Enable
SHORTCUT_DISABLE: Disable
SHORTCUT_EDIT: Edit
SHORTCUT_CHANGE_UPLOAD: Change Upload Shortcut

# gallery-page
GALLERY_URL_REWRITE_TITLE: Rewrite Selected Image URLs
GALLERY_URL_REWRITE_RESULT_TITLE: Rewrite Image URL Result
GALLERY_URL_REWRITE_WARN_NO_SELECTION: You must select at least one picture first

GALLERY_URL_REWRITE_APPLY_GLOBAL_RULES: Apply global URL rewrite rules
GALLERY_URL_REWRITE_GLOBAL_RULES_COUNT: Global rules
GALLERY_URL_REWRITE_TEMP_RULE_TIPS: Optional. Leave empty to skip the temporary rule. Temporary rule has higher priority than global rules.
GALLERY_URL_REWRITE_TEMP_RULE_REQUIRED: Match and Replace are required for the temporary rule
GALLERY_URL_REWRITE_NO_RULES_TO_APPLY: No global rules enabled and no temporary rule provided
GALLERY_URL_REWRITE_SAVE_TEMP_RULE_PROMPT: Save the temporary rule to global URL rewrite rules?
GALLERY_URL_REWRITE_APPLY_AND_SAVE: Apply and Save
GALLERY_URL_REWRITE_APPLY_ONLY: Apply Only
GALLERY_URL_REWRITE_NO_CHANGES: No URLs were changed
GALLERY_URL_REWRITE_EMPTY_RESULT_WARN: The rewrite result is empty; skipped

# tray-page

WAIT_TO_UPLOAD: Wait to Upload
ALREADY_UPLOAD: Already Upload

# upload-page

PICTURE_UPLOAD: Picture Upload
DRAG_FILE_TO_HERE: Drag file to here, or
CLICK_TO_UPLOAD: click to upload
LINK_FORMAT: Link Format
CUSTOM: Custom
CLIPBOARD_PICTURE: Clipboard
TIPS_DRAG_VALID_PICTURE_OR_URL: Drag valid picture or url to here
TIPS_INPUT_URL: Input URL
TIPS_HTTP_PREFIX: Starts with http:// or https://. Multiple URLs supported (one per line)
TIPS_INPUT_VALID_URL: Input valid URL

# plugins

PLUGIN_SEARCH_PLACEHOLDER: Search picgo plugins on npm, or click the button to view the awesome plugins list
PLUGIN_INSTALL: Install
PLUGIN_INSTALLING: Installing...
PLUGIN_INSTALLED: Installed
PLUGIN_DOING_SOMETHING: Doing...
PLUGIN_LIST: Plugin List
PLUGIN_IMPORT_LOCAL: Import Local Plugins

# tips

TIPS_REMOVE_LINK: This operation will remove the picture from the album, continue?
TIPS_WILL_REMOVE_CHOOSED_IMAGES: This operation will remove the picture from the album, continue?
TIPS_MUST_CONTAINS_URL: Must contains $url or $fileName or $extName
TIPS_NETWORK_ERROR: Network Error
TIPS_NEED_RELOAD: Need Reload App
TIPS_PLEASE_CHOOSE_LOG_LEVEL: Please choose log level
TIPS_SET_SUCCEED: Set successfully
TIPS_PLUGIN_NOT_GUI_IMPLEMENT: This plugin is not optimized for the GUI, continue?
TIPS_CLICK_NOTIFICATION_TO_RELOAD: Click notification to reload app
TIPS_GET_PLUGIN_LIST_FAILED: Get plugin list failed

# ---renderer i18n end---

# plugins
PLUGIN_INSTALL_SUCCEED: Plugin install succeed
PLUGIN_INSTALL_FAILED: Plugin install failed
PLUGIN_UNINSTALL_SUCCEED: Plugin uninstall succeed
PLUGIN_UNINSTALL_FAILED: Plugin uninstall failed
PLUGIN_UPDATE_SUCCEED: Plugin update succeed
PLUGIN_UPDATE_FAILED: Plugin update failed
PLUGIN_IMPORT_SUCCEED: Plugin import succeed
PLUGIN_IMPORT_FAILED: Plugin import failed
ENABLE_PLUGIN: Enable Plugin
DISABLE_PLUGIN: Disable Plugin
UNINSTALL_PLUGIN: Uninstall Plugin
UPDATE_PLUGIN: Update Plugin

# toolbox
TOOLBOX: Toolbox
TOOLBOX_TITLE: Troubleshoot PicGo runtime issues
TOOLBOX_SUB_TITLE: Scan the following items immediately to fix usage issues
TOOLBOX_CHECK_CONFIG_FILE_BROKEN: Check if the configuration file is damaged
TOOLBOX_CHECK_GALLERY_FILE_BROKEN: Check if the album file is damaged
TOOLBOX_CHECK_PROBLEM_WITH_CLIPBOARD_PIC_UPLOAD: Check if there is a problem with clipboard picture upload
TOOLBOX_CHECK_PROBLEM_WITH_PROXY: Check if the proxy settings are normal
TOOLBOX_FIX_DONE_NEED_RELOAD: Repair completed, need to restart to take effect, restart or not
TOOLBOX_CANT_AUTO_FIX: Unable to automatically repair, please repair the following problems yourself
TOOLBOX_START_SCAN: Start scanning
TOOLBOX_RE_SCAN: Re scanning
TOOLBOX_START_FIX: Start fixing
TOOLBOX_SUCCESS_TIPS: Congratulations, no problems were found
TOOLBOX_CHECK_CONFIG_FILE_PATH_TIPS: "The configuration file path is: ${path}"
TOOLBOX_CHECK_CONFIG_FILE_BROKEN_TIPS: The configuration file is damaged
TOOLBOX_CHECK_GALLERY_FILE_PATH_TIPS: "The album file path is: ${path}"
TOOLBOX_CHECK_GALLERY_FILE_BROKEN_TIPS: The album file is damaged
TOOLBOX_CHECK_PROXY_SUCCESS_TIPS: Proxy settings normal
TOOLBOX_CHECK_PROXY_NO_PROXY_TIPS: No proxy settings
TOOLBOX_CHECK_PROXY_PROXY_IS_NOT_CORRECT: Proxy settings incorrect
TOOLBOX_CHECK_PROXY_PROXY_IS_NOT_WORKING: Proxy settings unavailable
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_TIPS: "The temporary folder path for clipboard pictures is: ${path}"
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_NOT_EXIST_TIPS: "The temporary folder for clipboard pictures does not exist: ${path}"
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_ERROR_TIPS: "Please create the folder yourself: ${path}"

# tips
TIPS_NOTICE: Tips
TIPS_WARNING: Warning
TIPS_ERROR: Error
TIPS_SKIPPED_INVALID_URLS: Skipped ${n} invalid URL(s), see logs for details
TIPS_TOO_MANY_URLS_CONFIRM: You are about to upload ${n} URLs at once. This may cause lag. It's recommended to upload in batches. Continue?
TIPS_NO_VALID_URLS: No valid URL found
TIPS_INSTALL_NODE_AND_RELOAD_PICGO: Please install Node.js and restart PicGo to continue
TIPS_PLUGIN_REMOVE_GALLERY_ITEM: Plugin is trying to remove some images from the album gallery, continue?
TIPS_PLUGIN_OVERWRITE_GALLERY: Plugin is trying to overwrite the album gallery, continue?
TIPS_UPLOAD_NOT_PICTURES: The latest clipboard item is not a picture
TIPS_PICGO_CONFIG_FILE_BROKEN_WITH_DEFAULT: PicGo config file broken, has been restored to default
TIPS_PICGO_CONFIG_FILE_BROKEN_WITH_BACKUP: PicGo config file broken, has been restored to backup
TIPS_PICGO_BACKUP_FILE_VERSION: "Backup file version: ${v}"
TIPS_CUSTOM_CONFIG_FILE_PATH_ERROR: Custom config file parse error, please check the path content
TIPS_SHORTCUT_MODIFIED_SUCCEED: Shortcut modified successfully
TIPS_SHORTCUT_MODIFIED_CONFLICT: Shortcut conflict, please reset
TIPS_CUSTOM_LINK_STYLE_MODIFIED_SUCCEED: Custom link style modified successfully
TIPS_FIND_NEW_VERSION: Find new version ${v},update many new features, do you want to download the latest version?
TIPS_DELETE_UPLOADER_CONFIG: Are you sure you want to delete this config?
TIPS_COPY_UPLOADER_CONFIG: Are you sure you want to copy this config?
TIPS_UPLOADER_CONFIG_NAME_EMPTY: Config name cannot be empty
TIPS_UPLOADER_CONFIG_NOT_FOUND: Config not found
TIPS_UPLOADER_CONFIG_CANNOT_DELETE_LAST: Cannot delete the last config

# privacy
PRIVACY: "Please read and agree to the Privacy Policy ${privacyUrl} and Terms of Service ${termsUrl} before using."
PRIVACY_TIPS: Please agree the privacy policy to upload
QUIT: Quit


================================================
FILE: public/i18n/zh-CN.yml
================================================
LANG_DISPLAY_LABEL: 中文
ABOUT: 关于
OPEN_MAIN_WINDOW: 打开主窗口
CHOOSE_DEFAULT_PICBED: 选择默认图床
OPEN_UPDATE_HELPER: 打开更新助手
PRIVACY_TERMS_AGREEMENT: 隐私与条款协议
RELOAD_APP: 重启应用
UPLOAD_SUCCEED: 上传成功
UPLOAD_FAILED: 上传失败
UPLOAD_PROGRESS: 上传进度
OPERATION_SUCCEED: 操作成功
OPERATION_FAILED: 操作失败
UPLOADING: 正在上传
QUICK_UPLOAD: 快捷上传
UPLOAD_BY_CLIPBOARD: 剪贴板图片上传
HIDE_WINDOW: 隐藏窗口
SPONSOR_PICGO: 赞助 PicGo
SHOW_PICBED_QRCODE: 生成图床配置二维码
PICBED_QRCODE: 图床配置二维码
ENABLE: 启用
DISABLE: 禁用
CONFIG_THING: 配置${c}
FIND_NEW_VERSION: 发现新版本
NO_MORE_NOTICE: 以后不再提醒
SHOW_DEVTOOLS: 打开开发者工具
CURRENT_PICBED: 当前图床
OPEN_TOOLBOX: 打开修复工具箱

# ---renderer i18n begin---

CHOOSE_YOUR_DEFAULT_PICBED: 选择 ${d} 作为你默认图床:
UPLOAD_AREA: 上传区
GALLERY: 相册
PICBEDS_SETTINGS: 图床设置
PICGO_SETTINGS: PicGo设置
PLUGIN_SETTINGS: 插件设置
PICGO_CLOUD_TITLE: PicGo Cloud
PICGO_CLOUD_ERROR_TITLE: PicGo Cloud 错误
PICGO_CLOUD_NOT_LOGGED_IN: 尚未登录 PicGo Cloud
PICGO_CLOUD_LOGIN: 登录
PICGO_CLOUD_LOGOUT: 退出登录
PICGO_CLOUD_CANCEL_LOGIN: 取消登录
PICGO_CLOUD_RETRY: 重试
PICGO_CLOUD_CONFIG_SYNC: 配置同步
PICGO_CLOUD_LOGIN_IN_PROGRESS: 登录进行中,请在浏览器完成登录。
PICGO_CLOUD_LOGGED_IN_AS: "已登录:${user}"
PICGO_CLOUD_OPEN: 打开 PicGo Cloud
PICGO_CLOUD_LOGIN_TIMEOUT: 登录超时,请重试。
PICGO_CLOUD_LOGIN_FAILED: 登录失败,请重试。
PICGO_CLOUD_AGREE_PREFIX: 我已阅读并同意 PicGo 的
PICGO_CLOUD_TERMS_OF_SERVICE: 服务条款
PICGO_CLOUD_AGREE_AND: 以及
PICGO_CLOUD_PRIVACY_POLICY: 隐私政策
PICGO_CLOUD_LOGIN_EXPIRED: 登录失效,请重新登录。
PICGO_CLOUD_ENCRYPTION_MODE_LABEL: 加密模式
PICGO_CLOUD_ENCRYPTION_MODE_AUTO: 自动
PICGO_CLOUD_ENCRYPTION_MODE_SERVER: 服务端加密
PICGO_CLOUD_ENCRYPTION_MODE_E2E: 端到端加密
PICGO_CLOUD_ENCRYPTION_MODE_TIP_AUTO: 自动:跟随云端上一次配置的加密方式(默认服务端加密)。
PICGO_CLOUD_ENCRYPTION_MODE_TIP_SERVER: 服务端加密:我们会在服务端对你的配置加密后再存储,不需要 PIN。
PICGO_CLOUD_ENCRYPTION_MODE_TIP_E2E: 端到端加密:需要你输入 PIN 来加密/解密数据。PicGo 不存储 PIN,丢失将无法找回数据。
PICGO_CLOUD_ENCRYPTION_MODE_TIP_DOC: 查看完整文档
PICGO_CLOUD_E2E_CHECKBOX_LABEL: 开启 E2E 加密
PICGO_CLOUD_E2E_ENABLE_WARNING_TITLE: 开启 E2E 加密
PICGO_CLOUD_E2E_ENABLE_WARNING_MESSAGE: E2E 加密需要你自行妥善保管 PIN。PIN 丢失将无法恢复加密数据。PicGo 不会存储 PIN 或任何恢复信息。
PICGO_CLOUD_REMOTE_E2E_AUTO_ENABLED: 检测到远端配置已开启 E2E 加密,已自动在本地开启 E2E。
PICGO_CLOUD_E2E_PIN_SETUP_TITLE: 设置 E2E PIN
PICGO_CLOUD_E2E_PIN_DECRYPT_TITLE: 输入 E2E PIN
PICGO_CLOUD_E2E_PIN_RETRY_TITLE: "PIN 错误,请重试(第 ${retryCount} 次)。"
PICGO_CLOUD_E2E_PIN_PLACEHOLDER: PIN
PICGO_CLOUD_E2E_PIN_CONFIRM_PLACEHOLDER: 确认 PIN
PICGO_CLOUD_CONFIG_SYNC_SUCCESS: 配置同步成功。
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_DETECTED: 检测到配置冲突,请选择解决方案。
PICGO_CLOUD_CONFIG_SYNC_FAILED: 配置同步失败。
PICGO_CLOUD_CONFIG_SYNC_ABORTED: 已取消配置同步。
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_TITLE: 确认切换加密方式吗?
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_BODY: "您正在从“${from}”切换为“${to}”。\n\n注意:切换加密模式将清空您所有的云端历史版本记录。\n这是因为旧的历史版本无法在新模式下被解密或验证。\n切换后,系统将立即为您创建一份新的备份作为起点。"
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CONFIRM: 确认切换并清空历史
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CANCEL: 取消
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CANCELLED: 已取消切换加密方式
PICGO_CLOUD_CONFIG_SYNC_FAILED_WITH_REASON: "配置同步失败:${reason}"
PICGO_CLOUD_CONFIG_SYNC_PIN_MAX_RETRY: PIN 错误次数过多,请稍后重试。
PICGO_CLOUD_CONFIG_SYNC_LOCAL_CONFIG_INVALID: 本地配置文件格式错误,请检查配置文件。
PICGO_CLOUD_CONFIG_SYNC_IN_PROGRESS: 配置同步进行中…
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_PENDING: 存在未解决的冲突,请先处理。
PICGO_CLOUD_CONFIG_SYNC_NO_CONFLICT_SESSION: 未找到可处理的冲突会话。
PICGO_CLOUD_CONFIG_SYNC_RESOLUTION_INCOMPLETE: 请为所有冲突项选择本地或云端。
PICGO_CLOUD_CONFIG_SYNC_STARTING: 配置同步已开始…
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_TITLE: "冲突处理(${count} 项)"
PICGO_CLOUD_CONFIG_SYNC_CHOOSE_ALL_LOCAL: 全选本地
PICGO_CLOUD_CONFIG_SYNC_CHOOSE_ALL_CLOUD: 全选云端
PICGO_CLOUD_CONFIG_SYNC_RESET_ALL: 重置全部
PICGO_CLOUD_CONFIG_SYNC_LOCAL_VERSION: 本地版本
PICGO_CLOUD_CONFIG_SYNC_CLOUD_VERSION: 云端版本
PICGO_CLOUD_CONFIG_SYNC_ABORT: 放弃同步
PICGO_CLOUD_CONFIG_SYNC_CONFIRM_AND_SYNC: 确认并同步
PICGO_CLOUD_CONFIG_SYNC_VALUE_UNDEFINED: (空)
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_RESOLVED: 配置冲突已解决。
PICGO_CLOUD_LAST_SYNC_TIME: "上次本地同步时间:${time}"
PICGO_CLOUD_LAST_SYNC_TIME_NONE: 无
PICGO_CLOUD_CONFIG_SYNC_RESTART_PROMPT_TITLE: 需要重启吗?
PICGO_CLOUD_CONFIG_SYNC_RESTART_PROMPT_MESSAGE: 部分配置可能需要重启后生效,是否立即重启?
PICGO_CLOUD_CONFIG_SYNC_RESTART_NOW: 立即重启
PICGO_CLOUD_CONFIG_SYNC_RESTART_LATER: 稍后
INPUT_BOX_CONFIRM_MISMATCH: 两次输入不一致,请重新输入。
PICGO_SPONSOR_TEXT: PicGo是免费开源的软件,如果你喜欢它,对你有帮助,不妨请我喝杯咖啡?
ALIPAY: 支付宝
WECHATPAY: 微信支付
CHOOSE_PICBED: 选择图床
COPY_PICBED_CONFIG: 复制图床配置
COPY_PICBED_CONFIG_SUCCEED: 复制图床配置成功
INPUT: 输入框
CANCEL: 取消
CONFIRM: 确定
CHOOSE_SHOWED_PICBED: 请选择显示的图床
CHOOSE_PASTE_FORMAT: 请选择粘贴的格式
SEARCH: 搜索
COPY: 复制
DELETE: 删除
SELECT_ALL: 全选
CHANGE_IMAGE_URL: 修改图片URL
CHANGE_IMAGE_URL_SUCCEED: 修改图片URL成功
COPY_LINK_SUCCEED: 复制链接成功
BATCH_COPY_LINK_SUCCEED: 批量复制链接成功
FILE_RENAME: 文件改名
COPY_FILE_PATH: 复制文件路径
OPEN_FILE_PATH: 打开文件路径
SUCCESS: 成功
FAILED: 失败

# settings

SETTINGS: 设置
SETTINGS_OPEN_CONFIG_FILE: 打开配置文件
SETTINGS_CLICK_TO_OPEN: 点击打开
SETTINGS_SET_LOG_FILE: 设置日志文件
SETTINGS_CLICK_TO_SET: 点击设置
SETTINGS_CLICK_TO_CHECK: 点击检查
SETTINGS_SET_SHORTCUT: 设置快捷键
SETTINGS_URL_REWRITE: URL 重写
SETTINGS_CUSTOM_LINK_FORMAT: 自定义链接格式
SETTINGS_SET_PROXY_AND_MIRROR: 设置代理和镜像地址
SETTINGS_SET_SERVER: 设置Server
SETTINGS_CHECK_UPDATE: 检查更新
SETTINGS_OPEN_UPDATE_HELPER: 打开更新助手
SETTINGS_OPEN: 开
SETTINGS_CLOSE: 关
SETTINGS_ACCEPT_BETA_UPDATE: 接受Beta版本更新
SETTINGS_LAUNCH_ON_BOOT: 开机自启
SETTINGS_RENAME_BEFORE_UPLOAD: 上传前重命名
SETTINGS_TIMESTAMP_RENAME: 时间戳重命名
SETTINGS_OPEN_UPLOAD_TIPS: 开启上传提示
SETTINGS_NOTIFICATION_SOUND: 开启通知提示音
SETTINGS_MINI_WINDOW_ON_TOP: Mini窗口置顶
SETTINGS_AUTO_COPY_URL_AFTER_UPLOAD: 上传后自动复制URL
SETTINGS_TIPS_PLACEHOLDER_URL: 用占位符 $url 来表示url的位置
SETTINGS_TIPS_PLACEHOLDER_FILENAME: 用占位符 $fileName 来表示文件名的位置
SETTINGS_TIPS_PLACEHOLDER_EXTNAME: 用占位符 $extName 来表示文件格式的位置
SETTINGS_TIPS_SUCH_AS: 如
SETTINGS_UPLOAD_PROXY: 上传代理
SETTINGS_PLUGIN_INSTALL_PROXY: 插件安装代理
SETTINGS_PLUGIN_INSTALL_MIRROR: 插件安装镜像
SETTINGS_CURRENT_VERSION: 当前版本
SETTINGS_NEWEST_VERSION: 最新版本
SETTINGS_GETING: 正在获取中
SETTINGS_TIPS_HAS_NEW_VERSION: PicGo更新啦,请点击确定打开下载页面
SETTINGS_LOG_FILE: 日志文件
SETTINGS_LOG_LEVEL: 日志记录等级
SETTINGS_LOG_FILE_SIZE: 日志文件大小
SETTINGS_SET_PICGO_SERVER: 设置PicGo-Server
SETTINGS_TIPS_SERVER_NOTICE: 如果你不知道Server的作用,请阅读文档,或者不用修改配置。
SETTINGS_ENABLE_SERVER: 是否开启Server
SETTINGS_SET_SERVER_HOST: 设置监听地址
SETTINGS_SET_SERVER_PORT: 设置监听端口
SETTINGS_TIP_PLACEHOLDER_HOST: 推荐默认地址:127.0.0.1
SETTINGS_TIP_PLACEHOLDER_PORT: 推荐默认端口:36677
SETTINGS_LOG_LEVEL_ALL: 全部-All
SETTINGS_LOG_LEVEL_SUCCESS: 成功-Success
SETTINGS_LOG_LEVEL_ERROR: 错误-Error
SETTINGS_LOG_LEVEL_INFO: 普通-Info
SETTINGS_LOG_LEVEL_WARN: 提醒-Warn
SETTINGS_LOG_LEVEL_NONE: 不记录日志-None
SETTINGS_RESULT: 设置结果
SETTINGS_DEFAULT_PICBED: 设置默认图床
SETTINGS_SET_DEFAULT_PICBED: 设为默认图床
SETTINGS_NOT_CONFIG_OPTIONS: 暂无配置项
SETTINGS_USE_BUILTIN_CLIPBOARD_UPLOAD: 使用内置剪贴板上传
SETTINGS_CHOOSE_LANGUAGE: 选择语言
BUILTIN_CLIPBOARD_TIPS: 使用内置剪贴板函数而不是调用脚本获取剪贴板图片
UPLOADER_CONFIG_NAME: 图床配置名

# url rewrite

URL_REWRITE_HELP: 用于重写上传后的图片 URL。规则按顺序匹配,命中的第一条匹配生效。
URL_REWRITE_ADD_RULE: 新增规则
URL_REWRITE_EDIT_RULE: 编辑规则
URL_REWRITE_EMPTY: 暂无规则
URL_REWRITE_ORDER: 顺序
URL_REWRITE_MATCH: 匹配
URL_REWRITE_REPLACE: 替换
URL_REWRITE_FLAGS: 标志
URL_REWRITE_ENABLED: 启用
URL_REWRITE_ACTIONS: 操作
URL_REWRITE_MOVE_UP: 上移
URL_REWRITE_MOVE_DOWN: 下移
URL_REWRITE_EDIT: 编辑
URL_REWRITE_DELETE: 删除
URL_REWRITE_DELETE_CONFIRM: 确定删除该规则?
URL_REWRITE_MATCH_TIPS: 支持正则(JavaScript RegExp)
URL_REWRITE_MATCH_PLACEHOLDER: https://example.com/path
URL_REWRITE_REPLACE_TIPS: 替换内容(支持 $1、$2...)
URL_REWRITE_REPLACE_PLACEHOLDER: https://example.org/newpath
URL_REWRITE_OPTIONS: 选项
URL_REWRITE_RULE_ENABLED: 启用该规则
URL_REWRITE_FLAG_GLOBAL_LABEL: 全局(g)
URL_REWRITE_FLAG_GLOBAL_DESC: 替换所有找到的内容,而不仅仅是第一个
URL_REWRITE_FLAG_IGNORE_CASE_LABEL: 忽略大小写(i)
URL_REWRITE_FLAG_IGNORE_CASE_DESC: 匹配时不区分字母大小写(例如 JPG 等同于 jpg)
URL_REWRITE_MATCH_REQUIRED: 匹配规则不能为空
URL_REWRITE_REPLACE_REQUIRED: 替换内容不能为空
URL_REWRITE_INVALID_REGEX: 正则表达式不合法
URL_REWRITE_PREVIEW_TITLE: 预览
URL_REWRITE_PREVIEW_TIPS: 输入一个 URL,查看当前规则的重写结果(按顺序匹配,仅第一条命中的规则生效)
URL_REWRITE_PREVIEW_PLACEHOLDER: https://example.com/path/to/image.png
URL_REWRITE_PREVIEW_RUN: 预览
URL_REWRITE_PREVIEW_OUTPUT: 输出 URL
URL_REWRITE_PREVIEW_INPUT_REQUIRED: 请输入要预览的 URL
URL_REWRITE_PREVIEW_RULE_INVALID: 规则无效
URL_REWRITE_PREVIEW_MATCHED_RULE: 命中规则
URL_REWRITE_PREVIEW_NO_MATCH: 没有规则匹配
UPLOADER_CONFIG_PLACEHOLDER: 请输入配置名称
SELECTED_SETTING_HINT: 已选中
SETTINGS_ENCODE_OUTPUT_URL: 输出(复制) URL 时进行转义
SETTINGS_SHOW_DOCK_ICON: 显示 Dock 栏图标
SETTINGS_SHOW_MENUBAR_ICON: 显示顶部栏图标
SETTINGS_SHOW_MENUBAR_ICON_TIPS: 若“显示 Dock 栏图标”和“显示顶部栏图标”都关闭,将会无法找到 PicGo 主界面。需要手动修改配置文件里的 showDockIcon 或 showMenubarIcon 为 true 才能恢复。
SETTINGS_STARTUP_MODE: 启动模式
SETTINGS_STARTUP_MODE_MAIN_WINDOW: 打开主窗口
SETTINGS_STARTUP_MODE_MINI_WINDOW: 打开 Mini 窗口
SETTINGS_STARTUP_MODE_HIDE: 静默启动

# shortcut-page

SHORTCUT_NAME: 快捷键名称
SHORTCUT_BIND: 快捷键绑定
SHORTCUT_STATUS: 状态
SHORTCUT_ENABLED: 已启用
SHORTCUT_DISABLED: 已禁用
SHORTCUT_SOURCE: 来源
SHORTCUT_HANDLE: 操作
SHORTCUT_ENABLE: 启用
SHORTCUT_DISABLE: 禁用
SHORTCUT_EDIT: 编辑
SHORTCUT_CHANGE_UPLOAD: 修改上传快捷键

# gallery-page
GALLERY_URL_REWRITE_TITLE: 重写选中图片 URL
GALLERY_URL_REWRITE_RESULT_TITLE: 重写图片 URL 结果
GALLERY_URL_REWRITE_WARN_NO_SELECTION: 你必须先选中至少一张图片

GALLERY_URL_REWRITE_APPLY_GLOBAL_RULES: 应用全局 URL 重写规则
GALLERY_URL_REWRITE_GLOBAL_RULES_COUNT: 全局规则数量
GALLERY_URL_REWRITE_TEMP_RULE_TIPS: 可选,留空则不使用临时规则(临时规则优先级高于全局规则)。
GALLERY_URL_REWRITE_TEMP_RULE_REQUIRED: 临时规则需要同时填写「匹配」和「替换」
GALLERY_URL_REWRITE_NO_RULES_TO_APPLY: 没有可用的全局规则,且未填写临时规则
GALLERY_URL_REWRITE_SAVE_TEMP_RULE_PROMPT: 是否将临时规则写入全局 URL 重写规则列表?
GALLERY_URL_REWRITE_APPLY_AND_SAVE: 应用并写入
GALLERY_URL_REWRITE_APPLY_ONLY: 仅应用
GALLERY_URL_REWRITE_NO_CHANGES: 没有任何 URL 被修改
GALLERY_URL_REWRITE_EMPTY_RESULT_WARN: 重写结果为空,已跳过

# tray-page

WAIT_TO_UPLOAD: 等待上传
ALREADY_UPLOAD: 已上传

# upload-page

PICTURE_UPLOAD: 图片上传
DRAG_FILE_TO_HERE: 将文件拖拽到此处,或
CLICK_TO_UPLOAD: 点击上传
LINK_FORMAT: 链接格式
CUSTOM: 自定义
CLIPBOARD_PICTURE: 剪贴板图片
TIPS_DRAG_VALID_PICTURE_OR_URL: 请拖入合法的图片文件或者图片URL地址
TIPS_INPUT_URL: 请输入URL
TIPS_HTTP_PREFIX: http:// 或者 https:// 开头,支持上传多条 URL(请换行输入)
TIPS_INPUT_VALID_URL: 请输入合法的URL

# plugins

PLUGIN_SEARCH_PLACEHOLDER: 搜索npm上的PicGo插件,或者点击上方按钮查看优秀插件列表
PLUGIN_INSTALL: 安装
PLUGIN_INSTALLING: 安装中
PLUGIN_INSTALLED: 已安装
PLUGIN_DOING_SOMETHING: 进行中
PLUGIN_LIST: 插件列表
PLUGIN_IMPORT_LOCAL: 导入本地插件

# tips

TIPS_REMOVE_LINK: 此操作将把该图片移出相册, 是否继续?
TIPS_WILL_REMOVE_CHOOSED_IMAGES: 将在相册中移除刚才选中的 ${m} 张图片,是否继续?
TIPS_MUST_CONTAINS_URL: 必须含有$url 或 $fileName 或 $extName
TIPS_NETWORK_ERROR: 网络错误暂时无法获取
TIPS_NEED_RELOAD: 需要重启生效
TIPS_PLEASE_CHOOSE_LOG_LEVEL: 请选择日志记录等级
TIPS_SET_SUCCEED: 设置成功
TIPS_PLUGIN_NOT_GUI_IMPLEMENT: 该插件未对可视化界面进行优化, 是否继续安装?
TIPS_CLICK_NOTIFICATION_TO_RELOAD: 请点击此通知重启应用以生效
TIPS_GET_PLUGIN_LIST_FAILED: 获取插件列表失败

# ---renderer i18n end---

# plugins
PLUGIN_INSTALL_SUCCEED: 插件安装成功
PLUGIN_INSTALL_FAILED: 插件安装失败
PLUGIN_UNINSTALL_SUCCEED: 插件卸载成功
PLUGIN_UNINSTALL_FAILED: 插件卸载失败
PLUGIN_UPDATE_SUCCEED: 插件更新成功
PLUGIN_UPDATE_FAILED: 插件更新失败
PLUGIN_IMPORT_SUCCEED: 插件导入成功
PLUGIN_IMPORT_FAILED: 插件导入失败
ENABLE_PLUGIN: 启用插件
DISABLE_PLUGIN: 禁用插件
UNINSTALL_PLUGIN: 卸载插件
UPDATE_PLUGIN: 更新插件

# toolbox
TOOLBOX: 工具箱
TOOLBOX_TITLE: 排查 PicGo 运行时问题
TOOLBOX_SUB_TITLE: 立即扫描以下项目,修复使用问题
TOOLBOX_CHECK_CONFIG_FILE_BROKEN: 检查配置文件是否损坏
TOOLBOX_CHECK_GALLERY_FILE_BROKEN: 检查相册文件是否损坏
TOOLBOX_CHECK_PROBLEM_WITH_CLIPBOARD_PIC_UPLOAD: 检查剪贴板图片上传是否存在问题
TOOLBOX_CHECK_PROBLEM_WITH_PROXY: 检查代理设置是否正常
TOOLBOX_FIX_DONE_NEED_RELOAD: 修复完成,需要重启生效,是否重启
TOOLBOX_CANT_AUTO_FIX: 无法自动修复,请自行修复以下问题
TOOLBOX_START_SCAN: 开始扫描
TOOLBOX_RE_SCAN: 重新扫描
TOOLBOX_START_FIX: 开始修复
TOOLBOX_SUCCESS_TIPS: 恭喜你,没有检查出问题
TOOLBOX_CHECK_CONFIG_FILE_PATH_TIPS: 配置文件路径是:${path}
TOOLBOX_CHECK_CONFIG_FILE_BROKEN_TIPS: 配置文件已损坏
TOOLBOX_CHECK_GALLERY_FILE_PATH_TIPS: 相册文件路径是:${path}
TOOLBOX_CHECK_GALLERY_FILE_BROKEN_TIPS: 相册文件已损坏
TOOLBOX_CHECK_PROXY_SUCCESS_TIPS: 代理设置正常
TOOLBOX_CHECK_PROXY_NO_PROXY_TIPS: 无代理设置
TOOLBOX_CHECK_PROXY_PROXY_IS_NOT_CORRECT: 代理设置不正确
TOOLBOX_CHECK_PROXY_PROXY_IS_NOT_WORKING: 代理设置不可用
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_TIPS: 剪贴板图片临时文件夹路径是:${path}
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_NOT_EXIST_TIPS: 剪贴板图片临时文件夹不存在:${path}
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_ERROR_TIPS: 请自行创建文件夹:${path}

# tips
TIPS_NOTICE: 注意
TIPS_WARNING: 警告
TIPS_ERROR: 发生错误
TIPS_SKIPPED_INVALID_URLS: 已跳过 ${n} 条非法 URL,请查看日志了解详情
TIPS_TOO_MANY_URLS_CONFIRM: 你将一次上传 ${n} 条 URL,可能会引起卡顿,建议分批上传。是否继续?
TIPS_NO_VALID_URLS: 未检测到合法的 URL
TIPS_INSTALL_NODE_AND_RELOAD_PICGO: 请安装Node.js并重启PicGo再继续操作
TIPS_PLUGIN_REMOVE_GALLERY_ITEM: 有插件正在试图删除一些相册图片,是否继续
TIPS_PLUGIN_OVERWRITE_GALLERY: 有插件正在试图覆盖相册列表,是否继续
TIPS_UPLOAD_NOT_PICTURES: 剪贴板最新的一条记录不是图片
TIPS_PICGO_CONFIG_FILE_BROKEN_WITH_DEFAULT: PicGo 配置文件损坏,已经恢复为默认配置
TIPS_PICGO_CONFIG_FILE_BROKEN_WITH_BACKUP: PicGo 配置文件损坏,已经恢复为备份配置
TIPS_PICGO_BACKUP_FILE_VERSION: "备份文件版本: ${v}"
TIPS_CUSTOM_CONFIG_FILE_PATH_ERROR: 自定义文件解析出错,请检查路径内容是否正确
TIPS_SHORTCUT_MODIFIED_SUCCEED: 快捷键已经修改成功
TIPS_SHORTCUT_MODIFIED_CONFLICT: 快捷键冲突,请重新设置
TIPS_CUSTOM_LINK_STYLE_MODIFIED_SUCCEED: 自定义链接格式已经修改成功
TIPS_FIND_NEW_VERSION: 发现新版本${v},更新了很多功能,是否去下载最新的版本?
TIPS_DELETE_UPLOADER_CONFIG: 是否要删除这个配置?
TIPS_COPY_UPLOADER_CONFIG: 是否要复制这个配置?
TIPS_UPLOADER_CONFIG_NAME_EMPTY: 配置名称不能为空
TIPS_UPLOADER_CONFIG_NOT_FOUND: 未找到该配置
TIPS_UPLOADER_CONFIG_CANNOT_DELETE_LAST: 无法删除最后一个配置

# privacy
PRIVACY: "使用前请阅读并同意隐私政策 ${privacyUrl} 与服务条款 ${termsUrl},同意后方可使用。"
PRIVACY_TIPS: 请同意隐私协议,否则无法上传。
QUIT: 退出


================================================
FILE: public/i18n/zh-TW.yml
================================================
LANG_DISPLAY_LABEL: 繁體中文
ABOUT: 關於
OPEN_MAIN_WINDOW: 打開主視窗
CHOOSE_DEFAULT_PICBED: 選擇預設圖床
OPEN_UPDATE_HELPER: 開啟更新助手
PRIVACY_TERMS_AGREEMENT: 隱私與條款協議
RELOAD_APP: 重啟程式
UPLOAD_SUCCEED: 上傳成功
UPLOAD_FAILED: 上傳失敗
UPLOAD_PROGRESS: 上傳進度
OPERATION_SUCCEED: 操作成功
OPERATION_FAILED: 操作失敗
UPLOADING: 正在上傳
QUICK_UPLOAD: 快速上傳
UPLOAD_BY_CLIPBOARD: 剪貼簿圖片上傳
HIDE_WINDOW: 隱藏視窗
SPONSOR_PICGO: 贊助 PicGo
SHOW_PICBED_QRCODE: 產生圖床配置 QRCODE
PICBED_QRCODE: 圖床配置 QRCODE
ENABLE: 啟用
DISABLE: 禁用
CONFIG_THING: 設定${c}
FIND_NEW_VERSION: 發現新版本
NO_MORE_NOTICE: 以後不再提醒
SHOW_DEVTOOLS: 開啟開發者工具
CURRENT_PICBED: 當前圖床
OPEN_TOOLBOX: 開啟修復工具箱

# ---renderer i18n begin---

CHOOSE_YOUR_DEFAULT_PICBED: 選擇 ${d} 作為你的預設圖床:
UPLOAD_AREA: 上傳區
GALLERY: 相簿
PICBEDS_SETTINGS: 圖床設定
PICGO_SETTINGS: PicGo設定
PLUGIN_SETTINGS: 插件設定
PICGO_CLOUD_TITLE: PicGo Cloud
PICGO_CLOUD_ERROR_TITLE: PicGo Cloud 錯誤
PICGO_CLOUD_NOT_LOGGED_IN: 尚未登入 PicGo Cloud
PICGO_CLOUD_LOGIN: 登入
PICGO_CLOUD_LOGOUT: 登出
PICGO_CLOUD_CANCEL_LOGIN: 取消登入
PICGO_CLOUD_RETRY: 重試
PICGO_CLOUD_CONFIG_SYNC: 配置同步
PICGO_CLOUD_LOGIN_IN_PROGRESS: 登入進行中,請在瀏覽器完成登入。
PICGO_CLOUD_LOGGED_IN_AS: "已登入:${user}"
PICGO_CLOUD_OPEN: 打開 PicGo Cloud
PICGO_CLOUD_LOGIN_TIMEOUT: 登入逾時,請重試。
PICGO_CLOUD_LOGIN_FAILED: 登入失敗,請重試。
PICGO_CLOUD_AGREE_PREFIX: 我已閱讀並同意 PicGo 的
PICGO_CLOUD_TERMS_OF_SERVICE: 服務條款
PICGO_CLOUD_AGREE_AND: 以及
PICGO_CLOUD_PRIVACY_POLICY: 隱私政策
PICGO_CLOUD_LOGIN_EXPIRED: 登入失效,請重新登入。
PICGO_CLOUD_ENCRYPTION_MODE_LABEL: 加密模式
PICGO_CLOUD_ENCRYPTION_MODE_AUTO: 自動
PICGO_CLOUD_ENCRYPTION_MODE_SERVER: 服務端加密
PICGO_CLOUD_ENCRYPTION_MODE_E2E: 端到端加密
PICGO_CLOUD_ENCRYPTION_MODE_TIP_AUTO: 自動:跟隨雲端上一次配置的加密方式(預設服務端加密)。
PICGO_CLOUD_ENCRYPTION_MODE_TIP_SERVER: 服務端加密:我們會在服務端對你的配置加密後再儲存,不需要 PIN。
PICGO_CLOUD_ENCRYPTION_MODE_TIP_E2E: 端到端加密:需要你輸入 PIN 來加密/解密資料。PicGo 不儲存 PIN,遺失將無法找回資料。
PICGO_CLOUD_ENCRYPTION_MODE_TIP_DOC: 查看完整文檔
PICGO_CLOUD_E2E_CHECKBOX_LABEL: 開啟 E2E 加密
PICGO_CLOUD_E2E_ENABLE_WARNING_TITLE: 開啟 E2E 加密
PICGO_CLOUD_E2E_ENABLE_WARNING_MESSAGE: E2E 加密需要你自行妥善保管 PIN。PIN 遺失將無法恢復加密資料。PicGo 不會儲存 PIN 或任何恢復資訊。
PICGO_CLOUD_REMOTE_E2E_AUTO_ENABLED: 偵測到遠端配置已開啟 E2E 加密,已自動在本地開啟 E2E。
PICGO_CLOUD_E2E_PIN_SETUP_TITLE: 設定 E2E PIN
PICGO_CLOUD_E2E_PIN_DECRYPT_TITLE: 輸入 E2E PIN
PICGO_CLOUD_E2E_PIN_RETRY_TITLE: "PIN 錯誤,請重試(第 ${retryCount} 次)。"
PICGO_CLOUD_E2E_PIN_PLACEHOLDER: PIN
PICGO_CLOUD_E2E_PIN_CONFIRM_PLACEHOLDER: 確認 PIN
PICGO_CLOUD_CONFIG_SYNC_SUCCESS: 配置同步成功。
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_DETECTED: 偵測到配置衝突,請選擇解決方案。
PICGO_CLOUD_CONFIG_SYNC_FAILED: 配置同步失敗。
PICGO_CLOUD_CONFIG_SYNC_ABORTED: 已取消配置同步。
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_TITLE: 確認切換加密方式嗎?
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_BODY: "您正在從「${from}」切換為「${to}」。\n\n注意:切換加密模式將清空您所有的雲端歷史版本記錄。\n這是因為舊的歷史版本無法在新模式下被解密或驗證。\n切換後,系統將立即為您建立一份新的備份作為起點。"
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CONFIRM: 確認切換並清空歷史
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CANCEL: 取消
PICGO_CLOUD_CONFIG_SYNC_ENCRYPTION_SWITCH_CANCELLED: 已取消切換加密方式
PICGO_CLOUD_CONFIG_SYNC_FAILED_WITH_REASON: "配置同步失敗:${reason}"
PICGO_CLOUD_CONFIG_SYNC_PIN_MAX_RETRY: PIN 錯誤次數過多,請稍後重試。
PICGO_CLOUD_CONFIG_SYNC_LOCAL_CONFIG_INVALID: 本地配置檔格式錯誤,請檢查配置檔。
PICGO_CLOUD_CONFIG_SYNC_IN_PROGRESS: 配置同步進行中…
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_PENDING: 存在未解決的衝突,請先處理。
PICGO_CLOUD_CONFIG_SYNC_NO_CONFLICT_SESSION: 未找到可處理的衝突工作階段。
PICGO_CLOUD_CONFIG_SYNC_RESOLUTION_INCOMPLETE: 請為所有衝突項選擇本地或雲端。
PICGO_CLOUD_CONFIG_SYNC_STARTING: 配置同步已開始…
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_TITLE: "衝突處理(${count} 項)"
PICGO_CLOUD_CONFIG_SYNC_CHOOSE_ALL_LOCAL: 全選本地
PICGO_CLOUD_CONFIG_SYNC_CHOOSE_ALL_CLOUD: 全選雲端
PICGO_CLOUD_CONFIG_SYNC_RESET_ALL: 重置全部
PICGO_CLOUD_CONFIG_SYNC_LOCAL_VERSION: 本地版本
PICGO_CLOUD_CONFIG_SYNC_CLOUD_VERSION: 雲端版本
PICGO_CLOUD_CONFIG_SYNC_ABORT: 放棄同步
PICGO_CLOUD_CONFIG_SYNC_CONFIRM_AND_SYNC: 確認並同步
PICGO_CLOUD_CONFIG_SYNC_VALUE_UNDEFINED: (空)
PICGO_CLOUD_CONFIG_SYNC_CONFLICT_RESOLVED: 配置衝突已解決。
PICGO_CLOUD_LAST_SYNC_TIME: "上次本地同步時間:${time}"
PICGO_CLOUD_LAST_SYNC_TIME_NONE: 無
PICGO_CLOUD_CONFIG_SYNC_RESTART_PROMPT_TITLE: 需要重啟嗎?
PICGO_CLOUD_CONFIG_SYNC_RESTART_PROMPT_MESSAGE: 部分配置可能需要重啟後生效,是否立即重啟?
PICGO_CLOUD_CONFIG_SYNC_RESTART_NOW: 立即重啟
PICGO_CLOUD_CONFIG_SYNC_RESTART_LATER: 稍後
INPUT_BOX_CONFIRM_MISMATCH: 兩次輸入不一致,請重新輸入。
PICGO_SPONSOR_TEXT: PicGo是開放原始碼的軟體,如果你喜歡它,對你有幫助,不妨請我喝杯咖啡?
ALIPAY: 支付寶
WECHATPAY: 微信支付
CHOOSE_PICBED: 選擇圖床
COPY_PICBED_CONFIG: 複製圖床設定
COPY_PICBED_CONFIG_SUCCEED: 複製圖床設定成功
INPUT: 輸入框
CANCEL: 取消
CONFIRM: 確定
CHOOSE_SHOWED_PICBED: 請選擇顯示的圖床
CHOOSE_PASTE_FORMAT: 請選擇貼上的格式
SEARCH: 搜尋
COPY: 複製
DELETE: 刪除
SELECT_ALL: 全選
CHANGE_IMAGE_URL: 修改圖片URL
CHANGE_IMAGE_URL_SUCCEED: 修改圖片URL成功
COPY_LINK_SUCCEED: 複製連結成功
BATCH_COPY_LINK_SUCCEED: 批量複製連結成功
FILE_RENAME: 檔案改名
COPY_FILE_PATH: 複製檔案路徑
OPEN_FILE_PATH: 打開檔案路徑
SUCCESS: 成功
FAILED: 失敗

# settings

SETTINGS: 設定
SETTINGS_OPEN_CONFIG_FILE: 打開設定檔案
SETTINGS_CLICK_TO_OPEN: 點擊打開
SETTINGS_SET_LOG_FILE: 設定記錄檔案
SETTINGS_CLICK_TO_SET: 點擊設定
SETTINGS_CLICK_TO_CHECK: 點擊檢查
SETTINGS_SET_SHORTCUT: 設定快捷鍵
SETTINGS_URL_REWRITE: URL 重寫
SETTINGS_CUSTOM_LINK_FORMAT: 自訂連結格式
SETTINGS_SET_PROXY_AND_MIRROR: 設定PROXY和鏡像地址
SETTINGS_SET_SERVER: 設定Server
SETTINGS_CHECK_UPDATE: 檢查更新
SETTINGS_OPEN_UPDATE_HELPER: 打開更新助手
SETTINGS_OPEN: 開
SETTINGS_CLOSE: 關
SETTINGS_ACCEPT_BETA_UPDATE: 接受Beta版本更新
SETTINGS_LAUNCH_ON_BOOT: 開機時啟動
SETTINGS_RENAME_BEFORE_UPLOAD: 上傳前重新命名
SETTINGS_TIMESTAMP_RENAME: 以時間戳命名
SETTINGS_OPEN_UPLOAD_TIPS: 開啟上傳提示
SETTINGS_NOTIFICATION_SOUND: 開啟通知提示音
SETTINGS_MINI_WINDOW_ON_TOP: Mini視窗置頂
SETTINGS_AUTO_COPY_URL_AFTER_UPLOAD: 上傳後自動複製URL
SETTINGS_TIPS_PLACEHOLDER_URL: 用佔位符 $url 來表示URL的位置
SETTINGS_TIPS_PLACEHOLDER_FILENAME: 用佔位符 $fileName 來表示檔案名稱的位置
SETTINGS_TIPS_PLACEHOLDER_EXTNAME: 用佔位符 $extName 來表示檔案格式的位置
SETTINGS_TIPS_SUCH_AS: 如
SETTINGS_UPLOAD_PROXY: 上傳PROXY
SETTINGS_PLUGIN_INSTALL_PROXY: 插件安裝PROXY
SETTINGS_PLUGIN_INSTALL_MIRROR: 插件安裝鏡像
SETTINGS_CURRENT_VERSION: 當前版本
SETTINGS_NEWEST_VERSION: 最新版本
SETTINGS_GETING: 正在取得中
SETTINGS_TIPS_HAS_NEW_VERSION: PicGo更新啦,請點擊確定開啟下載頁面
SETTINGS_LOG_FILE: 記錄檔案
SETTINGS_LOG_LEVEL: 記錄等级
SETTINGS_LOG_FILE_SIZE: 記錄檔案大小
SETTINGS_SET_PICGO_SERVER: 設定PicGo-Server
SETTINGS_TIPS_SERVER_NOTICE: 如果你不知道Server的作用,請閱讀文檔,或者不用修改設定。
SETTINGS_ENABLE_SERVER: 是否開啟Server
SETTINGS_SET_SERVER_HOST: 設定監聽地址
SETTINGS_SET_SERVER_PORT: 設定監聽端口
SETTINGS_TIP_PLACEHOLDER_HOST: 推薦預設地址:127.0.0.1
SETTINGS_TIP_PLACEHOLDER_PORT: 推薦預設端口:36677
SETTINGS_LOG_LEVEL_ALL: 全部-All
SETTINGS_LOG_LEVEL_SUCCESS: 成功-Success
SETTINGS_LOG_LEVEL_ERROR: 錯誤-Error
SETTINGS_LOG_LEVEL_INFO: 普通-Info
SETTINGS_LOG_LEVEL_WARN: 提醒-Warn
SETTINGS_LOG_LEVEL_NONE: 不記錄-None
SETTINGS_RESULT: 設定結果
SETTINGS_DEFAULT_PICBED: 設定預設圖床
SETTINGS_SET_DEFAULT_PICBED: 設為預設圖床
SETTINGS_NOT_CONFIG_OPTIONS: 暫無設定選項
SETTINGS_USE_BUILTIN_CLIPBOARD_UPLOAD: 使用內建剪貼簿上傳
SETTINGS_CHOOSE_LANGUAGE: 選擇語言
BUILTIN_CLIPBOARD_TIPS: 使用內建剪貼簿函數而不是調用腳本取得剪貼簿內的照片
UPLOADER_CONFIG_NAME: 圖床配置名

# url rewrite

URL_REWRITE_HELP: 用於重寫上傳後的圖片 URL。規則按順序匹配,命中的第一條匹配生效。
URL_REWRITE_ADD_RULE: 新增規則
URL_REWRITE_EDIT_RULE: 編輯規則
URL_REWRITE_EMPTY: 暫無規則
URL_REWRITE_ORDER: 順序
URL_REWRITE_MATCH: 匹配
URL_REWRITE_REPLACE: 替換
URL_REWRITE_FLAGS: 標誌
URL_REWRITE_ENABLED: 啟用
URL_REWRITE_ACTIONS: 操作
URL_REWRITE_MOVE_UP: 上移
URL_REWRITE_MOVE_DOWN: 下移
URL_REWRITE_EDIT: 編輯
URL_REWRITE_DELETE: 刪除
URL_REWRITE_DELETE_CONFIRM: 確定刪除該規則?
URL_REWRITE_MATCH_TIPS: 支援正則(JavaScript RegExp)
URL_REWRITE_MATCH_PLACEHOLDER: https://example.com/path
URL_REWRITE_REPLACE_TIPS: 替換內容(支援 $1、$2...)
URL_REWRITE_REPLACE_PLACEHOLDER: https://example.org/newpath
URL_REWRITE_OPTIONS: 選項
URL_REWRITE_RULE_ENABLED: 啟用該規則
URL_REWRITE_FLAG_GLOBAL_LABEL: 全域(g)
URL_REWRITE_FLAG_GLOBAL_DESC: 替換所有找到的內容,而不僅僅是第一個
URL_REWRITE_FLAG_IGNORE_CASE_LABEL: 忽略大小寫(i)
URL_REWRITE_FLAG_IGNORE_CASE_DESC: 匹配時不區分字母大小寫(例如 JPG 等同於 jpg)
URL_REWRITE_MATCH_REQUIRED: 匹配規則不能為空
URL_REWRITE_REPLACE_REQUIRED: 替換內容不能為空
URL_REWRITE_INVALID_REGEX: 正則表達式不合法
URL_REWRITE_PREVIEW_TITLE: 預覽
URL_REWRITE_PREVIEW_TIPS: 輸入一個 URL,查看目前規則的重寫結果(按順序匹配,僅第一條命中的規則生效)
URL_REWRITE_PREVIEW_PLACEHOLDER: https://example.com/path/to/image.png
URL_REWRITE_PREVIEW_RUN: 預覽
URL_REWRITE_PREVIEW_OUTPUT: 輸出 URL
URL_REWRITE_PREVIEW_INPUT_REQUIRED: 請輸入要預覽的 URL
URL_REWRITE_PREVIEW_RULE_INVALID: 規則無效
URL_REWRITE_PREVIEW_MATCHED_RULE: 命中規則
URL_REWRITE_PREVIEW_NO_MATCH: 沒有規則匹配
UPLOADER_CONFIG_PLACEHOLDER: 請輸入配置名稱
SELECTED_SETTING_HINT: 已選中
SETTINGS_ENCODE_OUTPUT_URL: 輸出(複製) URL 時進行轉義
SETTINGS_SHOW_DOCK_ICON: 顯示 Dock 欄圖示
SETTINGS_SHOW_MENUBAR_ICON: 顯示頂部欄圖示
SETTINGS_SHOW_MENUBAR_ICON_TIPS: 若「顯示 Dock 欄圖示」與「顯示頂部欄圖示」都關閉,將會無法找到 PicGo 主介面。需要手動修改配置檔案裡的 showDockIcon 或 showMenubarIcon 為 true 才能恢復。
SETTINGS_STARTUP_MODE: 啟動模式
SETTINGS_STARTUP_MODE_MAIN_WINDOW: 打開主視窗
SETTINGS_STARTUP_MODE_MINI_WINDOW: 打開 Mini 視窗
SETTINGS_STARTUP_MODE_HIDE: 靜默啟動

# shortcut-page

SHORTCUT_NAME: 快捷鍵名稱
SHORTCUT_BIND: 快捷鍵綁定
SHORTCUT_STATUS: 狀態
SHORTCUT_ENABLED: 已啟用
SHORTCUT_DISABLED: 已禁用
SHORTCUT_SOURCE: 來源
SHORTCUT_HANDLE: 操作
SHORTCUT_ENABLE: 啟用
SHORTCUT_DISABLE: 禁用
SHORTCUT_EDIT: 編輯
SHORTCUT_CHANGE_UPLOAD: 修改上傳快捷鍵

# gallery-page
GALLERY_URL_REWRITE_TITLE: 重寫選中圖片 URL
GALLERY_URL_REWRITE_RESULT_TITLE: 重寫圖片 URL 結果
GALLERY_URL_REWRITE_WARN_NO_SELECTION: 你必須先選中至少一張圖片

GALLERY_URL_REWRITE_APPLY_GLOBAL_RULES: 套用全域 URL 重寫規則
GALLERY_URL_REWRITE_GLOBAL_RULES_COUNT: 全域規則數量
GALLERY_URL_REWRITE_TEMP_RULE_TIPS: 可選,留空則不使用臨時規則(臨時規則優先級高於全域規則)。
GALLERY_URL_REWRITE_TEMP_RULE_REQUIRED: 臨時規則需要同時填寫「匹配」和「替換」
GALLERY_URL_REWRITE_NO_RULES_TO_APPLY: 沒有可用的全域規則,且未填寫臨時規則
GALLERY_URL_REWRITE_SAVE_TEMP_RULE_PROMPT: 是否將臨時規則寫入全域 URL 重寫規則列表?
GALLERY_URL_REWRITE_APPLY_AND_SAVE: 套用並寫入
GALLERY_URL_REWRITE_APPLY_ONLY: 僅套用
GALLERY_URL_REWRITE_NO_CHANGES: 沒有任何 URL 被修改
GALLERY_URL_REWRITE_EMPTY_RESULT_WARN: 重寫結果為空,已跳過

# tray-page

WAIT_TO_UPLOAD: 等待上傳
ALREADY_UPLOAD: 已上傳

# upload-page

PICTURE_UPLOAD: 圖片上傳
DRAG_FILE_TO_HERE: 將檔案拖曳到此處,或
CLICK_TO_UPLOAD: 點擊上傳
LINK_FORMAT: 連結格式
CUSTOM: 自訂
CLIPBOARD_PICTURE: 剪貼簿圖片
TIPS_DRAG_VALID_PICTURE_OR_URL: 請拖入合法的圖片檔案或者圖片URL地址
TIPS_INPUT_URL: 請輸入URL
TIPS_HTTP_PREFIX: http:// 或者 https:// 開頭,支援上傳多條 URL(請換行輸入)
TIPS_INPUT_VALID_URL: 請輸入合法的URL

# plugins

PLUGIN_SEARCH_PLACEHOLDER: 搜尋npm上的PicGo插件,或者點擊上方按鈕查看優秀插件列表
PLUGIN_INSTALL: 安裝
PLUGIN_INSTALLING: 安裝中
PLUGIN_INSTALLED: 已安裝
PLUGIN_DOING_SOMETHING: 進行中
PLUGIN_LIST: 插件列表
PLUGIN_IMPORT_LOCAL: 導入本地插件

# tips

TIPS_REMOVE_LINK: 此操作將在相簿中移除該圖片,是否繼續?
TIPS_WILL_REMOVE_CHOOSED_IMAGES: 將在相簿中移除剛才選中的 ${m} 張圖片,是否繼續?
TIPS_MUST_CONTAINS_URL: 必須含有$url 或 $fileName 或 $extName
TIPS_NETWORK_ERROR: 網路錯誤,暫時無法取得
TIPS_NEED_RELOAD: 需要重新啟動生效
TIPS_PLEASE_CHOOSE_LOG_LEVEL: 請選擇記錄等級
TIPS_SET_SUCCEED: 設定成功
TIPS_PLUGIN_NOT_GUI_IMPLEMENT: 該插件未對GUI進行優化,是否繼續安裝?
TIPS_CLICK_NOTIFICATION_TO_RELOAD: 請點擊此通知重新啟動程式以生效
TIPS_GET_PLUGIN_LIST_FAILED: 取得插件列表失敗

# ---renderer i18n end---

# plugins
PLUGIN_INSTALL_SUCCEED: 插件安裝成功
PLUGIN_INSTALL_FAILED: 插件安裝失敗
PLUGIN_UNINSTALL_SUCCEED: 插件卸載成功
PLUGIN_UNINSTALL_FAILED: 插件卸載失敗
PLUGIN_UPDATE_SUCCEED: 插件更新成功
PLUGIN_UPDATE_FAILED: 插件更新失敗
PLUGIN_IMPORT_SUCCEED: 插件導入成功
PLUGIN_IMPORT_FAILED: 插件導入失敗
ENABLE_PLUGIN: 啟用插件
DISABLE_PLUGIN: 禁用插件
UNINSTALL_PLUGIN: 卸載插件
UPDATE_PLUGIN: 更新插件

# toolbox
TOOLBOX: 工具箱
TOOLBOX_TITLE: 排查 PicGo 執行時問題
TOOLBOX_SUB_TITLE: 立即掃描以下項目,修復使用問題
TOOLBOX_CHECK_CONFIG_FILE_BROKEN: 檢查配置文件是否損壞
TOOLBOX_CHECK_GALLERY_FILE_BROKEN: 檢查相冊文件是否損壞
TOOLBOX_CHECK_PROBLEM_WITH_CLIPBOARD_PIC_UPLOAD: 檢查剪貼板圖片上傳是否存在問題
TOOLBOX_CHECK_PROBLEM_WITH_PROXY: 檢查代理設置是否正常
TOOLBOX_FIX_DONE_NEED_RELOAD: 修復完成,需要重啓生效,是否重啓
TOOLBOX_CANT_AUTO_FIX: 無法自動修復,請自行修復以下問題
TOOLBOX_START_SCAN: 開始掃描
TOOLBOX_RE_SCAN: 重新掃描
TOOLBOX_START_FIX: 開始修復
TOOLBOX_SUCCESS_TIPS: 恭喜你,沒有檢查出問題
TOOLBOX_CHECK_CONFIG_FILE_PATH_TIPS: 配置文件路徑是:${path}
TOOLBOX_CHECK_CONFIG_FILE_BROKEN_TIPS: 配置文件已損壞
TOOLBOX_CHECK_GALLERY_FILE_PATH_TIPS: 相冊文件路徑是:${path}
TOOLBOX_CHECK_GALLERY_FILE_BROKEN_TIPS: 相冊文件已損壞
TOOLBOX_CHECK_PROXY_SUCCESS_TIPS: 代理設置正常
TOOLBOX_CHECK_PROXY_NO_PROXY_TIPS: 無代理設置
TOOLBOX_CHECK_PROXY_PROXY_IS_NOT_CORRECT: 代理設置不正確
TOOLBOX_CHECK_PROXY_PROXY_IS_NOT_WORKING: 代理設置不可用
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_TIPS: 剪貼板圖片臨時文件夾路徑是:${path}
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_NOT_EXIST_TIPS: 剪貼板圖片臨時文件夾不存在:${path}
TOOLBOX_CHECK_CLIPBOARD_FILE_PATH_ERROR_TIPS: 請自行創建文件夾:${path}

# tips
TIPS_NOTICE: 注意
TIPS_WARNING: 警告
TIPS_ERROR: 發生錯誤
TIPS_SKIPPED_INVALID_URLS: 已跳過 ${n} 條非法 URL,請查看日誌了解詳情
TIPS_TOO_MANY_URLS_CONFIRM: 你將一次上傳 ${n} 條 URL,可能會引起卡頓,建議分批上傳。是否繼續?
TIPS_NO_VALID_URLS: 未偵測到合法的 URL
TIPS_INSTALL_NODE_AND_RELOAD_PICGO: 請安裝Node.js並重新啟動PicGo再繼續操作
TIPS_PLUGIN_REMOVE_GALLERY_ITEM: 有插件正在試圖刪除一些相簿圖片,是否繼續?
TIPS_PLUGIN_OVERWRITE_GALLERY: 有插件正在試圖覆蓋相簿列表,是否繼續?
TIPS_UPLOAD_NOT_PICTURES: 剪貼簿最新的一條記錄不是圖片
TIPS_PICGO_CONFIG_FILE_BROKEN_WITH_DEFAULT: PicGo 設定檔案已損壞,已經恢復為預設設定
TIPS_PICGO_CONFIG_FILE_BROKEN_WITH_BACKUP: PicGo 設定檔案已損壞,已經恢復為備份設定
TIPS_PICGO_BACKUP_FILE_VERSION: "備份檔案版本: ${v}"
TIPS_CUSTOM_CONFIG_FILE_PATH_ERROR: 自訂設定檔案解析出錯,請檢查路徑內容是否正確
TIPS_SHORTCUT_MODIFIED_SUCCEED: 快捷鍵已經修改成功
TIPS_SHORTCUT_MODIFIED_CONFLICT: 快捷鍵衝突,請重新設定
TIPS_CUSTOM_LINK_STYLE_MODIFIED_SUCCEED: 自訂連結格式已經修改成功
TIPS_FIND_NEW_VERSION: 發現新版本${v},更新了很多功能,是否去下載最新的版本?
TIPS_DELETE_UPLOADER_CONFIG: 是否要刪除這個配置?
TIPS_COPY_UPLOADER_CONFIG: 是否要複製這個配置?
TIPS_UPLOADER_CONFIG_NAME_EMPTY: 配置名稱不能為空
TIPS_UPLOADER_CONFIG_NOT_FOUND: 未找到該配置
TIPS_UPLOADER_CONFIG_CANNOT_DELETE_LAST: 無法刪除最後一個配置

# privacy
PRIVACY: "使用前請閱讀並同意隱私政策 ${privacyUrl} 與服務條款 ${termsUrl},同意後方可使用。"
PRIVACY_TIPS: 請同意隱私協議,否則無法上傳。
QUIT: 退出


================================================
FILE: public/index.html
================================================
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="referrer" content="never">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  </head>
  <body>
    <noscript>
      <strong>We're sorry but picgo-new doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>


================================================
FILE: public/linux.sh
================================================
#!/bin/sh
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
  # require xclip(see http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script/677212#677212)
  command -v xclip >/dev/null 2>&1 || { echo >&1 "no xclip"; exit 1; }
  # write image in clipboard to file (see http://unix.stackexchange.com/questions/145131/copy-image-from-clipboard-to-file)
  filePath=`xclip -selection clipboard -o 2>/dev/null | grep ^file:// | cut -c8-`
  if [ ! -n "$filePath" ] ;then
    if
        xclip -selection clipboard -target image/png -o >/dev/null 2>&1
    then
        xclip -selection clipboard -target image/png -o >$1 2>/dev/null
        echo $1
    else
        echo "no image"
    fi
  else
    echo $filePath
  fi
elif [ "$XDG_SESSION_TYPE" = "wayland" ]; then
  command -v wl-paste >/dev/null 2>&1 || { echo >&1 "no wl-clipboard"; exit 1; }
  isImage=`wl-paste --list-types | grep image`
  if [ -n "$isImage" ]; then
    wl-paste --type image/png > $1 2>/dev/null
    echo $1
  else
    echo "no image"
    exit 1
  fi
else
  # fallback for unsupported session types
  echo >&2 "Error: Unsupported session type '$XDG_SESSION_TYPE'."
  echo >&2 "Solution: The variable of XDG_SESSION_TYPE must set as 'x11' or 'wayland'."
  exit 1
fi


================================================
FILE: public/windows.ps1
================================================

param($imagePath)

# Adapted from https://github.com/octan3/img-clipboard-dump/blob/master/dump-clipboard-png.ps1

Add-Type -Assembly PresentationCore
$img = [Windows.Clipboard]::GetImage()

if ($img -eq $null) {
    "no image"
    Exit 1
}

if (-not $imagePath) {
    "no image"
    Exit 1
}

$fcb = new-object Windows.Media.Imaging.FormatConvertedBitmap($img, [Windows.Media.PixelFormats]::Rgb24, $null, 0)
$stream = [IO.File]::Open($imagePath, "OpenOrCreate")
$encoder = New-Object Windows.Media.Imaging.PngBitmapEncoder
$encoder.Frames.Add([Windows.Media.Imaging.BitmapFrame]::Create($fcb)) | out-null
$encoder.Save($stream) | out-null
$stream.Dispose() | out-null

$imagePath


================================================
FILE: public/windows10.ps1
================================================
# Adapted from https://github.com/octan3/img-clipboard-dump/blob/master/dump-clipboard-png.ps1
param($imagePath)

# https://github.com/PowerShell/PowerShell/issues/7233
# fix the output encoding bug
[console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding

Add-Type -Assembly PresentationCore
function main {
    $img = [Windows.Clipboard]::GetImage()

    if ($img -eq $null) {
        "no image"
        Exit 1
    }

    if (-not $imagePath) {
        "no image"
        Exit 1
    }

    $fcb = new-object Windows.Media.Imaging.FormatConvertedBitmap($img, [Windows.Media.PixelFormats]::Rgb24, $null, 0)
    $stream = [IO.File]::Open($imagePath, "OpenOrCreate")
    $encoder = New-Object Windows.Media.Imaging.PngBitmapEncoder
    $encoder.Frames.Add([Windows.Media.Imaging.BitmapFrame]::Create($fcb)) | out-null
    $encoder.Save($stream) | out-null
    $stream.Dispose() | out-null

    $imagePath
    Exit 1
}

try {
    # For WIN10
    $file = Get-Clipboard -Format FileDropList
    if ($file -ne $null) {
        Convert-Path $file
        Exit 1
    }
} catch {
    # For WIN7 WIN8 WIN10
    main
}

main

================================================
FILE: public/wsl.sh
================================================
#!/bin/sh
# grab the paths
scriptPath=$(echo $0 | awk '{ print substr( $0, 1, length($0)-6 ) }')"windows10.ps1"
imagePath=$(echo $1 | awk '{ print substr( $0, 1, length($0)-18 ) }')
imageName=$(echo $1 | awk '{ print substr( $0, length($0)-17, length($0) ) }')

# run the powershell script
res=$(powershell.exe -noprofile -noninteractive -nologo -sta -executionpolicy unrestricted -file $(wslpath -w $scriptPath) $(wslpath -w $imagePath)"\\"$imageName)

# note that there is a return symbol in powershell result
noImage=$(echo "no image\r")

# check whether image exists
if [ "$res" = "$noImage" ] ;then
    echo "no image"
else
    echo $(wslpath -u $res)
fi


================================================
FILE: scripts/config.js
================================================
// different platform has different format

// macos (dmg, x64 + arm64)
const darwin = [{
  appNameWithPrefix: 'PicGo',
  ext: 'dmg',
  arch: 'arm64',
  'version-file': 'latest-mac.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'dmg',
  arch: 'x64',
  'version-file': 'latest-mac.yml'
}]

// linux (AppImage, deb, snap)
const linux = [{
  appNameWithPrefix: 'PicGo',
  ext: 'AppImage',
  arch: 'arm64',
  'version-file': 'latest-linux-arm64.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'AppImage',
  arch: 'x86_64',
  'version-file': 'latest-linux.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'deb',
  arch: 'arm64',
  'version-file': 'latest-linux-arm64.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'deb',
  arch: 'amd64',
  'version-file': 'latest-linux.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'snap',
  arch: 'amd64',
  'version-file': 'latest-linux.yml'
}]

// windows (nsis, x64 + ia32 + arm64)
const win32 = [{
  appNameWithPrefix: 'PicGo',
  ext: 'exe',
  arch: 'ia32',
  'version-file': 'latest.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'exe',
  arch: 'x64',
  'version-file': 'latest.yml'
}, {
  appNameWithPrefix: 'PicGo',
  ext: 'exe',
  arch: 'arm64',
  'version-file': 'latest.yml'
}]

module.exports = {
  darwin,
  linux,
  win32
}


================================================
FILE: scripts/cos-link.js
================================================
const pkg = require('../package.json')
const version = pkg.version

const generateURL = (arch, ext, prefix = 'PicGo-') => `https://release.picgo.app/${version}/${prefix}${version}${arch}${ext}`

const windows = [
  { label: '32 bit', arch: '-ia32', ext: '.exe' },
  { label: '64 bit', arch: '-x64', ext: '.exe' },
  { label: 'ARM64', arch: '-arm64', ext: '.exe' }
]

const macos = [
  { label: 'Intel', arch: '-x64', ext: '.dmg' },
  { label: 'Apple Silicon', arch: '-arm64', ext: '.dmg' }
]

const linux = {
  AppImage: [
    { label: '64 bit', arch: '-amd64', ext: '.AppImage' },
    { label: 'ARM64', arch: '-arm64', ext: '.AppImage' }
  ],
  Deb: [
    { label: '64 bit', arch: '-amd64', ext: '.deb' },
    { label: 'ARM64', arch: '-arm64', ex
Download .txt
gitextract_p8hvu2ck/

├── .github/
│   ├── FUNDING.yml
│   ├── ISSUE_TEMPLATE/
│   │   ├── config.yml
│   │   └── feature_request.yml
│   └── workflows/
│       ├── issue-duplicate-detection.yml
│       └── main.yml
├── .gitignore
├── .husky/
│   ├── commit-msg
│   ├── pre-commit
│   └── pre-push
├── .node-version
├── .npmrc
├── .travis.deprecated.yml
├── .vscode/
│   ├── launch.json
│   ├── settings.json
│   └── tasks.json
├── AGENTS.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── CONTRIBUTING_EN.md
├── FAQ.md
├── LICENSE
├── README.md
├── README_zh-CN.md
├── babel.config.js
├── build/
│   ├── entitlements.mac.plist
│   ├── icons/
│   │   └── icon.icns
│   └── installer.nsh
├── changelog/
│   ├── 2.4.0.md
│   ├── 2.4.1.md
│   ├── 2.4.2.md
│   ├── 2.4.3.md
│   ├── 2.5.1.md
│   ├── 2.5.2.md
│   ├── 2.5.3.md
│   └── gen_changelog.md
├── electron-builder.config.ts
├── electron.vite.config.ts
├── eslint.config.js
├── package.json
├── pnpm-workspace.yaml
├── postcss.config.js
├── public/
│   ├── Upload pictures with PicGo.workflow/
│   │   └── Contents/
│   │       ├── Info.plist
│   │       ├── Resources/
│   │       │   └── background.color
│   │       └── document.wflow
│   ├── i18n/
│   │   ├── en.yml
│   │   ├── zh-CN.yml
│   │   └── zh-TW.yml
│   ├── index.html
│   ├── linux.sh
│   ├── mac.applescript
│   ├── windows.ps1
│   ├── windows10.ps1
│   └── wsl.sh
├── scripts/
│   ├── config.js
│   ├── cos-link.js
│   ├── gen-i18n-types.js
│   ├── merge-artifacts.js
│   ├── notarize.js
│   ├── update-win-yaml.js
│   └── upload-dist.js
├── src/
│   ├── __tests__/
│   │   ├── main/
│   │   │   ├── cloud-config-sync.spec.ts
│   │   │   ├── getLatestVersion.spec.ts
│   │   │   └── server.spec.ts
│   │   ├── renderer/
│   │   │   ├── store/
│   │   │   │   └── appConfig.spec.ts
│   │   │   └── utils/
│   │   │       └── dataSender.spec.ts
│   │   └── universal/
│   │       └── utils/
│   │           └── common.spec.ts
│   ├── background.ts
│   ├── main/
│   │   ├── apis/
│   │   │   ├── README.md
│   │   │   ├── app/
│   │   │   │   ├── remoteNotice/
│   │   │   │   │   └── index.ts
│   │   │   │   ├── shortKey/
│   │   │   │   │   ├── builtin.ts
│   │   │   │   │   ├── shortKeyHandler.ts
│   │   │   │   │   └── shortKeyService.ts
│   │   │   │   ├── system/
│   │   │   │   │   └── index.ts
│   │   │   │   ├── uploader/
│   │   │   │   │   ├── apis.ts
│   │   │   │   │   └── index.ts
│   │   │   │   └── window/
│   │   │   │       ├── constants.ts
│   │   │   │       ├── windowList.ts
│   │   │   │       └── windowManager.ts
│   │   │   ├── core/
│   │   │   │   ├── bus/
│   │   │   │   │   ├── apis.ts
│   │   │   │   │   ├── constants.ts
│   │   │   │   │   └── index.ts
│   │   │   │   ├── datastore/
│   │   │   │   │   ├── dbChecker.ts
│   │   │   │   │   └── index.ts
│   │   │   │   ├── picgo/
│   │   │   │   │   ├── index.ts
│   │   │   │   │   └── logger.ts
│   │   │   │   └── utils/
│   │   │   │       └── localLogger.ts
│   │   │   └── gui/
│   │   │       └── index.ts
│   │   ├── events/
│   │   │   ├── busEventList.ts
│   │   │   ├── ipcList.ts
│   │   │   ├── picgoCoreIPC.ts
│   │   │   ├── remotes/
│   │   │   │   ├── menu.ts
│   │   │   │   └── picBedListMenu.ts
│   │   │   └── rpc/
│   │   │       ├── index.ts
│   │   │       ├── router.ts
│   │   │       ├── routes/
│   │   │       │   ├── cloud.ts
│   │   │       │   ├── config.ts
│   │   │       │   ├── galleryToolbox/
│   │   │       │   │   ├── builtIn/
│   │   │       │   │   │   ├── changeURL.ts
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   ├── index.ts
│   │   │       │   │   └── menuListManager.ts
│   │   │       │   ├── system.ts
│   │   │       │   ├── toolbox/
│   │   │       │   │   ├── checkClipboardUpload.ts
│   │   │       │   │   ├── checkFile.ts
│   │   │       │   │   ├── checkProxy.ts
│   │   │       │   │   ├── index.ts
│   │   │       │   │   └── utils.ts
│   │   │       │   └── version.ts
│   │   │       └── utils.ts
│   │   ├── i18n/
│   │   │   └── index.ts
│   │   ├── lifeCycle/
│   │   │   ├── errorHandler.ts
│   │   │   ├── fixPath.ts
│   │   │   └── index.ts
│   │   ├── migrate/
│   │   │   └── index.ts
│   │   ├── server/
│   │   │   ├── handler.ts
│   │   │   ├── index.ts
│   │   │   └── utils.ts
│   │   └── utils/
│   │       ├── appConfigNotifier.ts
│   │       ├── beforeOpen.ts
│   │       ├── cleanupFormUploaderFiles.ts
│   │       ├── common.ts
│   │       ├── constants.ts
│   │       ├── dataReport.ts
│   │       ├── deviceId.ts
│   │       ├── env.ts
│   │       ├── getLatestVersion.ts
│   │       ├── getMacOSVersion.ts
│   │       ├── getPicBeds.ts
│   │       ├── handleArgv.ts
│   │       ├── handleI18n.ts
│   │       ├── handleUploaderConfig.ts
│   │       ├── pasteTemplate.ts
│   │       ├── privacyManager.ts
│   │       └── updateChecker.ts
│   ├── preload/
│   │   └── index.ts
│   ├── renderer/
│   │   ├── App.vue
│   │   ├── assets/
│   │   │   ├── .gitkeep
│   │   │   ├── css/
│   │   │   │   └── tailwind.css
│   │   │   └── fonts/
│   │   │       └── iconfont.css
│   │   ├── components/
│   │   │   ├── ConfigForm.vue
│   │   │   ├── ToolboxHandler.vue
│   │   │   ├── ToolboxStatusIcon.vue
│   │   │   ├── dialog/
│   │   │   │   ├── ConfigFormDialog.vue
│   │   │   │   ├── ConfirmDialog.vue
│   │   │   │   └── InputBoxDialog.vue
│   │   │   ├── form/
│   │   │   │   └── BaseConfigForm.vue
│   │   │   ├── picgoCloud/
│   │   │   │   └── ConfigSyncConflictDialog.vue
│   │   │   └── settings/
│   │   │       ├── ButtonFormItem.vue
│   │   │       ├── SelectFormItem.vue
│   │   │       └── SwitchFormItem.vue
│   │   ├── hooks/
│   │   │   ├── useATagClick.ts
│   │   │   ├── useConfigForm.ts
│   │   │   ├── useIPC.ts
│   │   │   ├── useOS.ts
│   │   │   ├── useStore.ts
│   │   │   ├── useVModel.ts
│   │   │   └── useVModelValues.ts
│   │   ├── i18n/
│   │   │   └── index.ts
│   │   ├── index.html
│   │   ├── layouts/
│   │   │   └── Main.vue
│   │   ├── main.ts
│   │   ├── pages/
│   │   │   ├── Gallery.vue
│   │   │   ├── MiniPage.vue
│   │   │   ├── PicGoCloud.vue
│   │   │   ├── PicGoSetting.vue
│   │   │   ├── Plugin.vue
│   │   │   ├── RenamePage.vue
│   │   │   ├── ShortKey.vue
│   │   │   ├── Toolbox.vue
│   │   │   ├── TrayPage.vue
│   │   │   ├── Upload.vue
│   │   │   ├── UploaderConfigPage.vue
│   │   │   ├── UrlRewrite.vue
│   │   │   ├── components/
│   │   │   │   ├── gallery/
│   │   │   │   │   └── GalleryToolbar.vue
│   │   │   │   └── settings/
│   │   │   │       ├── buttonArea/
│   │   │   │       │   ├── ButtonAreaSettings.vue
│   │   │   │       │   ├── CheckUpdateDialog.vue
│   │   │   │       │   ├── CustomLinkDialog.vue
│   │   │   │       │   ├── LogSettingDialog.vue
│   │   │   │       │   ├── ProxySettingDialog.vue
│   │   │   │       │   └── ServerSettingsDialog.vue
│   │   │   │       ├── customArea/
│   │   │   │       │   ├── ChoosePicBed.vue
│   │   │   │       │   └── CustomAreaSettings.vue
│   │   │   │       ├── selectArea/
│   │   │   │       │   └── SelectAreaSettings.vue
│   │   │   │       └── switchArea/
│   │   │   │           └── SwitchAreaSettings.vue
│   │   │   └── picbeds/
│   │   │       └── index.vue
│   │   ├── router/
│   │   │   ├── config.ts
│   │   │   └── index.ts
│   │   ├── store/
│   │   │   └── index.ts
│   │   └── utils/
│   │       ├── LS.ts
│   │       ├── analytics.ts
│   │       ├── bus.ts
│   │       ├── common.ts
│   │       ├── dataSender.ts
│   │       ├── db.ts
│   │       ├── key-binding.ts
│   │       ├── mainMixin.ts
│   │       ├── mixin.ts
│   │       ├── notification.ts
│   │       ├── static.ts
│   │       └── uploader.ts
│   └── universal/
│       ├── events/
│       │   └── constants.ts
│       ├── i18n/
│       │   └── index.ts
│       ├── types/
│       │   ├── cloud.ts
│       │   ├── cloudConfigSync.ts
│       │   ├── electron.d.ts
│       │   ├── enum.ts
│       │   ├── extra-vue.d.ts
│       │   ├── global.d.ts
│       │   ├── i18n.d.ts
│       │   ├── rpc.d.ts
│       │   ├── shims-module.d.ts
│       │   ├── shims-tsx.d.ts
│       │   ├── types.d.ts
│       │   └── view.d.ts
│       └── utils/
│           ├── common.ts
│           ├── static.ts
│           └── staticPath.ts
├── tailwind.config.js
├── tsconfig.json
└── vitest.config.ts
Download .txt
SYMBOL INDEX (502 symbols across 72 files)

FILE: scripts/merge-artifacts.js
  constant ARTIFACTS_DIR (line 10) | const ARTIFACTS_DIR = path.join(__dirname, '../artifacts')
  constant DIST_DIR (line 11) | const DIST_DIR = path.join(__dirname, '../dist')
  constant YML_MERGE_RULES (line 14) | const YML_MERGE_RULES = {
  function findFiles (line 28) | function findFiles(dir, filename) {
  function mergeYmlFiles (line 54) | function mergeYmlFiles(files) {
  function copyArtifacts (line 97) | function copyArtifacts() {
  function mergeYmlFilesFromArtifacts (line 143) | function mergeYmlFilesFromArtifacts() {
  function main (line 177) | async function main() {

FILE: scripts/notarize.js
  constant APP_BUNDLE_ID (line 5) | const APP_BUNDLE_ID = 'com.molunerfinn.picgo'
  function main (line 7) | async function main(context) {

FILE: scripts/upload-dist.js
  constant S3_BUCKET (line 15) | const S3_BUCKET = 'release'
  constant S3_LEGACY_BUCKET (line 16) | const S3_LEGACY_BUCKET = 'picgo'
  constant VERSION (line 17) | const VERSION = pkg.version
  constant DEV_DIST_PREFIX (line 18) | const DEV_DIST_PREFIX = 'dev/'
  constant FILE_PATH (line 19) | const FILE_PATH =  uploadToDev ? `${DEV_DIST_PREFIX}${VERSION}/` : `${VE...
  constant S3_SECRET_ID (line 20) | const S3_SECRET_ID = process.env.PICGO_ENV_S3_SECRET_ID
  constant S3_SECRET_KEY (line 21) | const S3_SECRET_KEY = process.env.PICGO_ENV_S3_SECRET_KEY
  constant S3_ACCOUNT_ID (line 22) | const S3_ACCOUNT_ID = process.env.PICGO_ENV_S3_ACCOUNT_ID
  constant S3_LEGACY_SECRET_ID (line 23) | const S3_LEGACY_SECRET_ID = process.env.PICGO_ENV_S3_LEGACY_SECRET_ID
  constant S3_LEGACY_SECRET_KEY (line 24) | const S3_LEGACY_SECRET_KEY = process.env.PICGO_ENV_S3_LEGACY_SECRET_KEY
  constant S3_LEGACY_ACCOUNT_ID (line 25) | const S3_LEGACY_ACCOUNT_ID = process.env.PICGO_ENV_S3_LEGACY_ACCOUNT_ID
  function shouldUploadAll (line 51) | function shouldUploadAll() {
  function getUploadConfigs (line 58) | function getUploadConfigs() {
  function uploadFileToS3 (line 75) | async function uploadFileToS3(client, bucket, key, filePath, contentType...

FILE: src/__tests__/main/cloud-config-sync.spec.ts
  type OnAskEncryptionSwitch (line 9) | type OnAskEncryptionSwitch = (context: { from: string; to: string }) => ...
  type SyncImplementation (line 11) | type SyncImplementation = (askSwitch?: OnAskEncryptionSwitch) => Promise...
  method baseDir (line 35) | get baseDir () {
  class ConfigSyncManager (line 94) | class ConfigSyncManager {
    method constructor (line 97) | constructor (_ctx: unknown, options: { onAskEncryptionSwitch?: OnAskEn...
    method sync (line 101) | async sync (): Promise<{ status: string; message?: string }> {

FILE: src/__tests__/main/server.spec.ts
  type ServerConfig (line 6) | type ServerConfig = {
  type HonoContextLike (line 12) | type HonoContextLike = {
  type UploadHandler (line 20) | type UploadHandler = (c: HonoContextLike) => Promise<Response>

FILE: src/main/apis/app/remoteNotice/index.ts
  constant REMOTE_NOTICE_URL (line 16) | const REMOTE_NOTICE_URL = isDev ? 'http://localhost:8181/remote-notice.j...
  constant REMOTE_NOTICE_LOCAL_STORAGE_FILE (line 18) | const REMOTE_NOTICE_LOCAL_STORAGE_FILE = 'picgo-remote-notice.json'
  constant REMOTE_NOTICE_LOCAL_STORAGE_PATH (line 20) | const REMOTE_NOTICE_LOCAL_STORAGE_PATH = path.join(STORE_PATH, REMOTE_NO...
  class RemoteNoticeHandler (line 22) | class RemoteNoticeHandler {
    method init (line 26) | async init () {
    method initLocalCountStorage (line 31) | private initLocalCountStorage () {
    method saveLocalCountStorage (line 45) | private saveLocalCountStorage (newData?: IRemoteNoticeLocalCountStorag...
    method getRemoteNoticeInfo (line 52) | private async getRemoteNoticeInfo (): Promise<IRemoteNotice | null> {
    method checkActionCount (line 69) | private checkActionCount (action: IRemoteNoticeAction) {
    method doActions (line 103) | private async doActions (actions: IRemoteNoticeAction[]) {
    method triggerHook (line 163) | triggerHook (hook: IRemoteNoticeTriggerHook) {

FILE: src/main/apis/app/shortKey/shortKeyHandler.ts
  class ShortKeyHandler (line 13) | class ShortKeyHandler {
    method constructor (line 15) | constructor () {
    method init (line 21) | init () {
    method initBuiltInShortKey (line 26) | private initBuiltInShortKey () {
    method initPluginsShortKey (line 45) | private initPluginsShortKey () {
    method registerShortKey (line 75) | private registerShortKey (config: IShortKeyConfig | IPluginShortKeyCon...
    method bindOrUnbindShortKey (line 99) | bindOrUnbindShortKey (item: IShortKeyConfig, from: string): boolean {
    method updateShortKey (line 123) | updateShortKey (item: IShortKeyConfig, oldKey: string, from: string): ...
    method handler (line 136) | private async handler (command: string) {
    method registerPluginShortKey (line 160) | registerPluginShortKey (pluginName: string) {
    method unregisterPluginShortKey (line 180) | unregisterPluginShortKey (pluginName: string) {

FILE: src/main/apis/app/shortKey/shortKeyService.ts
  class ShortKeyService (line 2) | class ShortKeyService {
    method registerCommand (line 4) | registerCommand (command: string, handler: IShortKeyHandler) {
    method unregisterCommand (line 8) | unregisterCommand (command: string) {
    method getShortKeyHandler (line 12) | getShortKeyHandler (command: string): IShortKeyHandler | null {
    method getCommandList (line 19) | getCommandList () {

FILE: src/main/apis/app/system/index.ts
  function createContextMenu (line 27) | function createContextMenu () {
  function createTray (line 149) | function createTray () {
  function handleMenubarIcon (line 268) | function handleMenubarIcon (visible?: boolean) {
  function handleDockIcon (line 285) | function handleDockIcon () {
  function createMenu (line 296) | function createMenu () {

FILE: src/main/apis/app/uploader/index.ts
  class Uploader (line 40) | class Uploader {
    method constructor (line 43) | constructor () {
    method init (line 47) | init () {
    method setWebContents (line 95) | setWebContents (webContents: WebContents) {
    method uploadWithBuildInClipboard (line 103) | async uploadWithBuildInClipboard (): Promise<ImgInfo[]|false> {
    method upload (line 131) | async upload (img?: IUploadOption): Promise<ImgInfo[]|false> {

FILE: src/main/apis/app/window/constants.ts
  constant TRAY_WINDOW_URL (line 3) | const TRAY_WINDOW_URL = buildRendererUrl()
  constant SETTING_WINDOW_URL (line 5) | const SETTING_WINDOW_URL = buildRendererUrl('main-page/upload')
  constant MINI_WINDOW_URL (line 7) | const MINI_WINDOW_URL = buildRendererUrl('mini-page')
  constant RENAME_WINDOW_URL (line 9) | const RENAME_WINDOW_URL = buildRendererUrl('rename-page')
  constant TOOLBOX_WINDOW_URL (line 11) | const TOOLBOX_WINDOW_URL = buildRendererUrl('toolbox-page')

FILE: src/main/apis/app/window/windowList.ts
  method options (line 57) | options () {
  method callback (line 73) | callback (window) {
  method options (line 84) | options () {
  method callback (line 111) | callback (window, windowManager) {
  method options (line 129) | options () {
  method callback (line 150) | callback (window) {
  method options (line 158) | options () {
  method callback (line 176) | async callback (window, windowManager) {
  method options (line 198) | options () {
  method callback (line 220) | async callback (window, windowManager) {

FILE: src/main/apis/app/window/windowManager.ts
  class WindowManager (line 7) | class WindowManager implements IWindowManager {
    method create (line 10) | create (name: IWindowList) {
    method get (line 39) | get (name: IWindowList) {
    method has (line 48) | has (name: IWindowList) {
    method getAvailableWindow (line 68) | getAvailableWindow () {

FILE: src/main/apis/core/bus/constants.ts
  constant GET_WINDOW_ID (line 1) | const GET_WINDOW_ID = 'GET_WINDOW_ID' // get a current window
  constant GET_WINDOW_ID_RESPONSE (line 2) | const GET_WINDOW_ID_RESPONSE = 'GET_WINDOW_ID_RESPONSE'
  constant GET_SETTING_WINDOW_ID (line 3) | const GET_SETTING_WINDOW_ID = 'GET_SETTING_WINDOW_ID' // get setting window
  constant GET_SETTING_WINDOW_ID_RESPONSE (line 4) | const GET_SETTING_WINDOW_ID_RESPONSE = 'GET_SETTING_WINDOW_ID_RESPONSE'
  constant UPLOAD_WITH_FILES (line 5) | const UPLOAD_WITH_FILES = 'UPLOAD_WITH_FILES'
  constant UPLOAD_WITH_FILES_RESPONSE (line 6) | const UPLOAD_WITH_FILES_RESPONSE = 'UPLOAD_WITH_FILES_RESPONSE'
  constant UPLOAD_WITH_CLIPBOARD_FILES (line 7) | const UPLOAD_WITH_CLIPBOARD_FILES = 'UPLOAD_WITH_CLIPBOARD_FILES'
  constant UPLOAD_WITH_CLIPBOARD_FILES_RESPONSE (line 8) | const UPLOAD_WITH_CLIPBOARD_FILES_RESPONSE = 'UPLOAD_WITH_CLIPBOARD_FILE...
  constant CREATE_APP_MENU (line 9) | const CREATE_APP_MENU = 'CREATE_APP_MENU'
  constant SHORTKEY_BUILTIN_PREFIX (line 12) | const SHORTKEY_BUILTIN_PREFIX = 'picgo:'
  constant SHORTKEY_COMMAND_UPLOAD (line 13) | const SHORTKEY_COMMAND_UPLOAD = `${SHORTKEY_BUILTIN_PREFIX}upload`

FILE: src/main/apis/core/datastore/dbChecker.ts
  function dbChecker (line 23) | function dbChecker () {
  function dbPathChecker (line 78) | function dbPathChecker (): string {
  function dbPathDir (line 117) | function dbPathDir () {
  function getGalleryDBPath (line 121) | function getGalleryDBPath (): {
  function getFormImageFolderPath (line 134) | function getFormImageFolderPath (): string {

FILE: src/main/apis/core/datastore/index.ts
  constant DB_PATH (line 6) | const DB_PATH: string = getGalleryDBPath().dbPath
  class GalleryDB (line 9) | class GalleryDB {
    method constructor (line 11) | private constructor () {}
    method getInstance (line 13) | public static getInstance (): DBStore {

FILE: src/main/apis/core/picgo/index.ts
  constant CONFIG_PATH (line 6) | const CONFIG_PATH = dbPathChecker()

FILE: src/main/apis/gui/index.ts
  class GuiApi (line 23) | class GuiApi implements IGuiApi {
    method constructor (line 27) | private constructor () {
    method getInstance (line 31) | public static getInstance (): GuiApi {
    method showSettingWindow (line 38) | private async showSettingWindow () {
    method getWebContentsByWindowId (line 52) | private getWebContentsByWindowId (id: number) {
    method showInputBox (line 56) | async showInputBox (options: IShowInputBoxOption = {
    method showFileExplorer (line 69) | async showFileExplorer (options: IShowFileExplorerOption = {}) {
    method upload (line 75) | async upload (input: IUploadOption) {
    method showNotification (line 101) | showNotification (options: IShowNotificationOption = {
    method showMessageBox (line 108) | showMessageBox (options: IShowMessageBoxOption = {
    method showConfigDialog (line 132) | async showConfigDialog<T extends IStringKeyMap> (options: IPicGoPlugin...
    method getConfigPath (line 145) | async getConfigPath () {
    method galleryDB (line 155) | get galleryDB (): DBStore {

FILE: src/main/events/busEventList.ts
  function initEventCenter (line 22) | function initEventCenter () {
  function busCallUploadClipboardFiles (line 35) | async function busCallUploadClipboardFiles () {
  function busCallUploadFiles (line 40) | async function busCallUploadFiles (pathList: IFileWithPath[]) {
  function busCallGetWindowId (line 46) | function busCallGetWindowId () {
  function busCallGetSettingWindowId (line 51) | function busCallGetSettingWindowId () {
  method listen (line 57) | listen () {

FILE: src/main/events/ipcList.ts
  method listen (line 46) | listen () {
  method dispose (line 229) | dispose () {}

FILE: src/main/events/picgoCoreIPC.ts
  constant STORE_PATH (line 44) | const STORE_PATH = path.dirname(dbPathChecker())
  type GuiMenuItem (line 46) | interface GuiMenuItem {
  method listen (line 405) | listen () {

FILE: src/main/events/remotes/menu.ts
  type GuiMenuItem (line 17) | interface GuiMenuItem {
  method click (line 27) | click () {
  method click (line 41) | click () {
  method click (line 47) | click () {
  method click (line 53) | click () {
  method click (line 59) | click () {
  method click (line 77) | click () {
  method click (line 87) | click () {
  method click (line 93) | click () {
  method click (line 99) | click () {
  method click (line 106) | click () {
  method click (line 114) | click () {
  method click (line 149) | click () {
  method click (line 159) | click () {
  method click (line 176) | click () {
  method click (line 183) | click () {
  method click (line 198) | click () {
  method click (line 216) | click () {
  method click (line 242) | click () {

FILE: src/main/events/rpc/index.ts
  class RPCServer (line 12) | class RPCServer implements IRPCServer {
    method sendBack (line 46) | private sendBack (event: IpcMainEvent, action: IRPCActionType, data: a...
    method start (line 52) | start () {
    method use (line 57) | use (routes: IRPCRoutes) {
    method stop (line 63) | stop () {

FILE: src/main/events/rpc/router.ts
  class RPCRouter (line 3) | class RPCRouter implements IRPCRouter {
    method routes (line 10) | routes () {

FILE: src/main/events/rpc/routes/cloud.ts
  constant LOGIN_TIMEOUT_MS (line 36) | const LOGIN_TIMEOUT_MS = 5 * 60 * 1000
  constant USER_ABORTED_CODE (line 37) | const USER_ABORTED_CODE = 'PICGO_CLOUD_CONFIG_SYNC_ABORTED'

FILE: src/main/events/rpc/routes/galleryToolbox/builtIn/changeURL.ts
  type IUrlRewriteRule (line 5) | interface IUrlRewriteRule {
  type IUrlRewriteDialogResult (line 13) | interface IUrlRewriteDialogResult {
  function normalizeRules (line 21) | function normalizeRules (value: unknown): IUrlRewriteRule[] {
  function buildFlags (line 35) | function buildFlags (rule: Pick<IUrlRewriteRule, 'global' | 'ignoreCase'...
  function validateRuleOrThrow (line 39) | function validateRuleOrThrow (rule: IUrlRewriteRule) {
  function applyFirstMatchRewrite (line 52) | function applyFirstMatchRewrite (ctx: IPicGo, imgItem: ImgInfo, rules: I...
  method handle (line 70) | async handle (ctx: IPicGo, guiApi: IGuiApi, selectedList: ImgInfo[] = []) {

FILE: src/main/events/rpc/routes/galleryToolbox/menuListManager.ts
  class GalleryMenuListManager (line 9) | class GalleryMenuListManager {
    method getBuiltInMenuList (line 13) | private getBuiltInMenuList (selectedList: IGalleryItem[]): MenuItemCon...
    method getMenuItemList (line 33) | private getMenuItemList (selectedList: IGalleryItem[]) {
    method getMenu (line 38) | public getMenu (selectedList: IGalleryItem[]): Menu {

FILE: src/main/i18n/index.ts
  class I18nManager (line 8) | class I18nManager {
    method setOuterI18nFolder (line 17) | setOuterI18nFolder (folder: string) {
    method addI18nFile (line 21) | addI18nFile (file: string, label: string) {
    method getLocales (line 28) | private getLocales (lang: string): ILocales {
    method setCurrentLanguage (line 55) | setCurrentLanguage (lang: string) {
    method initI18n (line 61) | private initI18n (lang: string = this.defaultLanguage, locales: ILocal...
    method T (line 71) | T (key: ILocalesKey, args: IStringKeyMap = {}): string {
    method languageList (line 75) | get languageList () {
    method getCurrentLocales (line 79) | getCurrentLocales () {

FILE: src/main/lifeCycle/errorHandler.ts
  constant STORE_PATH (line 4) | const STORE_PATH = app.getPath('userData')
  constant LOG_PATH (line 5) | const LOG_PATH = path.join(STORE_PATH, 'picgo-gui-local.log')
  function bootstrapEPIPESuppression (line 25) | function bootstrapEPIPESuppression () {

FILE: src/main/lifeCycle/fixPath.ts
  function fixPath (line 7) | function fixPath () {

FILE: src/main/lifeCycle/index.ts
  class LifeCycle (line 59) | class LifeCycle {
    method beforeReady (line 60) | private async beforeReady () {
    method onReady (line 72) | private onReady () {
    method onRunning (line 126) | private onRunning () {
    method onQuit (line 167) | private onQuit () {
    method launchApp (line 195) | async launchApp () {

FILE: src/main/server/handler.ts
  constant STORE_PATH (line 17) | const STORE_PATH = dbPathDir()
  constant LOG_PATH (line 18) | const LOG_PATH = path.join(STORE_PATH, 'picgo.log')

FILE: src/main/server/index.ts
  class Server (line 5) | class Server {
    method constructor (line 8) | constructor () {
    method checkIfConfigIsValid (line 12) | private checkIfConfigIsValid (config: IObj | undefined) {
    method ensureConfig (line 20) | private ensureConfig (): IServerConfig {
    method ensureUploadOverrideRegistered (line 37) | private ensureUploadOverrideRegistered () {
    method startup (line 44) | startup () {
    method shutdown (line 54) | shutdown () {
    method restart (line 59) | restart () {

FILE: src/main/server/utils.ts
  type UploadResponseBody (line 3) | type UploadResponseBody = {
  type HonoContextLike (line 9) | type HonoContextLike = {
  type FormDataFileLike (line 17) | type FormDataFileLike = {

FILE: src/main/utils/appConfigNotifier.ts
  constant TARGET_WINDOWS (line 5) | const TARGET_WINDOWS: IWindowList[] = [

FILE: src/main/utils/beforeOpen.ts
  constant CONFIG_DIR (line 11) | const CONFIG_DIR = path.dirname(configPath)
  function beforeOpen (line 13) | function beforeOpen () {
  function copyFileOutsideOfElectronAsar (line 20) | function copyFileOutsideOfElectronAsar (
  function resolveMacWorkFlow (line 47) | function resolveMacWorkFlow () {
  function diffFilesAndUpdate (line 60) | function diffFilesAndUpdate (filePath1: string, filePath2: string) {
  function resolveClipboardImageGenerator (line 77) | function resolveClipboardImageGenerator () {
  function resolveOtherI18nFiles (line 110) | function resolveOtherI18nFiles () {

FILE: src/main/utils/constants.ts
  constant SECOND (line 2) | const SECOND = 1000

FILE: src/main/utils/dataReport.ts
  type IReportUploadDataOptions (line 11) | interface IReportUploadDataOptions {
  class DataReportManager (line 17) | class DataReportManager {
    method constructor (line 20) | constructor () {
    method handleRegisterDeviceID (line 24) | private handleRegisterDeviceID() {
    method init (line 30) | private async init () {
    method reportUploadData (line 34) | public async reportUploadData(webContents: WebContents, options: IRepo...
    method registerDeviceID (line 99) | public async registerDeviceID(webContents: WebContents) {
    method reportDataToWebContents (line 105) | private reportDataToWebContents(webContents: WebContents, data: ITalki...
    method getAreaFromTimezone (line 117) | private getAreaFromTimezone() {

FILE: src/main/utils/deviceId.ts
  class DeviceIdManager (line 7) | class DeviceIdManager {
    method constructor (line 10) | constructor() {
    method init (line 14) | private async init() {
    method getDeviceIdWithFallback (line 18) | private async getDeviceIdWithFallback(): Promise<string> {
    method saveDeviceId (line 39) | private async saveDeviceId(id: string): Promise<void> {
    method loadDeviceId (line 47) | private async loadDeviceId(): Promise<string> {
    method getId (line 53) | public async getId(): Promise<string> {

FILE: src/main/utils/env.ts
  constant STORE_PATH (line 34) | const STORE_PATH = app.getPath('userData')
  constant DEVICE_ID_PATH (line 35) | const DEVICE_ID_PATH = path.join(STORE_PATH, 'picgo-device-id')

FILE: src/main/utils/getLatestVersion.ts
  type IGithubRelease (line 7) | interface IGithubRelease {
  type IReleaseYAML (line 14) | interface IReleaseYAML {
  constant REQUEST_HEADERS (line 18) | const REQUEST_HEADERS = {
  function normalizeVersion (line 22) | function normalizeVersion (version: unknown): string {
  function pickLatestVersion (line 30) | function pickLatestVersion (versions: string[]): string {
  function fetchLatestVersionFromGitHub (line 39) | async function fetchLatestVersionFromGitHub (isCheckBetaUpdate: boolean)...
  function fetchVersionFromBackupYAML (line 60) | async function fetchVersionFromBackupYAML (fileName: 'latest.yml' | 'lat...
  function fetchLatestVersionFromBackup (line 73) | async function fetchLatestVersionFromBackup (isCheckBetaUpdate: boolean)...

FILE: src/main/utils/getMacOSVersion.ts
  function macOSVersion (line 34) | function macOSVersion (): string {
  function isMacOSVersion (line 57) | function isMacOSVersion (semverRange: string) {
  function isMacOSVersionGreaterThanOrEqualTo (line 67) | function isMacOSVersionGreaterThanOrEqualTo (version: string) {
  function assertMacOSVersion (line 77) | function assertMacOSVersion (semverRange: string) {
  function assertMacOSVersionGreaterThanOrEqualTo (line 85) | function assertMacOSVersionGreaterThanOrEqualTo (version: string) {
  function assertMacOS (line 93) | function assertMacOS () {

FILE: src/main/utils/handleArgv.ts
  type IResultFileObject (line 5) | interface IResultFileObject {
  type Result (line 8) | type Result = IResultFileObject[]
  type IHandleArgvResult (line 10) | interface IHandleArgvResult {

FILE: src/main/utils/privacyManager.ts
  class PrivacyManager (line 5) | class PrivacyManager {
    method check (line 6) | async check () {
    method show (line 20) | async show (showCancel = true) {

FILE: src/preload/index.ts
  type ElectronApi (line 13) | type ElectronApi = typeof electronApi

FILE: src/renderer/hooks/useATagClick.ts
  function useATagClick (line 4) | function useATagClick () {

FILE: src/renderer/hooks/useVModel.ts
  type VModelObject (line 3) | type VModelObject = object
  function useVModel (line 8) | function useVModel<T extends VModelObject, K extends keyof T> (props: T,...

FILE: src/renderer/hooks/useVModelValues.ts
  function useVModelValues (line 6) | function useVModelValues<T extends object> (props: T, keys: Array<keyof ...

FILE: src/renderer/i18n/index.ts
  class I18nManager (line 7) | class I18nManager {
    method getLanguageList (line 11) | private getLanguageList () {
    method getCurrentLanguage (line 18) | private getCurrentLanguage () {
    method setLocales (line 26) | private setLocales (lang: string, locales: ILocales) {
    method constructor (line 36) | constructor () {
    method T (line 45) | T (key: ILocalesKey, args: IStringKeyMap = {}): string {
    method setCurrentLanguage (line 49) | setCurrentLanguage (lang: string) {
    method languageList (line 53) | get languageList () {

FILE: src/renderer/router/config.ts
  constant GALLERY_PAGE (line 1) | const GALLERY_PAGE = 'GalleryPage'
  constant TRAY_PAGE (line 2) | const TRAY_PAGE = 'TrayPage'
  constant RENAME_PAGE (line 3) | const RENAME_PAGE = 'RenamePage'
  constant MINI_PAGE (line 4) | const MINI_PAGE = 'MiniPage'
  constant MAIN_PAGE (line 5) | const MAIN_PAGE = 'MainPage'
  constant UPLOAD_PAGE (line 6) | const UPLOAD_PAGE = 'UploadPage'
  constant PICBEDS_PAGE (line 7) | const PICBEDS_PAGE = 'PicbedsPage'
  constant SETTING_PAGE (line 8) | const SETTING_PAGE = 'SettingPage'
  constant PLUGIN_PAGE (line 9) | const PLUGIN_PAGE = 'PluginPage'
  constant SHORTKEY_PAGE (line 10) | const SHORTKEY_PAGE = 'ShortkeyPage'
  constant URL_REWRITE_PAGE (line 11) | const URL_REWRITE_PAGE = 'UrlRewritePage'
  constant UPLOADER_CONFIG_PAGE (line 12) | const UPLOADER_CONFIG_PAGE = 'UploaderConfigPage'
  constant PICGO_CLOUD_PAGE (line 13) | const PICGO_CLOUD_PAGE = 'PicGoCloudPage'
  constant TOOLBOX_CONFIG_PAGE (line 14) | const TOOLBOX_CONFIG_PAGE = 'ToolBoxPage'

FILE: src/renderer/store/index.ts
  type IPicGoCloudRequestStatus (line 6) | enum IPicGoCloudRequestStatus {
  type IPicGoCloudLoginStatus (line 12) | enum IPicGoCloudLoginStatus {
  type IPicGoCloudState (line 17) | interface IPicGoCloudState {
  type IState (line 36) | interface IState {
  type IStore (line 43) | interface IStore {
  method install (line 132) | install (app: App) {

FILE: src/renderer/utils/LS.ts
  class LS (line 1) | class LS {
    method get (line 2) | get (name: string) {
    method set (line 10) | set (name: string, value: any) {

FILE: src/renderer/utils/bus.ts
  type IEvent (line 8) | type IEvent ={

FILE: src/renderer/utils/dataSender.ts
  function saveConfig (line 7) | async function saveConfig (_config: IObj | string, value?: any) {
  function getConfig (line 19) | function getConfig<T> (key?: string): Promise<T | undefined> {
  function getPicBeds (line 33) | function getPicBeds (): Promise<IPicBedType[]> {
  function invokeRPC (line 48) | function invokeRPC<T> (action: IRPCActionType, ...args: any[]): Promise<...
  function sendRPC (line 58) | function sendRPC (action: IRPCActionType, ...args: any[]): void {
  function sendToMain (line 66) | function sendToMain (channel: string, ...args: any[]) {

FILE: src/renderer/utils/db.ts
  class GalleryDB (line 14) | class GalleryDB implements IGalleryDB {
    method get (line 15) | async get<T> (filter?: IFilter): Promise<IGetResult<T>> {
    method insert (line 20) | async insert<T> (value: T): Promise<IResult<T>> {
    method insertMany (line 25) | async insertMany<T> (value: T[]): Promise<IResult<T>[]> {
    method updateById (line 30) | async updateById (id: string, value: IObject): Promise<boolean> {
    method getById (line 35) | async getById<T> (id: string): Promise<IResult<T> | undefined> {
    method removeById (line 40) | async removeById (id: string): Promise<void> {
    method msgHandler (line 45) | private msgHandler<T> (method: string, ...args: any[]): Promise<T> {

FILE: src/renderer/utils/mainMixin.ts
  method created (line 8) | created () {
  method forceUpdate (line 18) | forceUpdate () {
  method getPicBeds (line 21) | getPicBeds () {

FILE: src/renderer/utils/mixin.ts
  method mounted (line 3) | mounted () {
  method disableDragEvent (line 8) | disableDragEvent () {
  method disableDrag (line 14) | disableDrag (e: DragEvent) {
  method beforeUnmount (line 24) | beforeUnmount () {

FILE: src/renderer/utils/notification.ts
  constant MAX_CALLBACK_LIMIT (line 8) | const MAX_CALLBACK_LIMIT = 10
  type NotificationOptions (line 24) | interface NotificationOptions {

FILE: src/universal/events/constants.ts
  constant SHOW_INPUT_BOX (line 1) | const SHOW_INPUT_BOX = 'SHOW_INPUT_BOX'
  constant SHOW_INPUT_BOX_RESPONSE (line 2) | const SHOW_INPUT_BOX_RESPONSE = 'SHOW_INPUT_BOX_RESPONSE'
  constant LOG_INVALID_URL_LINES (line 3) | const LOG_INVALID_URL_LINES = 'LOG_INVALID_URL_LINES'
  constant TOGGLE_SHORTKEY_MODIFIED_MODE (line 4) | const TOGGLE_SHORTKEY_MODIFIED_MODE = 'TOGGLE_SHORTKEY_MODIFIED_MODE'
  constant TALKING_DATA_APPID (line 5) | const TALKING_DATA_APPID = '7E6832BCE3F1438696579E541DFEBFDA'
  constant TALKING_DATA_EVENT (line 6) | const TALKING_DATA_EVENT = 'TALKING_DATA_EVENT'
  constant TALKING_DATA_DEVICE_ID_EVENT (line 7) | const TALKING_DATA_DEVICE_ID_EVENT = 'TALKING_DATA_DEVICE_ID_EVENT'
  constant SHOW_PRIVACY_MESSAGE (line 8) | const SHOW_PRIVACY_MESSAGE = 'SHOW_PRIVACY_MESSAGE'
  constant PICGO_SAVE_CONFIG (line 9) | const PICGO_SAVE_CONFIG = 'PICGO_SAVE_CONFIG'
  constant PICGO_GET_CONFIG (line 10) | const PICGO_GET_CONFIG = 'PICGO_GET_CONFIG'
  constant PICGO_GET_DB (line 11) | const PICGO_GET_DB = 'PICGO_GET_DB'
  constant PICGO_INSERT_DB (line 12) | const PICGO_INSERT_DB = 'PICGO_INSERT_DB'
  constant PICGO_INSERT_MANY_DB (line 13) | const PICGO_INSERT_MANY_DB = 'PICGO_INSERT_MANY_DB'
  constant PICGO_UPDATE_BY_ID_DB (line 14) | const PICGO_UPDATE_BY_ID_DB = 'PICGO_UPDATE_BY_ID_DB'
  constant PICGO_GET_BY_ID_DB (line 15) | const PICGO_GET_BY_ID_DB = 'PICGO_GET_BY_ID_DB'
  constant PICGO_REMOVE_BY_ID_DB (line 16) | const PICGO_REMOVE_BY_ID_DB = 'PICGO_REMOVE_BY_ID_DB'
  constant PICGO_OPEN_FILE (line 17) | const PICGO_OPEN_FILE = 'PICGO_OPEN_FILE'
  constant OPEN_DEVTOOLS (line 18) | const OPEN_DEVTOOLS = 'OPEN_DEVTOOLS'
  constant SHOW_MINI_PAGE_MENU (line 19) | const SHOW_MINI_PAGE_MENU = 'SHOW_MINI_PAGE_MENU'
  constant SHOW_MAIN_PAGE_MENU (line 20) | const SHOW_MAIN_PAGE_MENU = 'SHOW_MAIN_PAGE_MENU'
  constant SHOW_UPLOAD_PAGE_MENU (line 21) | const SHOW_UPLOAD_PAGE_MENU = 'SHOW_UPLOAD_PAGE_MENU'
  constant SHOW_PLUGIN_PAGE_MENU (line 22) | const SHOW_PLUGIN_PAGE_MENU = 'SHOW_PLUGIN_PAGE_MENU'
  constant MINIMIZE_WINDOW (line 23) | const MINIMIZE_WINDOW = 'MINIMIZE_WINDOW'
  constant CLOSE_WINDOW (line 24) | const CLOSE_WINDOW = 'CLOSE_WINDOW'
  constant OPEN_USER_STORE_FILE (line 25) | const OPEN_USER_STORE_FILE = 'OPEN_USER_STORE_FILE'
  constant OPEN_URL (line 26) | const OPEN_URL = 'OPEN_URL'
  constant PICGO_CONFIG_PLUGIN (line 27) | const PICGO_CONFIG_PLUGIN = 'PICGO_CONFIG_PLUGIN'
  constant PICGO_HANDLE_PLUGIN_ING (line 28) | const PICGO_HANDLE_PLUGIN_ING = 'PICGO_HANDLE_PLUGIN_ING'
  constant PICGO_HANDLE_PLUGIN_DONE (line 29) | const PICGO_HANDLE_PLUGIN_DONE = 'PICGO_HANDLE_PLUGIN_DONE'
  constant PICGO_TOGGLE_PLUGIN (line 30) | const PICGO_TOGGLE_PLUGIN = 'PICGO_TOGGLE_PLUGIN'
  constant PASTE_TEXT (line 31) | const PASTE_TEXT = 'PASTE_TEXT'
  constant SET_MINI_WINDOW_POS (line 32) | const SET_MINI_WINDOW_POS = 'SET_MINI_WINDOW_POS'
  constant RENAME_FILE_NAME (line 33) | const RENAME_FILE_NAME = 'RENAME_FILE_NAME'
  constant GET_RENAME_FILE_NAME (line 34) | const GET_RENAME_FILE_NAME = 'GET_RENAME_FILE_NAME'
  constant SHOW_MAIN_PAGE_QRCODE (line 35) | const SHOW_MAIN_PAGE_QRCODE = 'SHOW_MAIN_PAGE_QRCODE'
  constant SHOW_MAIN_PAGE_DONATION (line 36) | const SHOW_MAIN_PAGE_DONATION = 'SHOW_MAIN_PAGE_DONATION'
  constant FORCE_UPDATE (line 37) | const FORCE_UPDATE = 'FORCE_UPDATE'
  constant APP_CONFIG_UPDATED (line 38) | const APP_CONFIG_UPDATED = 'APP_CONFIG_UPDATED'
  constant OPEN_WINDOW (line 39) | const OPEN_WINDOW = 'OPEN_WINDOW'
  constant GET_PICBEDS (line 40) | const GET_PICBEDS = 'GET_PICBEDS'
  constant RPC_ACTIONS (line 41) | const RPC_ACTIONS = 'RPC_ACTIONS'
  constant PICGO_NOTIFICATION_CLICKED (line 42) | const PICGO_NOTIFICATION_CLICKED = 'PICGO_NOTIFICATION_CLICKED'
  constant GET_PICBED_CONFIG (line 43) | const GET_PICBED_CONFIG = 'GET_PICBED_CONFIG'
  constant REGISTER_DEVICE_ID (line 44) | const REGISTER_DEVICE_ID = 'REGISTER_DEVICE_ID'
  constant GET_CURRENT_LANGUAGE (line 46) | const GET_CURRENT_LANGUAGE = 'GET_CURRENT_LANGUAGE'
  constant GET_LANGUAGE_LIST (line 47) | const GET_LANGUAGE_LIST = 'GET_LANGUAGE_LIST'
  constant SET_CURRENT_LANGUAGE (line 48) | const SET_CURRENT_LANGUAGE = 'SET_CURRENT_LANGUAGE'

FILE: src/universal/types/cloud.ts
  type IPicGoCloudUserInfo (line 1) | interface IPicGoCloudUserInfo {
  type IPicGoCloudErrorCode (line 5) | enum IPicGoCloudErrorCode {

FILE: src/universal/types/cloudConfigSync.ts
  type IPicGoCloudConfigSyncSessionStatus (line 1) | enum IPicGoCloudConfigSyncSessionStatus {
  type IPicGoCloudConfigSyncRunStatus (line 7) | enum IPicGoCloudConfigSyncRunStatus {
  type IPicGoCloudConfigSyncConflictChoice (line 13) | enum IPicGoCloudConfigSyncConflictChoice {
  type IPicGoCloudConfigSyncToastType (line 18) | enum IPicGoCloudConfigSyncToastType {
  type IPicGoCloudEncryptionMethod (line 25) | enum IPicGoCloudEncryptionMethod {
  type IPicGoCloudConfigSyncConflictItem (line 42) | interface IPicGoCloudConfigSyncConflictItem {
  type IPicGoCloudConfigSyncResolution (line 48) | type IPicGoCloudConfigSyncResolution = Record<string, IPicGoCloudConfigS...
  type IPicGoCloudConfigSyncState (line 50) | interface IPicGoCloudConfigSyncState {
  type IPicGoCloudConfigSyncRunResult (line 61) | interface IPicGoCloudConfigSyncRunResult {

FILE: src/universal/types/electron.d.ts
  type BrowserWindow (line 2) | type BrowserWindow = import('electron').BrowserWindow
  type IWindowList (line 3) | type IWindowList = import('./enum').IWindowList
  type IWindowListItem (line 5) | interface IWindowListItem {
  type IWindowManager (line 12) | interface IWindowManager {
  type IpcRendererListener (line 21) | type IpcRendererListener = (event: import('electron').IpcRendererEvent, ...

FILE: src/universal/types/enum.ts
  type IChalkType (line 1) | enum IChalkType {
  type IPicGoHelperType (line 8) | enum IPicGoHelperType {
  type IPasteStyle (line 16) | enum IPasteStyle {
  type IWindowList (line 24) | enum IWindowList {
  type IRemoteNoticeActionType (line 32) | enum IRemoteNoticeActionType {
  type IRemoteNoticeTriggerHook (line 41) | enum IRemoteNoticeTriggerHook {
  type IRemoteNoticeTriggerCount (line 46) | enum IRemoteNoticeTriggerCount {
  type IRPCActionType (line 54) | enum IRPCActionType {
  type IToolboxItemType (line 96) | enum IToolboxItemType {
  type IToolboxItemCheckStatus (line 103) | enum IToolboxItemCheckStatus {
  type IStartupMode (line 110) | enum IStartupMode {

FILE: src/universal/types/extra-vue.d.ts
  type IGalleryDB (line 4) | interface IGalleryDB {
  type Vue (line 14) | interface Vue {
  type ComponentCustomProperties (line 19) | interface ComponentCustomProperties {
  type GlobalComponents (line 32) | interface GlobalComponents {

FILE: src/universal/types/global.d.ts
  type IncomingMessage (line 13) | interface IncomingMessage {

FILE: src/universal/types/i18n.d.ts
  type ILocales (line 1) | interface ILocales {
  type ILocalesKey (line 349) | type ILocalesKey = keyof ILocales

FILE: src/universal/types/rpc.d.ts
  type IRPCResult (line 2) | type IRPCResult<T> =
  type IGetUploaderConfigListArgs (line 6) | type IGetUploaderConfigListArgs = [type: string]
  type IDeleteUploaderConfigArgs (line 7) | type IDeleteUploaderConfigArgs = [type: string, configName: string]
  type ISelectUploaderConfigArgs (line 8) | type ISelectUploaderConfigArgs = [type: string, configName: string]
  type IUpdateUploaderConfigArgs (line 9) | type IUpdateUploaderConfigArgs = [type: string, configId: string, config...
  type ICopyUploaderConfigArgs (line 10) | type ICopyUploaderConfigArgs = [type: string, configName: string, newCon...
  type IGetLatestVersionArgs (line 11) | type IGetLatestVersionArgs = [isCheckBetaVersion: boolean]
  type IToolboxCheckArgs (line 12) | type IToolboxCheckArgs = [type: import('./enum').IToolboxItemType]
  type IOpenFileArgs (line 13) | type IOpenFileArgs = [filePath: string]
  type ICopyTextArgs (line 14) | type ICopyTextArgs = [text: string]
  type IShowDockIconArgs (line 15) | type IShowDockIconArgs = [visible: boolean]
  type IShowMenubarIconArgs (line 16) | type IShowMenubarIconArgs = [visible: boolean]
  type IShowNotificationArgs (line 17) | type IShowNotificationArgs = [title: string, body: string, id?: string]
  type IGetGalleryMenuListArgs (line 18) | type IGetGalleryMenuListArgs = [selectedList: IGalleryItem[]]
  type IRPCServer (line 20) | interface IRPCServer {
  type IRPCRoutes (line 26) | type IRPCRoutes = Map<import('./enum').IRPCActionType, IRPCHandler<any>>
  type IRPCHandler (line 28) | type IRPCHandler<T> = (args: any[], event: import('electron').IpcMainEve...
  type IRPCRouter (line 30) | interface IRPCRouter {
  type IToolboxChecker (line 35) | type IToolboxChecker<T = any> = (event: import('electron').IpcMainEvent ...
  type IToolboxCheckerMap (line 37) | type IToolboxCheckerMap<T extends import('./enum').IToolboxItemType> = {
  type IToolboxFixMap (line 41) | type IToolboxFixMap<T extends import('./enum').IToolboxItemType> = {
  type IToolboxCheckRes (line 45) | type IToolboxCheckRes = {

FILE: src/universal/types/shims-tsx.d.ts
  type ElectronApi (line 4) | interface ElectronApi {
  type Element (line 10) | interface Element extends VNode {}
  type ElementClass (line 12) | interface ElementClass extends Vue {}
  type IntrinsicElements (line 13) | interface IntrinsicElements {
  type Window (line 18) | interface Window {

FILE: src/universal/types/types.d.ts
  type FN (line 3) | type FN = (...args: any) => any
  type IObj (line 5) | interface IObj {
  type IObjT (line 9) | interface IObjT<T> {
  type ErrnoException (line 13) | interface ErrnoException extends Error {
  type ProcessEnv (line 22) | interface ProcessEnv {
  type ILogType (line 29) | type ILogType = 'success' | 'info' | 'warn' | 'error'
  type routeHandler (line 32) | type routeHandler = (ctx: IServerCTX) => Promise<void>
  type IHttpResponse (line 34) | type IHttpResponse = import('http').ServerResponse
  type IServerCTX (line 36) | interface IServerCTX {
  type IServerConfig (line 41) | interface IServerConfig {
  type ImgInfo (line 48) | interface ImgInfo {
  type IGalleryItem (line 62) | interface IGalleryItem extends ImgInfo {
  type IPicBedType (line 68) | interface IPicBedType {
  type IShortKeyConfig (line 75) | interface IShortKeyConfig {
  type IPluginShortKeyConfig (line 83) | interface IPluginShortKeyConfig {
  type IShortKeyConfigs (line 90) | interface IShortKeyConfigs {
  type IOldShortKeyConfigs (line 94) | interface IOldShortKeyConfigs {
  type IKeyCommandType (line 98) | interface IKeyCommandType {
  type IBrowserWindowOptions (line 104) | interface IBrowserWindowOptions {
  type IFileWithPath (line 131) | interface IFileWithPath {
  type IBounds (line 136) | interface IBounds {
  type ICtx (line 142) | type ICtx = import('picgo').PicGo
  type IPicGoPlugin (line 143) | interface IPicGoPlugin {
  type IPicGoPluginConfig (line 166) | interface IPicGoPluginConfig {
  type IPicGoPluginShowConfigDialogOption (line 181) | interface IPicGoPluginShowConfigDialogOption {
  type IPicGoPluginOriginConfig (line 193) | interface IPicGoPluginOriginConfig {
  type IPluginMenuConfig (line 209) | interface IPluginMenuConfig {
  type INPMSearchResult (line 215) | interface INPMSearchResult {
  type INPMSearchResultObject (line 221) | interface INPMSearchResultObject {
  type IDispose (line 239) | type IDispose = () => void
  type IGuiApi (line 242) | interface IGuiApi {
  type IShowInputBoxOption (line 251) | interface IShowInputBoxOption {
  type IShowFileExplorerOption (line 270) | type IShowFileExplorerOption = IObj
  type IUploadOption (line 272) | type IUploadOption = string[] | ImgInfo[]
  type IShowNotificationOption (line 274) | interface IShowNotificationOption {
  type IPrivateShowNotificationOption (line 283) | interface IPrivateShowNotificationOption extends IShowNotificationOption{
  type IShowMessageBoxOption (line 292) | interface IShowMessageBoxOption {
  type IShowMessageBoxResult (line 299) | interface IShowMessageBoxResult {
  type IShortKeyHandlerObj (line 304) | interface IShortKeyHandlerObj {
  type IShortKeyHandler (line 310) | type IShortKeyHandler = (ctx: ICtx, guiApi?: IGuiApi) => Promise<void | ...
  type shortKeyHandlerMap (line 312) | interface shortKeyHandlerMap {
  type IAliYunConfig (line 318) | interface IAliYunConfig {
  type IGitHubConfig (line 328) | interface IGitHubConfig {
  type IImgurConfig (line 336) | interface IImgurConfig {
  type IQiniuConfig (line 341) | interface IQiniuConfig {
  type ISMMSConfig (line 351) | interface ISMMSConfig {
  type ITcYunConfig (line 355) | interface ITcYunConfig {
  type IUpYunConfig (line 367) | interface IUpYunConfig {
  type ILoggerType (line 375) | type ILoggerType = string | Error | boolean | number | undefined
  type IAppNotification (line 377) | interface IAppNotification {
  type ITalkingDataOptions (line 383) | interface ITalkingDataOptions {
  type IAnalyticsData (line 389) | interface IAnalyticsData {
  type IStringKeyMap (line 396) | interface IStringKeyMap {
  type ILogArgvType (line 400) | type ILogArgvType = string | number
  type ILogArgvTypeWithError (line 402) | type ILogArgvTypeWithError = ILogArgvType | Error
  type IMiniWindowPos (line 404) | interface IMiniWindowPos {
  type PromiseResType (line 411) | type PromiseResType<T> = T extends Promise<infer R> ? R : T
  type II18nItem (line 415) | interface II18nItem {
  type IRemoteNotice (line 420) | interface IRemoteNotice {
  type IRemoteNoticeAction (line 429) | interface IRemoteNoticeAction {
  type IRemoteNoticeButton (line 448) | interface IRemoteNoticeButton {
  type IRemoteNoticeLocalCountStorage (line 455) | interface IRemoteNoticeLocalCountStorage {
  type IUploaderListItemMetaInfo (line 459) | interface IUploaderListItemMetaInfo {
  type IUploaderConfig (line 466) | interface IUploaderConfig {
  type IUploaderConfigItem (line 470) | interface IUploaderConfigItem {
  type IUploaderConfigListItem (line 475) | type IUploaderConfigListItem = IStringKeyMap & IUploaderListItemMetaInfo
  type ISwitchValueType (line 477) | type ISwitchValueType = boolean | string | number

FILE: src/universal/types/view.d.ts
  type ISettingForm (line 1) | interface ISettingForm {
  type IShortKeyMap (line 30) | interface IShortKeyMap {
  type IToolboxItem (line 34) | interface IToolboxItem {
  type IToolboxMap (line 44) | type IToolboxMap = {
  type IFormInstance (line 48) | interface IFormInstance {

FILE: src/universal/utils/common.ts
  type IParseNewlineSeparatedUrlsResult (line 3) | interface IParseNewlineSeparatedUrlsResult {
  type IParseNewlineSeparatedUrlsOptions (line 8) | interface IParseNewlineSeparatedUrlsOptions {

FILE: src/universal/utils/static.ts
  constant CLIPBOARD_IMAGE_FOLDER (line 1) | const CLIPBOARD_IMAGE_FOLDER = 'picgo-clipboard-images'
  constant FORM_IMAGE_FOLDER (line 2) | const FORM_IMAGE_FOLDER = 'picgo-form-images'
  constant RELEASE_URL (line 3) | const RELEASE_URL = 'https://api.github.com/repos/Molunerfinn/PicGo/rele...
  constant RELEASE_URL_BACKUP (line 4) | const RELEASE_URL_BACKUP = 'https://release.picgo.app'
  constant STABLE_RELEASE_URL (line 5) | const STABLE_RELEASE_URL = 'https://github.com/Molunerfinn/PicGo/release...
  constant BETA_RELEASE_URL (line 6) | const BETA_RELEASE_URL = 'https://github.com/Molunerfinn/PicGo/releases'
Condensed preview — 219 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (748K chars).
[
  {
    "path": ".github/FUNDING.yml",
    "chars": 24,
    "preview": "github: [\"Molunerfinn\"]\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/config.yml",
    "chars": 27,
    "preview": "blank_issues_enabled: false"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.yml",
    "chars": 2029,
    "preview": "name: \"✨ Feature Request\"\ndescription: 功能请求 / Feature request\ntitle: \"[Feature]: \"\nlabels: [\"feature request\"]\nassignees"
  },
  {
    "path": ".github/workflows/issue-duplicate-detection.yml",
    "chars": 3128,
    "preview": "name: Issue Duplicate Detection\n\non:\n  issues:\n    types:\n      - opened\n      - edited\n      - reopened\n\npermissions:\n "
  },
  {
    "path": ".github/workflows/main.yml",
    "chars": 12158,
    "preview": "name: Build & Release\n\non:\n  push:\n    tags:\n      - v*\n  workflow_dispatch:\n    inputs:\n      release_tag:\n        desc"
  },
  {
    "path": ".gitignore",
    "chars": 386,
    "preview": ".DS_Store\ndist/electron/*\ndist/web/*\nbuild/*\n!build/icons\n!build/installer.nsh\n!build/entitlements.mac.plist\ncoverage\nno"
  },
  {
    "path": ".husky/commit-msg",
    "chars": 21,
    "preview": "pnpm commitlint ${1}\n"
  },
  {
    "path": ".husky/pre-commit",
    "chars": 11,
    "preview": "pnpm check\n"
  },
  {
    "path": ".husky/pre-push",
    "chars": 9,
    "preview": "pnpm test"
  },
  {
    "path": ".node-version",
    "chars": 3,
    "preview": "22\n"
  },
  {
    "path": ".npmrc",
    "chars": 21,
    "preview": "shamefully-hoist=true"
  },
  {
    "path": ".travis.deprecated.yml",
    "chars": 1476,
    "preview": "# Commented sections below can be used to run tests on the CI server\n# https://simulatedgreg.gitbooks.io/electron-vue/co"
  },
  {
    "path": ".vscode/launch.json",
    "chars": 1018,
    "preview": "{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Electron: Main\",\n      \"type\": \"node\",\n      \"request"
  },
  {
    "path": ".vscode/settings.json",
    "chars": 883,
    "preview": "{\n  \"eslint.enable\": true,\n  \"eslint.alwaysShowStatus\": true,\n  \"eslint.format.enable\": true,\n  \"eslint.validate\": [\n   "
  },
  {
    "path": ".vscode/tasks.json",
    "chars": 740,
    "preview": "{\n  // See https://go.microsoft.com/fwlink/?LinkId=733558\n  // for the documentation about the tasks.json format\n  \"vers"
  },
  {
    "path": "AGENTS.md",
    "chars": 5620,
    "preview": "# Repository Guidelines\n\n## Project Structure & Module Organization\nPicGo is an Electron + Vue 3 desktop client. Source "
  },
  {
    "path": "CHANGELOG.md",
    "chars": 41858,
    "preview": "## :tada: 2.5.3 (2026-03-06)\n\n\n### :bug: Bug Fixes\n\n* **plugin:** refresh plugin config dialog state ([#1395](https://gi"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 973,
    "preview": "## 贡献指南\n\n### 安装与启动\n\n1. 使用 [yarn](https://yarnpkg.com/) 安装依赖\n\n```bash\nyarn install\n```\n\n然后通过\n\n```bash\nyarn dev\n```\n\n启动项目。"
  },
  {
    "path": "CONTRIBUTING_EN.md",
    "chars": 1833,
    "preview": "## Contribution Guidelines\n\n### Installation and startup\n\n1. Use [yarn](https://yarnpkg.com/) to install dependencies\n\n`"
  },
  {
    "path": "FAQ.md",
    "chars": 9852,
    "preview": "## Frequently Asked Questions / 常见问题\n\n> While using PicGo you may run into various issues. Many of them have already bee"
  },
  {
    "path": "LICENSE",
    "chars": 1086,
    "preview": "The MIT License (MIT)\n\nCopyright (c) 2017-present, Molunerfinn\n\nPermission is hereby granted, free of charge, to any per"
  },
  {
    "path": "README.md",
    "chars": 9586,
    "preview": "<div align=\"center\" markdown=\"1\">\n  <sup>Special thanks to:</sup>\n  <br>\n  <a href=\"https://go.warp.dev/picgo\">\n    <img"
  },
  {
    "path": "README_zh-CN.md",
    "chars": 7770,
    "preview": "<div align=\"center\" markdown=\"1\">\n  <sup>Special thanks to:</sup>\n  <br>\n  <a href=\"https://go.warp.dev/picgo\">\n    <img"
  },
  {
    "path": "babel.config.js",
    "chars": 130,
    "preview": "module.exports = {\n  presets: [\n    '@vue/cli-plugin-babel/preset'\n  ],\n  plugins: ['@babel/plugin-proposal-optional-cha"
  },
  {
    "path": "build/entitlements.mac.plist",
    "chars": 534,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
  },
  {
    "path": "build/installer.nsh",
    "chars": 569,
    "preview": "!macro customInstall\n   SetRegView 64\n   WriteRegStr HKCR \"*\\shell\\PicGo\" \"\" \"Upload pictures w&ith PicGo\"\n   WriteRegSt"
  },
  {
    "path": "changelog/2.4.0.md",
    "chars": 7460,
    "preview": "# PicGo 2.4.0 Changelog\n\n## Features\n- Add filename display in the gallery (#1050)\n  - Add default placeholders when ima"
  },
  {
    "path": "changelog/2.4.1.md",
    "chars": 1323,
    "preview": "# PicGo 2.4.1 Changelog\n\n## Features\n\n- Add `showMenubarIcon` setting to control the visibility of the macOS menu bar ic"
  },
  {
    "path": "changelog/2.4.2.md",
    "chars": 1367,
    "preview": "# PicGo 2.4.2 Changelog\n\n## Features\n- New: macOS version with signature && notarization. No more manual handling\n  <img"
  },
  {
    "path": "changelog/2.4.3.md",
    "chars": 597,
    "preview": "# PicGo 2.4.3 Changelog\n\n## Features\n- Add: Batch URL upload support (#1376). See #1302 for details\n- Add: [Global URL r"
  },
  {
    "path": "changelog/2.5.1.md",
    "chars": 483,
    "preview": "# PicGo 2.5.1 Changelog\n\n## Features\n- Update: Bump `picgo` dependency to `^2.0.1` to support legacy `sm.ms` migrate to "
  },
  {
    "path": "changelog/2.5.2.md",
    "chars": 233,
    "preview": "# PicGo 2.5.2 Changelog\n\n## Bug Fixes\n- Fix: Resolve `s.ee` compatibility issues that could report upload failure even w"
  },
  {
    "path": "changelog/2.5.3.md",
    "chars": 649,
    "preview": "# PicGo 2.5.3 Changelog\n\n## Bug Fixes\n- Fix: Plugin configuration dialogs now refresh correctly when switching between p"
  },
  {
    "path": "changelog/gen_changelog.md",
    "chars": 3561,
    "preview": "# gen_changelog.md\n\nThis guide describes how to generate a consolidated changelog for any PicGo release series (e.g., 2."
  },
  {
    "path": "electron-builder.config.ts",
    "chars": 2346,
    "preview": "import type { Configuration } from 'electron-builder'\nimport dotenv from 'dotenv'\n \ndotenv.config()\n\nconst shouldNotariz"
  },
  {
    "path": "electron.vite.config.ts",
    "chars": 1428,
    "preview": "import { defineConfig, externalizeDepsPlugin } from 'electron-vite'\nimport vue from '@vitejs/plugin-vue'\n// temp for web"
  },
  {
    "path": "eslint.config.js",
    "chars": 3999,
    "preview": "const globals = require('globals')\nconst path = require('node:path')\nconst eslintJs = require('@eslint/js')\nconst tsPlug"
  },
  {
    "path": "package.json",
    "chars": 4589,
    "preview": "{\n  \"name\": \"picgo\",\n  \"version\": \"2.5.3\",\n  \"private\": true,\n  \"main\": \"dist_electron/main/index.js\",\n  \"description\": "
  },
  {
    "path": "pnpm-workspace.yaml",
    "chars": 354,
    "preview": "onlyBuiltDependencies:\n  - core-js\n  - ejs\n  - electron\n  - electron-winstaller\n  - esbuild\n  - husky\n  - vue-demi\n\n# fo"
  },
  {
    "path": "postcss.config.js",
    "chars": 80,
    "preview": "module.exports = {\n  plugins: {\n    autoprefixer: {},\n    tailwindcss: {}\n  }\n}\n"
  },
  {
    "path": "public/Upload pictures with PicGo.workflow/Contents/Info.plist",
    "chars": 854,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
  },
  {
    "path": "public/Upload pictures with PicGo.workflow/Contents/document.wflow",
    "chars": 11353,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
  },
  {
    "path": "public/i18n/en.yml",
    "chars": 18467,
    "preview": "LANG_DISPLAY_LABEL: \"English\"\nABOUT: About\nOPEN_MAIN_WINDOW: Open Main Window\nCHOOSE_DEFAULT_PICBED: Choose Default Picb"
  },
  {
    "path": "public/i18n/zh-CN.yml",
    "chars": 13077,
    "preview": "LANG_DISPLAY_LABEL: 中文\nABOUT: 关于\nOPEN_MAIN_WINDOW: 打开主窗口\nCHOOSE_DEFAULT_PICBED: 选择默认图床\nOPEN_UPDATE_HELPER: 打开更新助手\nPRIVAC"
  },
  {
    "path": "public/i18n/zh-TW.yml",
    "chars": 13102,
    "preview": "LANG_DISPLAY_LABEL: 繁體中文\nABOUT: 關於\nOPEN_MAIN_WINDOW: 打開主視窗\nCHOOSE_DEFAULT_PICBED: 選擇預設圖床\nOPEN_UPDATE_HELPER: 開啟更新助手\nPRIV"
  },
  {
    "path": "public/index.html",
    "chars": 569,
    "preview": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"referrer\" content=\"never\">\n    <met"
  },
  {
    "path": "public/linux.sh",
    "chars": 1251,
    "preview": "#!/bin/sh\nif [ \"$XDG_SESSION_TYPE\" = \"x11\" ]; then\n  # require xclip(see http://stackoverflow.com/questions/592620/check"
  },
  {
    "path": "public/windows.ps1",
    "chars": 682,
    "preview": "\nparam($imagePath)\n\n# Adapted from https://github.com/octan3/img-clipboard-dump/blob/master/dump-clipboard-png.ps1\n\nAdd-"
  },
  {
    "path": "public/windows10.ps1",
    "chars": 1147,
    "preview": "# Adapted from https://github.com/octan3/img-clipboard-dump/blob/master/dump-clipboard-png.ps1\nparam($imagePath)\n\n# http"
  },
  {
    "path": "public/wsl.sh",
    "chars": 660,
    "preview": "#!/bin/sh\n# grab the paths\nscriptPath=$(echo $0 | awk '{ print substr( $0, 1, length($0)-6 ) }')\"windows10.ps1\"\nimagePat"
  },
  {
    "path": "scripts/config.js",
    "chars": 1265,
    "preview": "// different platform has different format\n\n// macos (dmg, x64 + arm64)\nconst darwin = [{\n  appNameWithPrefix: 'PicGo',\n"
  },
  {
    "path": "scripts/cos-link.js",
    "chars": 1219,
    "preview": "const pkg = require('../package.json')\nconst version = pkg.version\n\nconst generateURL = (arch, ext, prefix = 'PicGo-') ="
  },
  {
    "path": "scripts/gen-i18n-types.js",
    "chars": 683,
    "preview": "/* eslint-disable @stylistic/indent */\nconst yaml = require('js-yaml')\nconst path = require('path')\nconst fs = require('"
  },
  {
    "path": "scripts/merge-artifacts.js",
    "chars": 4723,
    "preview": "/**\n * Merge artifacts from different platforms and architectures\n * Also merge latest*.yml files for electron-updater\n "
  },
  {
    "path": "scripts/notarize.js",
    "chars": 953,
    "preview": "require('dotenv').config()\n\nconst { notarize } = require('@electron/notarize')\nconst { APPLE_ID, APPLE_TEAM_ID, APPLE_AP"
  },
  {
    "path": "scripts/update-win-yaml.js",
    "chars": 2264,
    "preview": "const fs = require('fs')\nconst path = require('path')\nconst crypto = require('crypto')\nconst yaml = require('js-yaml')\n\n"
  },
  {
    "path": "scripts/upload-dist.js",
    "chars": 5353,
    "preview": "// upload dist bundled-app to r2\n// upload version file to cos\n\nrequire('dotenv').config()\nconst fs = require('fs')\ncons"
  },
  {
    "path": "src/__tests__/main/cloud-config-sync.spec.ts",
    "chars": 5504,
    "preview": "import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'\nimport type { IpcMainInvokeEvent } from 'electr"
  },
  {
    "path": "src/__tests__/main/getLatestVersion.spec.ts",
    "chars": 3012,
    "preview": "import { beforeEach, describe, expect, it, vi } from 'vitest'\nimport { RELEASE_URL, RELEASE_URL_BACKUP } from '#/utils/s"
  },
  {
    "path": "src/__tests__/main/server.spec.ts",
    "chars": 9347,
    "preview": "import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'\nimport fs from 'fs-extra'\nimport os from 'node:"
  },
  {
    "path": "src/__tests__/renderer/store/appConfig.spec.ts",
    "chars": 1581,
    "preview": "import { beforeEach, describe, expect, it, vi } from 'vitest'\nimport { createApp } from 'vue'\nimport type { IConfig } fr"
  },
  {
    "path": "src/__tests__/renderer/utils/dataSender.spec.ts",
    "chars": 824,
    "preview": "import { beforeEach, describe, expect, it, vi } from 'vitest'\nimport { saveConfig } from '@/utils/dataSender'\nimport { P"
  },
  {
    "path": "src/__tests__/universal/utils/common.spec.ts",
    "chars": 2989,
    "preview": "import { describe, expect, it } from 'vitest'\n\nimport { extractHttpUrlsFromText, parseNewlineSeparatedUrls } from '../.."
  },
  {
    "path": "src/background.ts",
    "chars": 681,
    "preview": "import { initStaticPath } from '~/main/utils/env'\nimport { bootstrap } from '~/main/lifeCycle'\n\ninitStaticPath()\nbootstr"
  },
  {
    "path": "src/main/apis/README.md",
    "chars": 290,
    "preview": "# apis folder\n\n## core\n\nThe lowest level APIs that are not dependent on each other. The upper APIs depend on them.\n\n## a"
  },
  {
    "path": "src/main/apis/app/remoteNotice/index.ts",
    "chars": 6724,
    "preview": "// get notice from remote\n// such as some notices for users; some updates for users\nimport fs from 'fs-extra'\nimport { a"
  },
  {
    "path": "src/main/apis/app/shortKey/builtin.ts",
    "chars": 232,
    "preview": "import { SHORTKEY_COMMAND_UPLOAD } from '../../core/bus/constants'\nimport { uploadClipboardFiles } from '../uploader/api"
  },
  {
    "path": "src/main/apis/app/shortKey/shortKeyHandler.ts",
    "chars": 6555,
    "preview": "import bus from '@core/bus'\nimport {\n  globalShortcut\n} from 'electron'\nimport logger from '@core/picgo/logger'\nimport G"
  },
  {
    "path": "src/main/apis/app/shortKey/shortKeyService.ts",
    "chars": 650,
    "preview": "import logger from '@core/picgo/logger'\nclass ShortKeyService {\n  private commandList: Map<string, IShortKeyHandler> = n"
  },
  {
    "path": "src/main/apis/app/system/index.ts",
    "chars": 10183,
    "preview": "import {\n  app,\n  Menu,\n  Tray,\n  dialog,\n  clipboard,\n  nativeTheme\n} from 'electron'\nimport uploader from 'apis/app/up"
  },
  {
    "path": "src/main/apis/app/uploader/apis.ts",
    "chars": 3495,
    "preview": "import {\n  WebContents\n} from 'electron'\nimport windowManager from 'apis/app/window/windowManager'\nimport { IPasteStyle,"
  },
  {
    "path": "src/main/apis/app/uploader/index.ts",
    "chars": 5326,
    "preview": "import {\n  BrowserWindow,\n  ipcMain,\n  WebContents,\n  clipboard\n} from 'electron'\nimport dayjs from 'dayjs'\nimport picgo"
  },
  {
    "path": "src/main/apis/app/window/constants.ts",
    "chars": 371,
    "preview": "import { buildRendererUrl } from '~/main/utils/env'\n\nexport const TRAY_WINDOW_URL = buildRendererUrl()\n\nexport const SET"
  },
  {
    "path": "src/main/apis/app/window/windowList.ts",
    "chars": 6650,
    "preview": "// import path from 'path'\nimport {\n  SETTING_WINDOW_URL,\n  TRAY_WINDOW_URL,\n  MINI_WINDOW_URL,\n  RENAME_WINDOW_URL,\n  T"
  },
  {
    "path": "src/main/apis/app/window/windowManager.ts",
    "chars": 2307,
    "preview": "import {\n  BrowserWindow\n} from 'electron'\nimport windowList from './windowList'\nimport { IWindowList } from '#/types/en"
  },
  {
    "path": "src/main/apis/core/bus/apis.ts",
    "chars": 1727,
    "preview": "import bus from '.'\nimport {\n  UPLOAD_WITH_FILES,\n  UPLOAD_WITH_FILES_RESPONSE,\n  UPLOAD_WITH_CLIPBOARD_FILES,\n  UPLOAD_"
  },
  {
    "path": "src/main/apis/core/bus/constants.ts",
    "chars": 774,
    "preview": "export const GET_WINDOW_ID = 'GET_WINDOW_ID' // get a current window\nexport const GET_WINDOW_ID_RESPONSE = 'GET_WINDOW_I"
  },
  {
    "path": "src/main/apis/core/bus/index.ts",
    "chars": 90,
    "preview": "import { EventEmitter } from 'events'\n\nconst bus = new EventEmitter()\n\nexport default bus\n"
  },
  {
    "path": "src/main/apis/core/datastore/dbChecker.ts",
    "chars": 4294,
    "preview": "import fs from 'fs-extra'\nimport writeFile from 'write-file-atomic'\nimport path from 'path'\nimport { getLogger } from '@"
  },
  {
    "path": "src/main/apis/core/datastore/index.ts",
    "chars": 508,
    "preview": "import path from 'path'\nimport fs from 'fs-extra'\nimport { DBStore } from '@picgo/store'\nimport { getGalleryDBPath } fro"
  },
  {
    "path": "src/main/apis/core/picgo/index.ts",
    "chars": 787,
    "preview": "import { dbChecker, dbPathChecker } from 'apis/core/datastore/dbChecker'\nimport { shell } from 'electron'\nimport pkg fro"
  },
  {
    "path": "src/main/apis/core/picgo/logger.ts",
    "chars": 71,
    "preview": "import picgo from '.'\n\nconst logger = picgo.log\n\nexport default logger\n"
  },
  {
    "path": "src/main/apis/core/utils/localLogger.ts",
    "chars": 2239,
    "preview": "import fs from 'fs-extra'\nimport dayjs from 'dayjs'\nimport util from 'util'\n\nconst checkLogFileIsLarge = (logPath: strin"
  },
  {
    "path": "src/main/apis/gui/index.ts",
    "chars": 6239,
    "preview": "import {\n  dialog,\n  BrowserWindow,\n  ipcMain\n} from 'electron'\nimport picgo from '@core/picgo'\nimport { GalleryDB } fro"
  },
  {
    "path": "src/main/events/busEventList.ts",
    "chars": 1655,
    "preview": "import bus from '@core/bus'\nimport {\n  uploadClipboardFiles,\n  uploadSelectedFiles\n} from 'apis/app/uploader/apis'\nimpor"
  },
  {
    "path": "src/main/events/ipcList.ts",
    "chars": 7412,
    "preview": "import {\n  app,\n  ipcMain,\n  shell,\n  IpcMainEvent,\n  BrowserWindow\n} from 'electron'\nimport windowManager from 'apis/ap"
  },
  {
    "path": "src/main/events/picgoCoreIPC.ts",
    "chars": 13369,
    "preview": "import path from 'path'\nimport GuiApi from 'apis/gui'\nimport {\n  dialog,\n  shell,\n  IpcMainEvent,\n  ipcMain,\n  clipboard"
  },
  {
    "path": "src/main/events/remotes/menu.ts",
    "chars": 7444,
    "preview": "import windowManager from 'apis/app/window/windowManager'\nimport { IWindowList } from '#/types/enum'\nimport { Menu, Brow"
  },
  {
    "path": "src/main/events/remotes/picBedListMenu.ts",
    "chars": 2459,
    "preview": "import windowManager from 'apis/app/window/windowManager'\nimport { IWindowList } from '#/types/enum'\nimport { Menu } fro"
  },
  {
    "path": "src/main/events/rpc/index.ts",
    "chars": 2531,
    "preview": "import { ipcMain, IpcMainEvent, IpcMainInvokeEvent } from 'electron'\nimport { IRPCActionType } from '~/universal/types/e"
  },
  {
    "path": "src/main/events/rpc/router.ts",
    "chars": 318,
    "preview": "import { IRPCActionType } from '~/universal/types/enum'\n\nexport class RPCRouter implements IRPCRouter {\n  private routeM"
  },
  {
    "path": "src/main/events/rpc/routes/cloud.ts",
    "chars": 19716,
    "preview": "import { IRPCActionType } from '~/universal/types/enum'\nimport { RPCRouter } from '../router'\nimport picgo from '@core/p"
  },
  {
    "path": "src/main/events/rpc/routes/config.ts",
    "chars": 3272,
    "preview": "import { IRPCActionType } from '~/universal/types/enum'\nimport { RPCRouter } from '../router'\nimport picgo from '@core/p"
  },
  {
    "path": "src/main/events/rpc/routes/galleryToolbox/builtIn/changeURL.ts",
    "chars": 7169,
    "preview": "import { logger } from '@picgo/i18n'\nimport { PicGoUtils, type IPicGo } from 'picgo'\nimport { T } from '~/main/i18n'\n\nin"
  },
  {
    "path": "src/main/events/rpc/routes/galleryToolbox/builtIn/index.ts",
    "chars": 183,
    "preview": "import { galleryMenu as changeURLGalleryMenu } from './changeURL'\nexport const builtInGalleryToolboxMenu = () => {\n  con"
  },
  {
    "path": "src/main/events/rpc/routes/galleryToolbox/index.ts",
    "chars": 615,
    "preview": "import { IRPCActionType, IWindowList } from '~/universal/types/enum'\nimport { RPCRouter } from '../../router'\nimport win"
  },
  {
    "path": "src/main/events/rpc/routes/galleryToolbox/menuListManager.ts",
    "chars": 1531,
    "preview": "import { Menu, MenuItemConstructorOptions } from 'electron'\nimport { builtInGalleryToolboxMenu } from './builtIn'\nimport"
  },
  {
    "path": "src/main/events/rpc/routes/system.ts",
    "chars": 1768,
    "preview": "import { IRPCActionType, IWindowList } from '~/universal/types/enum'\nimport { RPCRouter } from '../router'\nimport { app,"
  },
  {
    "path": "src/main/events/rpc/routes/toolbox/checkClipboardUpload.ts",
    "chars": 2794,
    "preview": "import fs from 'fs-extra'\nimport path from 'path'\nimport { dbPathChecker, defaultConfigPath } from '~/main/apis/core/dat"
  },
  {
    "path": "src/main/events/rpc/routes/toolbox/checkFile.ts",
    "chars": 2791,
    "preview": "import fs from 'fs-extra'\nimport { IToolboxItemCheckStatus, IToolboxItemType } from '~/universal/types/enum'\nimport { se"
  },
  {
    "path": "src/main/events/rpc/routes/toolbox/checkProxy.ts",
    "chars": 2810,
    "preview": "import fs from 'fs-extra'\nimport { IToolboxItemCheckStatus, IToolboxItemType } from '~/universal/types/enum'\nimport { se"
  },
  {
    "path": "src/main/events/rpc/routes/toolbox/index.ts",
    "chars": 1297,
    "preview": "import { IRPCActionType, IToolboxItemType } from '~/universal/types/enum'\nimport { RPCRouter } from '../../router'\nimpor"
  },
  {
    "path": "src/main/events/rpc/routes/toolbox/utils.ts",
    "chars": 383,
    "preview": "import type { IpcMainEvent, IpcMainInvokeEvent } from 'electron'\nimport { IRPCActionType, IToolboxItemType } from '~/uni"
  },
  {
    "path": "src/main/events/rpc/routes/version.ts",
    "chars": 421,
    "preview": "import { IRPCActionType } from '~/universal/types/enum'\nimport { RPCRouter } from '../router'\nimport { getLatestVersion "
  },
  {
    "path": "src/main/events/rpc/utils.ts",
    "chars": 721,
    "preview": "const errorToMessage = (e: unknown): string => {\n  if (e instanceof Error) return e.message\n  return String(e)\n}\n\nexport"
  },
  {
    "path": "src/main/i18n/index.ts",
    "chars": 2647,
    "preview": "import yaml from 'js-yaml'\nimport { ObjectAdapter, I18n } from '@picgo/i18n'\nimport path from 'path'\nimport fs from 'fs-"
  },
  {
    "path": "src/main/lifeCycle/errorHandler.ts",
    "chars": 1042,
    "preview": "import path from 'path'\nimport { app } from 'electron'\nimport { getLogger } from 'apis/core/utils/localLogger'\nconst STO"
  },
  {
    "path": "src/main/lifeCycle/fixPath.ts",
    "chars": 467,
    "preview": "// TODO: so how to import pure esm module in electron main process????? help wanted\n\n// just copy the fix-path because I"
  },
  {
    "path": "src/main/lifeCycle/index.ts",
    "chars": 6603,
    "preview": "import './errorHandler'\nimport {\n  app,\n  globalShortcut,\n  protocol\n} from 'electron'\nimport installExtension, { VUEJS_"
  },
  {
    "path": "src/main/migrate/index.ts",
    "chars": 2188,
    "preview": "import { DBStore } from '@picgo/store'\nimport path from 'path'\nimport fse from 'fs-extra'\nimport { PicGo as PicGoCore } "
  },
  {
    "path": "src/main/server/handler.ts",
    "chars": 4310,
    "preview": "import logger from '@core/picgo/logger'\nimport windowManager from 'apis/app/window/windowManager'\nimport { uploadClipboa"
  },
  {
    "path": "src/main/server/index.ts",
    "chars": 1648,
    "preview": "import picgo from '@core/picgo'\nimport logger from '@core/picgo/logger'\nimport { uploadHandler } from './handler'\n\nclass"
  },
  {
    "path": "src/main/server/utils.ts",
    "chars": 1203,
    "preview": "import { randomUUID } from 'node:crypto'\n\nexport type UploadResponseBody = {\n  success: boolean\n  result: string[]\n  mes"
  },
  {
    "path": "src/main/utils/appConfigNotifier.ts",
    "chars": 505,
    "preview": "import { APP_CONFIG_UPDATED } from '#/events/constants'\nimport { IWindowList } from '#/types/enum'\nimport windowManager "
  },
  {
    "path": "src/main/utils/beforeOpen.ts",
    "chars": 3658,
    "preview": "import fs from 'fs-extra'\nimport path from 'path'\nimport os from 'os'\nimport { dbPathChecker } from 'apis/core/datastore"
  },
  {
    "path": "src/main/utils/cleanupFormUploaderFiles.ts",
    "chars": 1040,
    "preview": "import path from 'path'\nimport fs from 'fs-extra'\nimport { getFormImageFolderPath } from '@core/datastore/dbChecker'\nimp"
  },
  {
    "path": "src/main/utils/common.ts",
    "chars": 4855,
    "preview": "import fs from 'fs-extra'\nimport logger from '@core/picgo/logger'\nimport { clipboard, Notification, dialog } from 'elect"
  },
  {
    "path": "src/main/utils/constants.ts",
    "chars": 56,
    "preview": "export const MB = 1024 * 1024\nexport const SECOND = 1000"
  },
  {
    "path": "src/main/utils/dataReport.ts",
    "chars": 4718,
    "preview": "import { ipcMain, IpcMainEvent, type WebContents } from \"electron\"\nimport { deviceIdManager } from \"./deviceId\"\nimport {"
  },
  {
    "path": "src/main/utils/deviceId.ts",
    "chars": 1704,
    "preview": "import { networkInterfaceDefault } from 'systeminformation'\nimport { md5 } from './common'\nimport writeFile from 'write-"
  },
  {
    "path": "src/main/utils/env.ts",
    "chars": 1073,
    "preview": "import path from 'path'\nimport { app } from 'electron'\nimport { pathToFileURL } from 'url'\n\nexport const isDev = !app.is"
  },
  {
    "path": "src/main/utils/getLatestVersion.ts",
    "chars": 2771,
    "preview": "// for referer policy, we can't use it in renderer\nimport axios from 'axios'\nimport { RELEASE_URL, RELEASE_URL_BACKUP } "
  },
  {
    "path": "src/main/utils/getMacOSVersion.ts",
    "chars": 2065,
    "preview": "// fork from https://github.com/sindresorhus/macos-version\n// cause I can't change it to common-js module\nimport process"
  },
  {
    "path": "src/main/utils/getPicBeds.ts",
    "chars": 639,
    "preview": "import picgo from '@core/picgo'\n\nconst getPicBeds = () => {\n  const picBedTypes = picgo.helper.uploader.getIdList()\n  co"
  },
  {
    "path": "src/main/utils/handleArgv.ts",
    "chars": 1538,
    "preview": "import path from 'path'\nimport fs from 'fs-extra'\nimport { Logger } from 'picgo'\nimport { isUrl } from '~/universal/util"
  },
  {
    "path": "src/main/utils/handleI18n.ts",
    "chars": 237,
    "preview": "import picgo from '@core/picgo'\nimport { i18nManager } from '~/main/i18n'\nexport const initI18n = () => {\n  const curren"
  },
  {
    "path": "src/main/utils/handleUploaderConfig.ts",
    "chars": 5297,
    "preview": "import { simpleClone, trimValues } from '#/utils/common'\nimport picgo from '@core/picgo'\nimport { v4 as uuid } from 'uui"
  },
  {
    "path": "src/main/utils/pasteTemplate.ts",
    "chars": 1083,
    "preview": "import { IPasteStyle } from '#/types/enum'\nimport { handleUrlEncodeWithSetting } from './common'\n\nconst formatCustomLink"
  },
  {
    "path": "src/main/utils/privacyManager.ts",
    "chars": 958,
    "preview": "import picgo from '@core/picgo'\nimport { showMessageBox } from '~/main/utils/common'\nimport { T } from '~/main/i18n'\n\ncl"
  },
  {
    "path": "src/main/utils/updateChecker.ts",
    "chars": 2041,
    "preview": "import { dialog, shell } from 'electron'\nimport picgo from '@core/picgo'\nimport pkg from 'root/package.json'\nimport { lt"
  },
  {
    "path": "src/preload/index.ts",
    "chars": 318,
    "preview": "// temp no used\n// will be refactor in future\nimport { contextBridge, webUtils } from 'electron'\n\nconst getFilePath = (f"
  },
  {
    "path": "src/renderer/App.vue",
    "chars": 1252,
    "preview": "<template>\n  <div id=\"app\">\n    <router-view />\n  </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useStore } from "
  },
  {
    "path": "src/renderer/assets/.gitkeep",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/renderer/assets/css/tailwind.css",
    "chars": 58,
    "preview": "@tailwind base;\n@tailwind components;\n@tailwind utilities;"
  },
  {
    "path": "src/renderer/assets/fonts/iconfont.css",
    "chars": 4480,
    "preview": "\n@font-face {font-family: \"iconfont\";\n  src: url('iconfont.eot?t=1523001890286'); /* IE9*/\n  src: url('iconfont.eot?t=15"
  },
  {
    "path": "src/renderer/components/ConfigForm.vue",
    "chars": 3813,
    "preview": "<template>\n  <div\n    id=\"config-form\"\n    :class=\"props.colorMode === 'white' ? 'white' : ''\"\n  >\n    <BaseConfigForm\n "
  },
  {
    "path": "src/renderer/components/ToolboxHandler.vue",
    "chars": 570,
    "preview": "<template>\n  <div class=\"toolbox-handler\">\n    <ElButton\n      type=\"text\"\n      @click=\"() => props.handler(value)\"\n   "
  },
  {
    "path": "src/renderer/components/ToolboxStatusIcon.vue",
    "chars": 1120,
    "preview": "<template>\n  <el-icon\n    :color=\"color\"\n    class=\"toolbox-status-icon\"\n  >\n    <template v-if=\"props.status === IToolb"
  },
  {
    "path": "src/renderer/components/dialog/ConfigFormDialog.vue",
    "chars": 1759,
    "preview": "<template>\n  <div class=\"\">\n    <ConfirmDialog\n      v-model=\"visible\"\n      :title=\"title\"\n      :width=\"width\"\n      @"
  },
  {
    "path": "src/renderer/components/dialog/ConfirmDialog.vue",
    "chars": 1728,
    "preview": "<template>\n  <ElDialog\n    v-model=\"visible\"\n    :title=\"title\"\n    :width=\"width + 'px'\"\n    :append-to-body=\"true\"\n   "
  },
  {
    "path": "src/renderer/components/dialog/InputBoxDialog.vue",
    "chars": 3716,
    "preview": "<template>\n  <el-dialog\n    v-model=\"showInputBoxVisible\"\n    :title=\"inputBoxOptions.title || $T('INPUT')\"\n    :append-"
  },
  {
    "path": "src/renderer/components/form/BaseConfigForm.vue",
    "chars": 4229,
    "preview": "<template>\n  <div\n    id=\"base-config-form\"\n    :class=\"theme ?? 'dark'\"\n  >\n    <el-form\n      ref=\"$form\"\n      label-"
  },
  {
    "path": "src/renderer/components/picgoCloud/ConfigSyncConflictDialog.vue",
    "chars": 13530,
    "preview": "<template>\n  <el-dialog\n    v-model=\"visible\"\n    :close-on-click-modal=\"false\"\n    :close-on-press-escape=\"false\"\n    :"
  },
  {
    "path": "src/renderer/components/settings/ButtonFormItem.vue",
    "chars": 528,
    "preview": "<template>\n  <el-form-item\n    :label=\"label\"\n  >\n    <el-button\n      type=\"primary\"\n      round\n      size=\"small\"\n   "
  },
  {
    "path": "src/renderer/components/settings/SelectFormItem.vue",
    "chars": 1053,
    "preview": "<template>\n  <el-form\n    label-position=\"left\"\n    label-width=\"50%\"\n    size=\"small\"\n  >\n    <el-form-item\n      :labe"
  },
  {
    "path": "src/renderer/components/settings/SwitchFormItem.vue",
    "chars": 1842,
    "preview": "<template>\n  <el-form-item>\n    <template #label>\n      <el-row align=\"middle\">\n        {{ props.label }}\n        <templ"
  },
  {
    "path": "src/renderer/hooks/useATagClick.ts",
    "chars": 489,
    "preview": "import { openURL } from '@/utils/common'\nimport { onMounted, onUnmounted } from 'vue'\n\nexport function useATagClick () {"
  },
  {
    "path": "src/renderer/hooks/useConfigForm.ts",
    "chars": 1246,
    "preview": "import { cloneDeep, union } from 'lodash'\n/**\n *\n * @param configList origin config list\n * @param formModel el-form for"
  },
  {
    "path": "src/renderer/hooks/useIPC.ts",
    "chars": 829,
    "preview": "import { ipcRenderer } from 'electron'\nimport { onUnmounted } from 'vue'\nimport { IRPCActionType } from '~/universal/typ"
  },
  {
    "path": "src/renderer/hooks/useOS.ts",
    "chars": 176,
    "preview": "import { onBeforeMount, ref } from 'vue'\n\nexport const useOS = () => {\n  const os = ref<string>('')\n\n  onBeforeMount(() "
  },
  {
    "path": "src/renderer/hooks/useStore.ts",
    "chars": 133,
    "preview": "import { inject } from 'vue'\nimport { storeKey } from '@/store'\n\nexport const useStore = () => {\n  return inject(storeKe"
  },
  {
    "path": "src/renderer/hooks/useVModel.ts",
    "chars": 377,
    "preview": "import { computed, getCurrentInstance } from 'vue'\n\nexport type VModelObject = object\n\n/**\n * v-model for single prop\n *"
  },
  {
    "path": "src/renderer/hooks/useVModelValues.ts",
    "chars": 683,
    "preview": "import { getCurrentInstance, reactive, UnwrapNestedRefs, watch } from 'vue'\n\n/**\n * v-model for multiple props\n */\nexpor"
  },
  {
    "path": "src/renderer/i18n/index.ts",
    "chars": 1731,
    "preview": "import { ipcRenderer } from 'electron'\nimport { ObjectAdapter, I18n } from '@picgo/i18n'\nimport { GET_CURRENT_LANGUAGE, "
  },
  {
    "path": "src/renderer/index.html",
    "chars": 436,
    "preview": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"referrer\" content=\"never\" />\n    "
  },
  {
    "path": "src/renderer/layouts/Main.vue",
    "chars": 12057,
    "preview": "<template>\n  <div id=\"main-page\">\n    <div\n      class=\"fake-title-bar\"\n    >\n      <div class=\"fake-title-bar__title\">\n"
  },
  {
    "path": "src/renderer/main.ts",
    "chars": 1526,
    "preview": "import './assets/css/tailwind.css'\nimport { createApp } from 'vue'\nimport { webFrame } from 'electron'\nimport App from '"
  },
  {
    "path": "src/renderer/pages/Gallery.vue",
    "chars": 17030,
    "preview": "<template>\n  <div id=\"gallery-view\">\n    <div class=\"view-title\">\n      {{ $T('GALLERY') }} - {{ filterList.length }}\n  "
  },
  {
    "path": "src/renderer/pages/MiniPage.vue",
    "chars": 7068,
    "preview": "<template>\n  <div\n    id=\"mini-page\"\n    :style=\"{ backgroundImage: 'url(' + logo + ')' }\"\n    :class=\"{ linux: os === '"
  },
  {
    "path": "src/renderer/pages/PicGoCloud.vue",
    "chars": 19077,
    "preview": "<template>\n  <div id=\"picgo-cloud-page\">\n    <div class=\"view-title\">\n      {{ $T('PICGO_CLOUD_TITLE') }}\n    </div>\n   "
  },
  {
    "path": "src/renderer/pages/PicGoSetting.vue",
    "chars": 6703,
    "preview": "<template>\n  <div id=\"picgo-setting\">\n    <el-row\n      class=\"view-title\"\n      align=\"middle\"\n      justify=\"center\"\n "
  },
  {
    "path": "src/renderer/pages/Plugin.vue",
    "chars": 18354,
    "preview": "<template>\n  <div id=\"plugin-view\">\n    <div class=\"view-title\">\n      {{ $T('PLUGIN_SETTINGS') }} -\n      <el-tooltip\n "
  },
  {
    "path": "src/renderer/pages/RenamePage.vue",
    "chars": 2620,
    "preview": "<template>\n  <div class=\"p-[20px] flex flex-col justify-between\">\n    <el-form\n      ref=\"formRef\"\n      :model=\"form\"\n "
  },
  {
    "path": "src/renderer/pages/ShortKey.vue",
    "chars": 6421,
    "preview": "<template>\n  <div id=\"shortcut-page\">\n    <div class=\"view-title\">\n      {{ $T('SETTINGS_SET_SHORTCUT') }}\n    </div>\n  "
  },
  {
    "path": "src/renderer/pages/Toolbox.vue",
    "chars": 8256,
    "preview": "<template>\n  <div class=\"toolbox\">\n    <el-row>\n      <el-row\n        class=\"toolbox-header\"\n      >\n        <el-row>\n  "
  },
  {
    "path": "src/renderer/pages/TrayPage.vue",
    "chars": 6150,
    "preview": "<template>\n  <div id=\"tray-page\">\n    <div\n      class=\"open-main-window\"\n      @click=\"openSettingWindow\"\n    >\n      {"
  },
  {
    "path": "src/renderer/pages/Upload.vue",
    "chars": 11308,
    "preview": "<template>\n  <div id=\"upload-view\">\n    <el-row :gutter=\"16\">\n      <el-col\n        :span=\"20\"\n        :offset=\"2\"\n     "
  },
  {
    "path": "src/renderer/pages/UploaderConfigPage.vue",
    "chars": 8574,
    "preview": "<template>\n  <div\n    id=\"config-list-view\"\n    class=\"h-[425px]\"\n  >\n    <div class=\"view-title\">\n      {{ $T('SETTINGS"
  },
  {
    "path": "src/renderer/pages/UrlRewrite.vue",
    "chars": 16334,
    "preview": "<template>\n  <div id=\"url-rewrite-page\">\n    <div class=\"view-title\">\n      {{ $T('SETTINGS_URL_REWRITE') }}\n    </div>\n"
  },
  {
    "path": "src/renderer/pages/components/gallery/GalleryToolbar.vue",
    "chars": 2353,
    "preview": "<template>\n  <el-col :span=\"12\">\n    <div class=\"w-full flex justify-between gap-x-[6px]\">\n      <div\n        class=\"ite"
  },
  {
    "path": "src/renderer/pages/components/settings/buttonArea/ButtonAreaSettings.vue",
    "chars": 3488,
    "preview": "<template>\n  <ButtonFormItem\n    :label=\"$T('SETTINGS_OPEN_CONFIG_FILE')\"\n    :button-label=\"$T('SETTINGS_CLICK_TO_OPEN'"
  },
  {
    "path": "src/renderer/pages/components/settings/buttonArea/CheckUpdateDialog.vue",
    "chars": 2539,
    "preview": "<template>\n  <el-dialog\n    v-model=\"dialogVisible\"\n    :title=\"$T('SETTINGS_CHECK_UPDATE')\"\n    :append-to-body=\"true\"\n"
  },
  {
    "path": "src/renderer/pages/components/settings/buttonArea/CustomLinkDialog.vue",
    "chars": 2759,
    "preview": "<template>\n  <el-dialog\n    v-model=\"dialogVisible\"\n    :title=\"$T('SETTINGS_CUSTOM_LINK_FORMAT')\"\n    :append-to-body=\""
  },
  {
    "path": "src/renderer/pages/components/settings/buttonArea/LogSettingDialog.vue",
    "chars": 3938,
    "preview": "<template>\n  <el-dialog\n    v-model=\"dialogVisible\"\n    :title=\"$T('SETTINGS_SET_LOG_FILE')\"\n    :append-to-body=\"true\"\n"
  },
  {
    "path": "src/renderer/pages/components/settings/buttonArea/ProxySettingDialog.vue",
    "chars": 2602,
    "preview": "<template>\n  <el-dialog\n    v-model=\"dialogVisible\"\n    :title=\"$T('SETTINGS_SET_PROXY_AND_MIRROR')\"\n    :append-to-body"
  },
  {
    "path": "src/renderer/pages/components/settings/buttonArea/ServerSettingsDialog.vue",
    "chars": 2694,
    "preview": "<template>\n  <el-dialog\n    v-model=\"dialogVisible\"\n    class=\"server-dialog\"\n    width=\"60%\"\n    :title=\"$T('SETTINGS_S"
  },
  {
    "path": "src/renderer/pages/components/settings/customArea/ChoosePicBed.vue",
    "chars": 1668,
    "preview": "<template>\n  <el-form-item\n    :style=\"{ marginRight: '-64px' }\"\n    :label=\"$T('CHOOSE_SHOWED_PICBED')\"\n  >\n    <el-che"
  },
  {
    "path": "src/renderer/pages/components/settings/customArea/CustomAreaSettings.vue",
    "chars": 434,
    "preview": "<template>\n  <ChoosePicBed\n    v-model:showPicBedList=\"form.showPicBedList\"\n  />\n</template>\n<script lang=\"ts\" setup>\nim"
  },
  {
    "path": "src/renderer/pages/components/settings/selectArea/SelectAreaSettings.vue",
    "chars": 1766,
    "preview": "<template>\n  <SelectFormItem\n    v-model=\"form.language\"\n    :list=\"languageList\"\n    :label=\"$T('SETTINGS_CHOOSE_LANGUA"
  },
  {
    "path": "src/renderer/pages/components/settings/switchArea/SwitchAreaSettings.vue",
    "chars": 3187,
    "preview": "<template>\n  <SwitchFormItem\n    v-model=\"form.showUpdateTip\"\n    setting-props=\"showUpdateTip\"\n    :label=\"$T('SETTINGS"
  },
  {
    "path": "src/renderer/pages/picbeds/index.vue",
    "chars": 3502,
    "preview": "<template>\n  <div id=\"picbeds-page\">\n    <el-row\n      :gutter=\"20\"\n      class=\"setting-list\"\n    >\n      <el-col\n     "
  },
  {
    "path": "src/renderer/router/config.ts",
    "chars": 602,
    "preview": "export const GALLERY_PAGE = 'GalleryPage'\nexport const TRAY_PAGE = 'TrayPage'\nexport const RENAME_PAGE = 'RenamePage'\nex"
  },
  {
    "path": "src/renderer/router/index.ts",
    "chars": 2809,
    "preview": "import { createRouter, createWebHashHistory } from 'vue-router'\nimport * as config from './config'\n\nexport default creat"
  },
  {
    "path": "src/renderer/store/index.ts",
    "chars": 4145,
    "preview": "import { reactive, InjectionKey, readonly, App, UnwrapRef, ref, type DeepReadonly } from 'vue'\nimport { getConfig, getPi"
  },
  {
    "path": "src/renderer/utils/LS.ts",
    "chars": 301,
    "preview": "class LS {\n  get (name: string) {\n    if (localStorage.getItem(name)) {\n      return JSON.parse(localStorage.getItem(nam"
  },
  {
    "path": "src/renderer/utils/analytics.ts",
    "chars": 1061,
    "preview": "import {\n  REGISTER_DEVICE_ID,\n  TALKING_DATA_APPID, TALKING_DATA_DEVICE_ID_EVENT, TALKING_DATA_EVENT\n} from '~/universa"
  },
  {
    "path": "src/renderer/utils/bus.ts",
    "chars": 305,
    "preview": "import mitt from 'mitt'\nimport {\n  SHOW_INPUT_BOX,\n  SHOW_INPUT_BOX_RESPONSE,\n  FORCE_UPDATE\n} from '~/universal/events/"
  },
  {
    "path": "src/renderer/utils/common.ts",
    "chars": 1809,
    "preview": "import { isReactive, isRef, toRaw, unref } from 'vue'\nimport { sendToMain } from './dataSender'\nimport { OPEN_URL, PICGO"
  },
  {
    "path": "src/renderer/utils/dataSender.ts",
    "chars": 2220,
    "preview": "import { GET_PICBEDS, PICGO_GET_CONFIG, PICGO_SAVE_CONFIG, RPC_ACTIONS } from '#/events/constants'\nimport { IpcRendererE"
  },
  {
    "path": "src/renderer/utils/db.ts",
    "chars": 1960,
    "preview": "import {\n  PICGO_GET_BY_ID_DB,\n  PICGO_GET_DB,\n  PICGO_INSERT_DB,\n  PICGO_INSERT_MANY_DB,\n  PICGO_REMOVE_BY_ID_DB,\n  PIC"
  },
  {
    "path": "src/renderer/utils/key-binding.ts",
    "chars": 748,
    "preview": "import keycode from 'keycode'\n\nconst isSpecialKey = (keyCode: number) => {\n  const keyArr = [\n    16, // Shift\n    17, /"
  },
  {
    "path": "src/renderer/utils/mainMixin.ts",
    "chars": 608,
    "preview": "import { ComponentOptions } from 'vue'\nimport { FORCE_UPDATE, GET_PICBEDS } from '~/universal/events/constants'\nimport b"
  },
  {
    "path": "src/renderer/utils/mixin.ts",
    "chars": 880,
    "preview": "import { ComponentOptions } from 'vue'\nexport const dragMixin: ComponentOptions = {\n  mounted () {\n    this.disableDragE"
  },
  {
    "path": "src/renderer/utils/notification.ts",
    "chars": 1318,
    "preview": "import { ipcRenderer } from 'electron'\nimport { v4 as uuid } from 'uuid'\nimport { sendRPC } from './dataSender'\nimport {"
  },
  {
    "path": "src/renderer/utils/static.ts",
    "chars": 111,
    "preview": "export const getRendererStaticFileUrl = (fileName: string) => {\n  return import.meta.env.BASE_URL + fileName\n}\n"
  },
  {
    "path": "src/renderer/utils/uploader.ts",
    "chars": 275,
    "preview": "import { v4 as uuid } from 'uuid'\n\nexport const completeUploaderMetaConfig = (originData: IStringKeyMap): IStringKeyMap "
  },
  {
    "path": "src/universal/events/constants.ts",
    "chars": 2613,
    "preview": "export const SHOW_INPUT_BOX = 'SHOW_INPUT_BOX'\nexport const SHOW_INPUT_BOX_RESPONSE = 'SHOW_INPUT_BOX_RESPONSE'\nexport c"
  },
  {
    "path": "src/universal/i18n/index.ts",
    "chars": 162,
    "preview": "export const builtinI18nList: II18nItem[] = [{\n  label: '简体中文',\n  value: 'zh-CN'\n}, {\n  label: '繁體中文',\n  value: 'zh-TW'\n"
  },
  {
    "path": "src/universal/types/cloud.ts",
    "chars": 185,
    "preview": "export interface IPicGoCloudUserInfo {\n  user: string\n}\n\nexport enum IPicGoCloudErrorCode {\n  LOGIN_TIMEOUT = 'PICGO_CLO"
  },
  {
    "path": "src/universal/types/cloudConfigSync.ts",
    "chars": 1918,
    "preview": "export enum IPicGoCloudConfigSyncSessionStatus {\n  IDLE = 'IDLE',\n  SYNCING = 'SYNCING',\n  CONFLICT = 'CONFLICT'\n}\n\nexpo"
  }
]

// ... and 19 more files (download for full content)

About this extraction

This page contains the full source code of the Molunerfinn/PicGo GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 219 files (690.1 KB), approximately 204.2k tokens, and a symbol index with 502 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!