Skip to content

Commit

Permalink
✨ Feature(clipboard): remove PICGO_ENV and script files
Browse files Browse the repository at this point in the history
  • Loading branch information
upupming committed Oct 5, 2021
1 parent 459953f commit b2b11b3
Show file tree
Hide file tree
Showing 9 changed files with 672 additions and 211 deletions.
16 changes: 15 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
{
"eslint.enable": true,
"eslint.alwaysShowStatus": true,
// Use eslint to format js/ts files
// prettier is included by eslint
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnSave": false
},
"eslint.validate": [
"javascript",
"javascriptreact",
Expand All @@ -22,4 +36,4 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
"vue-router": "^3.1.3"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@picgo/bump-version": "^1.0.3",
"@picgo/bump-version": "^1.1.2",
"@types/fs-extra": "^8.0.1",
"@types/inquirer": "^6.5.0",
"@types/lowdb": "^1.0.9",
Expand All @@ -66,7 +65,6 @@
"@vue/cli-service": "^4.0.0",
"@vue/eslint-config-standard": "^4.0.0",
"@vue/eslint-config-typescript": "^4.0.0",
"commitizen": "^4.0.3",
"conventional-changelog": "^3.1.18",
"cz-customizable": "^6.2.0",
"electron": "^6.0.0",
Expand Down
18 changes: 0 additions & 18 deletions public/linux.sh

This file was deleted.

Binary file removed public/mac.applescript
Binary file not shown.
26 changes: 0 additions & 26 deletions public/windows.ps1

This file was deleted.

45 changes: 0 additions & 45 deletions public/windows10.ps1

This file was deleted.

18 changes: 0 additions & 18 deletions public/wsl.sh

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/apis/core/picgo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ dbChecker()

const picgo = new PicGo(CONFIG_PATH)
picgo.saveConfig({
debug: true,
PICGO_ENV: 'GUI'
debug: true
})

global.PICGO_GUI_VERSION = pkg.version
Expand Down
Loading

0 comments on commit b2b11b3

Please sign in to comment.