mirror of
https://github.com/Molunerfinn/PicGo.git
synced 2024-04-21 10:31:33 +00:00
📦 Chore: fix CI script
This commit is contained in:
+2
-3
@@ -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:
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
"postuninstall": "electron-builder install-app-deps",
|
||||
"cz": "git-cz",
|
||||
"bump": "bump-version",
|
||||
"release": "npm run electron:build"
|
||||
"release": "npm run electron:build -p always"
|
||||
},
|
||||
"main": "background.js",
|
||||
"husky": {
|
||||
|
||||
@@ -24,6 +24,14 @@ module.exports = {
|
||||
builderOptions: {
|
||||
productName: 'PicGo',
|
||||
appId: 'com.molunerfinn.picgo',
|
||||
publish: [
|
||||
{
|
||||
provider: 'github',
|
||||
owner: 'Molunerfinn',
|
||||
repo: 'PicGo',
|
||||
releaseType: 'draft'
|
||||
}
|
||||
],
|
||||
dmg: {
|
||||
contents: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user