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
5deb9d0f
Commit
5deb9d0f
authored
Nov 22, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare for electron-builder
parent
c64ff23a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
2 deletions
+30
-2
electron-builder.json
Breeze.UI/electron-builder.json
+22
-0
main.ts
Breeze.UI/main.ts
+4
-2
package.json
Breeze.UI/package.json
+4
-0
No files found.
Breeze.UI/electron-builder.json
0 → 100644
View file @
5deb9d0f
{
"appId"
:
"com.stratisplatform.breeze"
,
"productName"
:
"Breeze Wallet"
,
"mac"
:
{
"category"
:
"com.stratisplatform.breeze"
},
"directories"
:
{
"app"
:
"dist"
,
"output"
:
"app-builds"
},
"win"
:
{
"icon"
:
"dist/assets/images/breeze-logo"
,
"target"
:
[
"nsis"
],
"asarUnpack"
:
"assets/daemon/*"
},
"nsis"
:
{
"oneClick"
:
false
},
"msi"
:
{
"warningsAsErrors"
:
false
}
}
Breeze.UI/main.ts
View file @
5deb9d0f
...
...
@@ -157,7 +157,8 @@ function startBitcoinApi() {
//Start Breeze Bitcoin Daemon
let
apiPath
=
path
.
resolve
(
__dirname
,
'assets//daemon//Stratis.BreezeD'
);
if
(
os
.
platform
()
===
'win32'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'assets
\\
daemon
\\
Stratis.BreezeD.exe'
);
apiPath
=
path
.
resolve
(
__dirname
,
'assets
\\
daemon
\\
Stratis.BreezeD.exe'
);
//apiPath = path.resolve(__dirname, '..\\app.asar.unpacked\\assets\\daemon\\Stratis.BreezeD.exe');
}
if
(
!
testnet
)
{
...
...
@@ -183,7 +184,8 @@ function startStratisApi() {
//Start Breeze Stratis Daemon
let
apiPath
=
path
.
resolve
(
__dirname
,
'assets//daemon//Stratis.BreezeD'
);
if
(
os
.
platform
()
===
'win32'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'assets
\\
daemon
\\
Stratis.BreezeD.exe'
);
apiPath
=
path
.
resolve
(
__dirname
,
'assets
\\
daemon
\\
Stratis.BreezeD.exe'
);
//apiPath = path.resolve(__dirname, '..\\app.asar.unpacked\\assets\\daemon\\Stratis.BreezeD.exe');
}
if
(
!
testnet
)
{
...
...
Breeze.UI/package.json
View file @
5deb9d0f
...
...
@@ -34,6 +34,7 @@
"electron:prod"
:
"npm run build:prod && electron ./dist"
,
"package:linux"
:
"npm run build:prod && node package.js --platform=linux --arch=x64"
,
"package:windows"
:
"npm run build:prod && node package.js --platform=win32 --arch=ia32"
,
"package:winsetup"
:
"npm run build:prod && npx electron-builder build --windows"
,
"package:mac"
:
"npm run build:prod && node package.js --platform=darwin --arch=x64"
,
"test"
:
"karma start ./karma.conf.js"
,
"pree2e"
:
"webdriver-manager update --standalone false --gecko false --quiet && npm run build"
,
...
...
@@ -64,6 +65,7 @@
"devDependencies"
:
{
"@angular/cli"
:
"1.5.3"
,
"@angular/compiler-cli"
:
"5.0.2"
,
"@angular/language-service"
:
"5.0.2"
,
"@types/core-js"
:
"0.9.36"
,
"@types/jasmine"
:
"2.6.0"
,
"@types/node"
:
"7.0.7"
,
...
...
@@ -76,6 +78,7 @@
"css-loader"
:
"0.28.7"
,
"cssnano"
:
"3.10.0"
,
"electron"
:
"1.7.9"
,
"electron-builder"
:
"19.45.5"
,
"electron-packager"
:
"10.1.0"
,
"electron-reload"
:
"1.2.2"
,
"exports-loader"
:
"0.6.4"
,
...
...
@@ -98,6 +101,7 @@
"minimist"
:
"1.2.0"
,
"mkdirp"
:
"0.5.1"
,
"npm-run-all"
:
"4.1.2"
,
"npx"
:
"9.7.1"
,
"node-sass"
:
"4.7.2"
,
"postcss-loader"
:
"2.0.8"
,
"postcss-url"
:
"7.2.1"
,
...
...
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