腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(152)
视频
沙龙
1
回答
寻找有关更新已安装的电子应用程序的过程的完整教程
electron
我在我的电子应用程序中添加了这段轻松的代码var feedUrl = 'http://10.61.32.53:1337//download/:' + app.getVersion();// event handling after download newrelease
autoUpdater
浏览 7
提问于2016-08-04
得票数 0
2
回答
错误TS2305:模块“http”没有导出成员‘OutgoingHttpHeader’。当试图在电子项目中添加电子更新程序时
node.js
、
npm
、
electron
、
node-modules
、
electron-builder
在克隆之后,为了开始设置
autoUpdater
,我只做了以下两个更改:并在main.ts文件中的下一行:在此之后,当我尝试启动应用程序时,我得到以下错误: node_modules/electron-updater/node_modules
浏览 0
提问于2018-02-13
得票数 3
回答已采纳
1
回答
ElectronJS
autoupdater
.setFeedURL()抛出异常[“更新检查失败。服务器发送无效响应。稍后再试。”]
electron
、
electron-updater
我在使用电子的桌面应用程序运行良好,除了
autoUpdater
.setFeedURL()方法外,它总是返回以下异常:“更新检查失败。服务器发送无效响应。稍后再试。” { "url":"https://github.com/MyUsername/MyRepos/releases/"
autoUpdater
.
浏览 5
提问于2020-10-28
得票数 0
回答已采纳
2
回答
如何在checkForUpdatesAndNotify中修复“应用程序未打包的Skip checkForUpdatesAndNotify”
electron
、
auto-update
、
electron-builder
mac0S Mojave const {
autoUpdater
} =需要量(“电子更新器”);
autoUpdater
.checkForUpdatesAndNotify ();
autoUpdater
.on(‘检查更新’),() => {console.log(‘检查更新’);};
autoUpdater
.on(‘更新可用’,(info) => {consol
浏览 0
提问于2019-01-11
得票数 13
1
回答
电子加速器‘下载-进步’什么都没有。
electron
、
electron-builder
} = require('electron-updater');
autoUpdater
.logger.transports.file.level();}); const init = win => {
autoUpdater
.on('checking-for-update&
浏览 1
提问于2020-03-09
得票数 0
回答已采纳
4
回答
电子自动更新器不存在?
node.js
、
npm
、
auto-update
、
electron
我正在使用电子文档中建议的npm包'‘: 这显然与npm包不一致,因为var
autoUpdater
= require('auto-updater');返回的对象不包含文档所说的应该包含的方法。
浏览 2
提问于2016-04-05
得票数 2
1
回答
如何保存下载的更新以便稍后安装?
javascript
、
electron
、
squirrel.windows
在下载更新时,我将向用户显示一个对话框,为他们提供两个选项: 暂时搁置更新并在下次应用程序启动时安装它在我的应用程序中,我处理
autoUpdater
update-downloaded事件。当应用程序启动时,我也给checkForUpdates打了电话。其次,如果用户稍后选择安装,我在userData文件中写了一个标志,告诉应用程序下次启动时调用
autoUpdater
.quitAndInstall。
浏览 1
提问于2017-05-16
得票数 3
2
回答
AutoUpdater
.NET不更新和不删除旧程序
c#
、
visual-studio
、
windows-installer
、
installation
、
auto-update
我的更新代码(MainWindow.xaml.cs):
AutoUpdater
.ShowSkipButton = false;
AutoUpdater
.Mandatory= true;
AutoUpdater</em
浏览 115
提问于2020-05-08
得票数 1
1
回答
autoUpdater
.setFeedURL不是一个函数
electron
、
auto-update
、
squirrel.windows
(feedURL); EDIT2:多亏了@JuanMa,我才能让它工作起来。// auto update functionality
autoUpdater
.addListener("update-available", function
浏览 6
提问于2016-11-18
得票数 1
回答已采纳
1
回答
c#
AutoUpdater
.NET -如果更新可用,应用程序不应关闭
c#
、
auto-update
我使用
AutoUpdater
.NET更新我的应用程序。这是个很棒的图书馆。(对不起,我是初学者)
AutoUpdater
.ShowSkipButton = false;
AutoUpdater
.Mandatory = true;
Auto
浏览 0
提问于2021-08-16
得票数 0
回答已采纳
1
回答
电子生成器“更新可用”事件在新版本可用时不会触发。
electron
、
electron-builder
下面是我的main.js代码...other imports //do this
autoUpdater
.checkForUpdates();
autoUpdater
.on("update-not-available: 'No n
浏览 0
提问于2018-03-16
得票数 3
回答已采纳
1
回答
电子自动更新不重新启动应用程序
macos
、
electron
我使用以下代码:
autoUpdater
.on('update-downloaded', function(){
autoUpdater
.quitAndIns
浏览 1
提问于2016-08-30
得票数 4
回答已采纳
1
回答
电子
autoUpdater
:用户在“更新-可用”上发起下载
desktop-application
、
electron
、
squirrel.windows
、
electron-builder
无论我在这里做什么,
autoUpdater
似乎都在继续下载更新。 .on('error', function(error){ }) force_quit = true;
autoUpdater
.q
浏览 5
提问于2016-09-08
得票数 2
2
回答
电子生成器无法正确安装
javascript
、
electron
、
electron-builder
/package.json') const remote = require("electron").remote console.log('update available')
autoUpdater</e
浏览 0
提问于2018-07-30
得票数 0
3
回答
在同一解决方案中运行第二个项目
c#
、
solution
在我的解决方案中,我有一个项目"Main“,它是一个表单应用程序,而项目"
AutoUpdater
”是一个控制台应用程序。 我的想法是让“主”在单独的进程中运行"
AutoUpdater
“控制台应用程序,或者可能让程序将
autoupdater
.exe复制到临时文件夹中,然后从那里运行(以防止文件锁定)。但是我如何让Main运行
AutoUpdater
呢?
浏览 2
提问于2020-01-20
得票数 1
回答已采纳
1
回答
无法更新电子应用程序
electron
({ url }) console.log("()}) console.error('There was a problem updating the application')})
浏览 18
提问于2021-04-13
得票数 0
2
回答
电子更新程序通知新版本,但不更新或下载windows中的新版本。
electron
、
nsis
、
electron-updater
= true;
autoUpdater
.logger = logger; You couldalsoe use nslog or other logging to see what's happening *
浏览 2
提问于2020-01-21
得票数 5
1
回答
电子更新程序检测更新,但不下载更新。
javascript
、
node.js
、
electron
、
electron-builder
、
electron-updater
更新:Main.js:
autoUpdater
.l
浏览 15
提问于2022-08-16
得票数 0
1
回答
通过亚马逊s3进行电子自动更新不起作用
amazon-s3
、
electron
、
auto-update
、
electron-builder
BrowserWindow, Menu, protocol, ipcMain} = require('electron');const {
autoUpdater
} = require("electron-updater"); alert('checking')('messa
浏览 1
提问于2021-01-11
得票数 1
1
回答
电子应用程序在调用
autoUpdater
.checkForUpdates时崩溃
electron
电子: 6.0.9应用程序被崩溃,甚至被试图捕捉块包围。try { } catch(e) { } Error: Er
浏览 3
提问于2019-09-19
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
如何基于 Electron 开发跨终端的应用
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券