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:
|
||||
- ps: >-
|
||||
git config --global core.autocrlf input
|
||||
|
||||
git config --global credential.helper store
|
||||
install:
|
||||
- ps: >-
|
||||
Install-Product node 7 x64
|
||||
|
||||
$env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
|
||||
|
||||
Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
|
||||
build_script:
|
||||
- cmd: >-
|
||||
npm install
|
||||
|
||||
npm run dist
|
||||
test: off
|
||||
artifacts:
|
||||
|
@ -27,6 +23,7 @@ artifacts:
|
|||
type: WebDeployPackage
|
||||
deploy:
|
||||
- provider: GitHub
|
||||
release: v$(package_version)
|
||||
auth_token:
|
||||
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) => {
|
||||
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 = {
|
||||
'command': 'autoupdate',
|
||||
'response': string
|
||||
|
@ -116,7 +116,7 @@ autoUpdater.on('update-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 = {
|
||||
'command': 'autoupdate',
|
||||
'response': string
|
||||
|
|
Ładowanie…
Reference in New Issue