Release builds with electron-builder
BIN
src/assets/images/bridge-animation.gif
Normal file
|
After Width: | Height: | Size: 266 KiB |
BIN
src/assets/images/logo-sm.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
16
src/assets/images/logo.svg
Normal 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 |
BIN
src/assets/images/placeholder.jpg
Normal file
|
After Width: | Height: | Size: 389 KiB |
BIN
src/assets/images/system/icon.png
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
src/assets/images/system/icons/mac/icon.icns
Normal file
BIN
src/assets/images/system/icons/png/1024x1024.png
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
src/assets/images/system/icons/png/128x128.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
src/assets/images/system/icons/png/16x16.png
Normal file
|
After Width: | Height: | Size: 794 B |
BIN
src/assets/images/system/icons/png/24x24.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/assets/images/system/icons/png/256x256.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
src/assets/images/system/icons/png/32x32.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
src/assets/images/system/icons/png/48x48.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
src/assets/images/system/icons/png/512x512.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
src/assets/images/system/icons/png/64x64.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
src/assets/images/system/icons/win/icon.ico
Normal file
|
After Width: | Height: | Size: 353 KiB |
@@ -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()
|
||||
}
|
||||