desktopautoupdate
bunsenstraat 1 year ago
parent 88bff6a590
commit 78edd6bffa
  1. 1
      .circleci/config.yml
  2. 2
      apps/remixdesktop/package.json
  3. 4
      apps/remixdesktop/src/plugins/appUpdater.ts

@ -258,7 +258,6 @@ jobs:
command: |
rm -rf ~/remix-project/release/.icon*
rm -rf ~/remix-project/release/builder*
cp ~/remix-project/release/Remix-Desktop.exe ~/remix-project/release/Remix-Desktop-Setup.exe
- store_artifacts:
path: ~/remix-project/release/
destination: remixdesktop-windows

@ -1,6 +1,6 @@
{
"name": "remixdesktop",
"version": "0.0.18-Alpha",
"version": "0.0.19-Alpha",
"main": "build/main.js",
"license": "MIT",
"type": "commonjs",

@ -16,7 +16,7 @@ export class AppUpdaterPlugin extends ElectronBasePlugin {
this.methods = [...super.methods]
autoUpdater.autoDownload = false
autoUpdater.disableDifferentialDownload = true
autoUpdater.on('checking-for-update', () => {
console.log('Checking for update...');
this.sendToLog('Checking for update...')
@ -30,7 +30,7 @@ export class AppUpdaterPlugin extends ElectronBasePlugin {
})
autoUpdater.on('update-not-available', () => {
console.log('Update not available.');
this.sendToLog('Update not available.')
this.sendToLog('App is already up to date.')
})
autoUpdater.on('error', (err) => {

Loading…
Cancel
Save