我使用Windows 7 32位。我当前的PHP版本为const {app, BrowserWindow, shell, dialog} = require('electron')
const {autoUpdater} = require('electron-auto-updater')
const path = require('path')
const url = require('url')
autoUpdater.addListener("update-available", function(event) {
dialog.showMessageBox({ title: "A new update is ready to install", message: `Version ${it.version} is downloaded and will be automatically installed on Quit`, buttons: ["OK"] });
});
autoUpdater.addListener("update-downloaded", function(event, releaseNotes, releaseName, releaseDate, updateURL) {
autoUpdater.quitAndInstall();
});
autoUpdater.addListener("error", function(error) {
dialog.showMessageBox({ title: "Error Happened", message: error, buttons: ["OK"] });
});
autoUpdater.addListener("checking-for-update", function(event) {
dialog.showMessageBox({ title: "Checking for update", message: `:l`, buttons: ["OK"] });
});
autoUpdater.addListener("update-not-available", function(event) {
dialog.showMessageBox({ title: "No update available", message: `:l`, buttons: ["OK"] });
});
我想将其设为5.3.5
以及更新的版本。我在谷歌搜索但无法找到。我的phpmyAdmin看起来像这样请帮助我解决这个问题并建议我使用方法和步骤。在此先感谢
答案 0 :(得分:0)