PicGo / vs-picgo

A VSCode plugin of PicGo

Home Page:https://marketplace.visualstudio.com/items?itemName=Spades.vs-picgo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mac本地上传后没有重命名

pyxin opened this issue · comments

在vscode中通过本插件上传的图片,没有重命名. 通过picgo上传有重命名,

Describe the bug

截屏2024-05-06 14 29 35

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

System information

  • OS: [e.g. Windows]
  • Version [e.g. Windows 10]

VSCode information

版本: 1.89.0 (Universal)
提交: b58957e67ee1e712cebf466b995adf4c5307b2bd
日期: 2024-05-01T02:10:10.196Z (5 天前)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 21.6.0
  • vs-picgo version
截屏2024-05-06 14 32 37
  • Settings begin with picgo:
    截屏2024-05-06 14 33 07

(base) [~]$ cat ~/Library/Application\ Support/picgo/data.json
{
"picBed": {
"current": "aliyun",
"uploader": "aliyun",
"smms": {
"token": ""
},
"aliyun": {
"accessKeyId": "xxxxxxxxxxxxxx",
"accessKeySecret": "xxxxxxxxxxxxxx",
"bucket": "xxxxxxxxxxxxxx",
"area": "oss-cn-shanghai",
"path": "xxxxxxxxxxxxxx/markdown/",
"customUrl": "",
"options": "?x-oss-process=style/xxxxxxxxxxxxxx"
}
},
"settings": {
"shortKey": {
"picgo:upload": {
"enable": true,
"key": "CommandOrControl+Shift+P",
"name": "upload",
"label": "QUICK_UPLOAD"
}
},
"server": {
"port": 36677,
"host": "127.0.0.1",
"enable": true
},
"showUpdateTip": false,
"privacyEnsure": true,
"autoRename": true,
"rename": false,
"autoStart": true
},
"picgoPlugins": {},
"debug": true,
"PICGO_ENV": "GUI",
"needReload": false,
"uploaded": [
{
"fileName": "截屏2024-05-06 14.01.01.png",
"width": 2112,
"height": 360,
"extname": ".png",
"imgUrl": "https://xxxxxxxxxxxxxx.oss-cn-shanghai.aliyuncs.com/xxxxxxxxxxxxxx/markdown/截屏2024-05-06 14.01.01.png?x-oss-process=style/xxxxxxxxxxxxxx",
"type": "aliyun",
"id": "3e59b0ff-75aa-432b-9cc7-b563824a9a10"
},


### Additional context

**Is this bug picBed specific, i.e. only the picBed you use is affected?** Yes/No.

**Is there any error in the console (`Help` -> `Toggle Developer tools`)?**: Yes/No.

```txt
2024-05-06 14:16:01.048 [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: vscode.markdown-language-features
2024-05-06 14:16:06.499 [info] ExtensionService#_doActivateExtension Spades.vs-picgo, startup: false, activationEvent: 'onCommand:picgo.uploadImageFromExplorer'