Skip to content

Fix picgo and cliScript uploader (marktext#2915) - #3296

Closed
Xander-C wants to merge 1 commit into
marktext:developfrom
Xander-C:fix_uploader
Closed

Xander-C wants to merge 1 commit into
marktext:developfrom
Xander-C:fix_uploader

Conversation

@Xander-C

@Xander-C Xander-C commented Jun 8, 2022

Copy link
Copy Markdown
Q A
Bug fix? yes
New feature? no
Breaking changes? no
Deprecations? no
New tests added? not needed
Fixed tickets Fixes #2915
License MIT

Description

While uploading image from paste board, function uploadByCommand get the raw image bin data from parameter filepath, and save it into a temp file in sys temp dir.

1.path.join() require all string parameters but now a number provided, which raise a error and the error has been ignored (cause infinite loading)
2.Picgo upload image depends on suffix of the file.

@Jocs

Jocs commented May 15, 2026

Copy link
Copy Markdown
Member

This project recently merged a large refactor (electron-vite migration, PR #4001) that upgraded dependencies and fixed several issues.

Please review this PR and let us know if it is still needed, or if the changes have already been addressed upstream.

Note: This PR currently has merge conflicts with the develop branch. If you decide to continue with this PR, please rebase or merge the latest develop branch to resolve the conflicts before it can be reviewed.

@Jocs

Jocs commented May 20, 2026

Copy link
Copy Markdown
Member

Thank you for the contribution. Since this PR was opened, the project has gone through a significant refactor to electron-vite (#4001) — src/renderer/util/fileSystem.js is now src/renderer/src/util/fileSystem.js, and the PicGo/cliScript integration has evolved. The current diff cannot be applied to develop.

Closing this PR so it doesn't get stuck in limbo. If the PicGo/cliScript uploader issue (#2915) still reproduces on the current develop branch, please feel free to open a new PR on top of the latest code — we'd be happy to review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

can't upload image with Picgo,but using picgo command is successful on my loacl

2 participants