🎉 Release: v2.2.0

This commit is contained in:
PiEgg 2020-01-01 18:18:51 +08:00
parent b4f10c61f0
commit 3913cef1e6
5 changed files with 56 additions and 6 deletions

View File

@ -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) ## :tada: 2.1.2 (2019-04-19)

View File

@ -11,7 +11,6 @@ platform:
- x64 - x64
cache: cache:
- node_modules
- '%APPDATA%\npm-cache' - '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron' - '%USERPROFILE%\.electron'
- '%USERPROFILE%\AppData\Local\Yarn\cache' - '%USERPROFILE%\AppData\Local\Yarn\cache'
@ -20,9 +19,9 @@ init:
- git config --global core.autocrlf input - git config --global core.autocrlf input
install: install:
- ps: Install-Product node 8 x64 - ps: Install-Product node 12 x64
- git reset --hard HEAD - git reset --hard HEAD
- npm install - yarn
- node --version - node --version
build_script: build_script:

View File

@ -1,6 +1,6 @@
{ {
"name": "picgo", "name": "picgo",
"version": "2.1.2", "version": "2.2.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
@ -12,7 +12,7 @@
"postuninstall": "electron-builder install-app-deps", "postuninstall": "electron-builder install-app-deps",
"cz": "git-cz", "cz": "git-cz",
"bump": "bump-version", "bump": "bump-version",
"release": "npm run electron:build" "release": "vue-cli-service electron:build --publish always"
}, },
"main": "background.js", "main": "background.js",
"husky": { "husky": {

View File

@ -9,7 +9,7 @@ import {
import logger from './logger' import logger from './logger'
import GuiApi from './guiApi' import GuiApi from './guiApi'
import db from '#/datastore' import db from '#/datastore'
import shortKeyService from './shortKeyService' import shortKeyService from './shortkeyService'
import picgo from './picgo' import picgo from './picgo'
class ShortKeyHandler { class ShortKeyHandler {

View File

@ -24,6 +24,14 @@ module.exports = {
builderOptions: { builderOptions: {
productName: 'PicGo', productName: 'PicGo',
appId: 'com.molunerfinn.picgo', appId: 'com.molunerfinn.picgo',
publish: [
{
provider: 'github',
owner: 'Molunerfinn',
repo: 'PicGo',
releaseType: 'draft'
}
],
dmg: { dmg: {
contents: [ contents: [
{ {
@ -56,6 +64,9 @@ module.exports = {
}, },
linux: { linux: {
icon: 'build/icons/' icon: 'build/icons/'
},
snap: {
publish: ['github']
} }
} }
} }