切换导航条
切换导航条
当前项目
正在载入...
登录
术习电报
/
electron-vue-template
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
作者
张恒
2020-01-10 11:29:24 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
提交
45172cc051581f61fb39eff924487aaca458c6d1
45172cc0
1 个父辈
3f3c422d
删除多余注释
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
0 行增加
和
25 行删除
src/main/index.js
src/main/index.js
查看文件 @
45172cc
...
...
@@ -19,28 +19,3 @@ app.on('window-all-closed', () => {
app
.
on
(
'browser-window-created'
,
()
=>
{
console
.
log
(
'window-created'
)
})
// app.on('activate', () => {
// if (mainWindow === null) {
// createWindow()
// }
// })
/**
* Auto Updater
*
* Uncomment the following code below and install `electron-updater` to
* support auto updating. Code Signing with a valid certificate is required.
* https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-electron-builder.html#auto-updating
*/
/*
import { autoUpdater } from 'electron-updater'
autoUpdater.on('update-downloaded', () => {
autoUpdater.quitAndInstall()
})
app.on('ready', () => {
if (process.env.NODE_ENV === 'production') autoUpdater.checkForUpdates()
})
*/
...
...
请
注册
或
登录
后发表评论