Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Commit

Permalink
impostato per pubblicare linux version
Browse files Browse the repository at this point in the history
  • Loading branch information
el3um4s committed Mar 30, 2018
1 parent 65243f7 commit 52067b1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-calc",
"version": "0.18.03.26",
"version": "0.18.03.30",
"author": "el3um4s <el3um4s@gmail.com>",
"description": "An electron-vue project",
"license": "MIT",
Expand Down
24 changes: 11 additions & 13 deletions src/main/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use strict'

import { app, BrowserWindow } from 'electron'
const path = require('path')
// import { autoUpdater } from 'electron-updater'
// const path = require('path')

/**
* Set `__static` path to static files in production
Expand Down Expand Up @@ -31,8 +32,7 @@ function createWindow () {
width: 340,
minHeight: 550,
// useContentSize: true,
minWidth: 340,
icon: path.join(__dirname, '/assets/icons/png/64x64.png')
minWidth: 340
})

mainWindow.loadURL(winURL)
Expand Down Expand Up @@ -64,14 +64,12 @@ app.on('activate', () => {
* https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-electron-builder.html#auto-updating
*/

/*
import { autoUpdater } from 'electron-updater'
// import { autoUpdater } from 'electron-updater'

autoUpdater.on('update-downloaded', () => {
autoUpdater.quitAndInstall()
})
app.on('ready', () => {
if (process.env.NODE_ENV === 'production') autoUpdater.checkForUpdates()
})
*/
// autoUpdater.on('update-downloaded', () => {
// autoUpdater.quitAndInstall()
// })
//
// app.on('ready', () => {
// if (process.env.NODE_ENV === 'production') autoUpdater.checkForUpdates()
// })
2 changes: 1 addition & 1 deletion src/renderer/store/modules/menu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const state = {
dark: false,
drawer: false,
version: '0.18.03.26',
version: '0.18.03.30',
items: [
// {
// header: 'Formato'
Expand Down

0 comments on commit 52067b1

Please sign in to comment.