Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
54e56446
Commit
54e56446
authored
Jun 27, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove comments
parent
8f151a26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
main.ts
Breeze.UI/main.ts
+0
-7
No files found.
Breeze.UI/main.ts
View file @
54e56446
...
...
@@ -9,9 +9,6 @@ const path = require('path');
const
url
=
require
(
'url'
);
const
os
=
require
(
'os'
);
// import { app, BrowserWindow, screen } from 'electron';
// import * as path from 'path';
let
serve
;
const
args
=
process
.
argv
.
slice
(
1
);
serve
=
args
.
some
(
val
=>
val
===
"--serve"
);
...
...
@@ -29,16 +26,12 @@ function createWindow() {
// Create the browser window.
mainWindow
=
new
BrowserWindow
({
width
:
1200
,
height
:
700
,
frame
:
true
,
minWidth
:
1200
,
minHeight
:
700
,
icon
:
"./assets/images/stratis-tray.png"
});
// and load the index.html of the app.
mainWindow
.
loadURL
(
url
.
format
({
pathname
:
path
.
join
(
__dirname
,
'/index.html'
),
protocol
:
'file:'
,
slashes
:
true
}));
// and load the index.html of the app.
// win.loadURL('file://' + __dirname + '/index.html');
if
(
serve
)
{
mainWindow
.
webContents
.
openDevTools
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment