-'use strict';
-
const builder = require('electron-builder');
const fs = require('fs');
const packageJson = JSON.parse(fs.readFileSync('./app/package.json', 'utf8'));
config: {
'appId': `org.aoichaan0513.${packageJson.name}`,
'productName': packageJson.name,
+ 'copyright': `Copyright 2019 ${packageJson.author.name}. All rights reserved.`,
'asar': true,
+ 'fileAssociations': [
+ {
+ 'name': 'Document',
+ 'description': packageJson.name,
+ 'role': 'Viewer',
+ 'ext': 'html'
+ }
+ ],
'nsis': {
'installerIcon': './static/icon.ico',
'uninstallerIcon': './static/icon.ico'
},
'linux': {
- 'target': 'deb',
+ 'category': 'Network',
+ 'target': [
+ {
+ 'target': 'AppImage',
+ 'arch': ['ia32', 'x64']
+ }
+ ],
'icon': './static/icon.ico',
},
},