diff --git a/chrome-app/manifest.json b/chrome-app/manifest.json index ea23b118..94451705 100644 --- a/chrome-app/manifest.json +++ b/chrome-app/manifest.json @@ -1,9 +1,9 @@ { "name": "StackEdit中文版", "description": "支持Gitee仓库/粘贴图片自动上传的浏览器内 Markdown 编辑器", - "version": "1.0.13", + "version": "1.0.0", "manifest_version": 2, - "container" : "GOOGLE_DRIVE", + "container" : "GITEE", "api_console_project_id" : "241271498917", "icons": { "16": "icon-16.png", diff --git a/package.json b/package.json index ac162403..3bf51e20 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "stackedit", "version": "5.15.7", - "description": "Free, open-source, full-featured Markdown editor", - "author": "Benoit Schweblin", + "description": "免费, 开源, 功能齐全的 Markdown 编辑器", + "author": "Benoit Schweblin, 豆萁", "license": "Apache-2.0", "bugs": { "url": "https://github.com/mafgwo/stackedit/issues" diff --git a/src/services/providers/helpers/giteeHelper.js b/src/services/providers/helpers/giteeHelper.js index 4368f4cf..0700ed0a 100644 --- a/src/services/providers/helpers/giteeHelper.js +++ b/src/services/providers/helpers/giteeHelper.js @@ -264,7 +264,7 @@ export default { url: `contents/${encodeURIComponent(path)}`, body: { message: getCommitMessage(sha ? 'updateFileMessage' : 'createFileMessage', path), - content: utils.encodeBase64(content), + content: utils.encodeBase64(content || ' '), sha, branch, },