kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Update wording for no updte
rodzic
2ad13e3329
commit
bc65d3b7d6
|
@ -6,19 +6,15 @@ image: Visual Studio 2017
|
||||||
init:
|
init:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
git config --global core.autocrlf input
|
git config --global core.autocrlf input
|
||||||
|
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
install:
|
install:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
Install-Product node 7 x64
|
Install-Product node 7 x64
|
||||||
|
|
||||||
$env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
|
$env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
|
||||||
|
|
||||||
Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
|
Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
npm run dist
|
npm run dist
|
||||||
test: off
|
test: off
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -27,6 +23,7 @@ artifacts:
|
||||||
type: WebDeployPackage
|
type: WebDeployPackage
|
||||||
deploy:
|
deploy:
|
||||||
- provider: GitHub
|
- provider: GitHub
|
||||||
|
release: v$(package_version)
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: qR6cJCEAjzYYgJKkpa9aJmpTgX11HlSZTrDWRg38icikDeE7hOPCp+K3VqxgZ9ex
|
secure: qR6cJCEAjzYYgJKkpa9aJmpTgX11HlSZTrDWRg38icikDeE7hOPCp+K3VqxgZ9ex
|
||||||
force_update: true
|
force_update: true
|
4
index.js
4
index.js
|
@ -103,7 +103,7 @@ autoUpdater.on('checking-for-update', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
autoUpdater.on('update-available', (ev, info) => {
|
autoUpdater.on('update-available', (ev, info) => {
|
||||||
var string = 'Update available.Installed version: ' + require('./package').version + " / Available version: " + ev.version
|
var string = 'Update available.Installed version: ' + require('./package').version + " / Available version: " + ev.version + ". Starting Download...\n";
|
||||||
var output = {
|
var output = {
|
||||||
'command': 'autoupdate',
|
'command': 'autoupdate',
|
||||||
'response': string
|
'response': string
|
||||||
|
@ -116,7 +116,7 @@ autoUpdater.on('update-available', (ev, info) => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
autoUpdater.on('update-not-available', (ev, info) => {
|
autoUpdater.on('update-not-available', (ev, info) => {
|
||||||
var string = 'Update not available. Installed version: ' + require('./package').version + " / Available version: " + ev.version + ". Starting Download...\n";
|
var string = 'Update not available. Installed version: ' + require('./package').version + " / Available version: " + ev.version + ".\n";
|
||||||
var output = {
|
var output = {
|
||||||
'command': 'autoupdate',
|
'command': 'autoupdate',
|
||||||
'response': string
|
'response': string
|
||||||
|
|
Ładowanie…
Reference in New Issue