Release builds with electron-builder

This commit is contained in:
Geomitron
2020-02-03 13:36:40 -05:00
parent c5ed58ea35
commit 78b41f839c
24 changed files with 1158 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 835 445" style="enable-background:new 0 0 835 445;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;}
</style>
<path class="st0" d="M5,5L5,5v180c0,41.4,33.6,75,75,75l0,0l0,0c41.4,0,75-33.6,75-75l0,0c0-41.4-33.6-75-75-75l0,0
c-41.4,0-75,33.6-75,75"/>
<path class="st0" d="M185,260L185,260v-75c0-41.4,33.6-75,75-75"/>
<path class="st0" d="M290,110L290,110v150"/>
<path class="st0" d="M470,185c0-41.4-33.6-75-75-75l0,0c-41.4,0-75,33.6-75,75l0,0c0,41.4,33.6,75,75,75l0,0
C436.4,260,470,226.4,470,185L470,185V5"/>
<path class="st0" d="M650,185c0,41.4-33.6,75-75,75l0,0c-41.4,0-75-33.6-75-75s33.6-75,75-75S650,143.6,650,185L650,185v180
c0,41.4-33.6,75-75,75l0,0c-41.4,0-75-33.6-75-75"/>
<path class="st0" d="M680,185L680,185h150c0-41.4-33.6-75-75-75S680,143.6,680,185L680,185c0,41.4,33.6,75,75,75"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@@ -7,7 +7,7 @@ import * as url from 'url'
let mainWindow: BrowserWindow
const args = process.argv.slice(1)
const isDevBuild = args.some(val => val == '--serve')
const isDevBuild = args.some(val => val == '--dev')
restrictToSingleInstance()
handleOSXWindowClosed()
@@ -103,7 +103,7 @@ function createBrowserWindow() {
function getLoadUrl() {
return url.format({
protocol: isDevBuild ? 'http:' : 'file:',
pathname: isDevBuild ? '//localhost:4200/' : path.join(__dirname, 'index.html'),
pathname: isDevBuild ? '//localhost:4200/' : path.join(__dirname, '..', 'index.html'),
slashes: true
})
}
@@ -115,7 +115,6 @@ function setUpDevTools() {
require('electron-reload')(__dirname, {
electron: require(`${__dirname}/../../node_modules/electron`)
})
mainWindow.loadURL('http://localhost:4200')
mainWindow.webContents.openDevTools()
}