diff --git a/CHANGELOG.md b/CHANGELOG.md index eca5ead..d3bc672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,43 @@ +# :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) diff --git a/appveyor.yml b/appveyor.yml index d4bf051..fa70110 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,7 +11,6 @@ platform: - x64 cache: - - node_modules - '%APPDATA%\npm-cache' - '%USERPROFILE%\.electron' - '%USERPROFILE%\AppData\Local\Yarn\cache' @@ -20,9 +19,9 @@ init: - git config --global core.autocrlf input install: - - ps: Install-Product node 8 x64 + - ps: Install-Product node 12 x64 - git reset --hard HEAD - - npm install + - yarn - node --version build_script: diff --git a/package.json b/package.json index 0d75ce0..dfdeab9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "picgo", - "version": "2.1.2", + "version": "2.2.0", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -12,7 +12,7 @@ "postuninstall": "electron-builder install-app-deps", "cz": "git-cz", "bump": "bump-version", - "release": "npm run electron:build" + "release": "vue-cli-service electron:build --publish always" }, "main": "background.js", "husky": { diff --git a/src/main/utils/shortKeyHandler.ts b/src/main/utils/shortKeyHandler.ts index 7a7a4ef..329b484 100644 --- a/src/main/utils/shortKeyHandler.ts +++ b/src/main/utils/shortKeyHandler.ts @@ -9,7 +9,7 @@ import { import logger from './logger' import GuiApi from './guiApi' import db from '#/datastore' -import shortKeyService from './shortKeyService' +import shortKeyService from './shortkeyService' import picgo from './picgo' class ShortKeyHandler { diff --git a/vue.config.js b/vue.config.js index b60f00e..e786776 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,6 +24,14 @@ module.exports = { builderOptions: { productName: 'PicGo', appId: 'com.molunerfinn.picgo', + publish: [ + { + provider: 'github', + owner: 'Molunerfinn', + repo: 'PicGo', + releaseType: 'draft' + } + ], dmg: { contents: [ { @@ -56,6 +64,9 @@ module.exports = { }, linux: { icon: 'build/icons/' + }, + snap: { + publish: ['github'] } } }