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
170919aa
Commit
170919aa
authored
Dec 12, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Breeze changes
parent
2ad340e9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
32 deletions
+25
-32
electron-builder.json
Breeze.UI/electron-builder.json
+7
-4
main.ts
Breeze.UI/main.ts
+15
-23
package.js
Breeze.UI/package.js
+1
-1
package.json
Breeze.UI/package.json
+1
-1
history.component.html
Breeze.UI/src/app/wallet/history/history.component.html
+0
-2
appveyor.yml
appveyor.yml
+1
-1
No files found.
Breeze.UI/electron-builder.json
View file @
170919aa
...
...
@@ -8,20 +8,20 @@
"buildResources"
:
"dist/assets/images"
},
"win"
:
{
"icon"
:
"dist/assets/images/
icon
"
,
"icon"
:
"dist/assets/images/"
,
"target"
:
[
"nsis"
],
"artifactName"
:
"${productName}-v${version}-setup-${os}-${env.arch}.${ext}"
},
"linux"
:
{
"icon"
:
"dist/assets/images/"
,
"target"
:
[
"deb"
,
"tar.gz"
],
"synopsis"
:
"Breeze Wallet: Stratis' dual-currency full block light wallet with a strong focus on privacy."
,
"category"
:
"Utility"
,
"icon"
:
"dist/assets/images/icons"
,
"artifactName"
:
"${productName}-v${version}-${os}-${arch}.${ext}"
},
"mac"
:
{
...
...
@@ -38,12 +38,15 @@
"deleteAppDataOnUninstall"
:
true
,
"guid"
:
"ed20df62-ff5a-4b83-a5e3-a361357c6e51"
,
"createDesktopShortcut"
:
true
,
"createStartMenuShortcut"
:
true
"createStartMenuShortcut"
:
true
,
"license"
:
"../Licenses/breeze-license.txt"
},
"msi"
:
{
"warningsAsErrors"
:
false
},
"extraResources"
:
[
"daemon/**/*"
"daemon/**/*"
,
"src/assets/images/breeze-logo-tray.png"
,
"src/assets/images/license_en.txt"
]
}
Breeze.UI/main.ts
View file @
170919aa
...
...
@@ -13,8 +13,12 @@ const os = require('os');
let
serve
;
let
testnet
;
const
args
=
process
.
argv
.
slice
(
1
);
serve
=
args
.
some
(
val
=>
val
===
"--serve"
);
testnet
=
args
.
some
(
val
=>
val
===
"--testnet"
);
serve
=
args
.
some
(
val
=>
val
===
"--serve"
||
val
===
"-serve"
);
testnet
=
!
args
.
some
(
val
=>
val
===
"--testnet"
||
val
===
"-testnet"
);
if
(
args
.
some
(
val
=>
val
===
"--mainnet"
||
val
===
"-mainnet"
))
{
testnet
=
false
;
}
if
(
serve
)
{
require
(
'electron-reload'
)(
__dirname
,
{
...
...
@@ -31,13 +35,6 @@ require('electron-context-menu')({
let
mainWindow
=
null
;
function
createWindow
()
{
let
applicationIcon
if
(
serve
)
{
applicationIcon
=
nativeImage
.
createFromPath
(
"./src/assets/images/breeze-logo-tray.png"
)
}
else
{
applicationIcon
=
nativeImage
.
createFromPath
(
path
.
join
(
__dirname
+
'/assets/images/breeze-logo-tray.png'
))
}
// Create the browser window.
mainWindow
=
new
BrowserWindow
({
width
:
1200
,
...
...
@@ -48,10 +45,6 @@ function createWindow() {
title
:
"Breeze Wallet"
});
if
(
os
.
platform
()
===
"win32"
){
mainWindow
.
setIcon
(
applicationIcon
);
}
// and load the index.html of the app.
mainWindow
.
loadURL
(
url
.
format
({
pathname
:
path
.
join
(
__dirname
,
'/index.html'
),
...
...
@@ -159,10 +152,10 @@ function startBitcoinApi() {
if
(
os
.
platform
()
===
'win32'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'..
\\
..
\\
resources
\\
daemon
\\
Stratis.BreezeD.exe'
);
}
else
if
(
os
.
platform
()
===
'linux'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
else
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
else
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
if
(
!
testnet
)
{
...
...
@@ -190,10 +183,10 @@ function startStratisApi() {
if
(
os
.
platform
()
===
'win32'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'..
\\
..
\\
resources
\\
daemon
\\
Stratis.BreezeD.exe'
);
}
else
if
(
os
.
platform
()
===
'linux'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
else
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
else
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
if
(
!
testnet
)
{
stratisProcess
=
spawnStratis
(
apiPath
,
[
'stratis'
],
{
...
...
@@ -205,7 +198,6 @@ function startStratisApi() {
});
}
stratisProcess
.
stdout
.
on
(
'data'
,
(
data
)
=>
{
writeLog
(
`Stratis:
${
data
}
`
);
});
...
...
@@ -220,7 +212,7 @@ function createTray() {
if
(
serve
)
{
trayIcon
=
nativeImage
.
createFromPath
(
'./src/assets/images/breeze-logo-tray.png'
);
}
else
{
trayIcon
=
nativeImage
.
createFromPath
(
path
.
join
(
__dirname
+
'
/assets/images/breeze-logo-tray.png'
));
trayIcon
=
nativeImage
.
createFromPath
(
path
.
resolve
(
__dirname
,
'../../resources/src
/assets/images/breeze-logo-tray.png'
));
}
let
systemTray
=
new
Tray
(
trayIcon
);
...
...
Breeze.UI/package.js
View file @
170919aa
...
...
@@ -34,7 +34,7 @@ function pack(plat, arch, path, cb) {
// there is no darwin ia32 electron
if
(
plat
===
'darwin'
&&
arch
===
'ia32'
)
return
;
let
icon
=
'src/assets/images/
breeze-logo
'
;
let
icon
=
'src/assets/images/
icon
'
;
if
(
icon
)
{
DEFAULT_OPTS
.
icon
=
icon
+
(()
=>
{
...
...
Breeze.UI/package.json
View file @
170919aa
...
...
@@ -12,7 +12,7 @@
"breeze"
,
"ui"
,
"stratis"
,
"bitcoin"
,
"bitcoin"
,
"angular"
,
"electron"
,
"typescript"
,
...
...
Breeze.UI/src/app/wallet/history/history.component.html
View file @
170919aa
...
...
@@ -32,8 +32,6 @@
<span
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"text-danger"
>
-
</span>
{{ transaction.transactionAmount + transaction.transactionFee | coinNotation }}
<small
class=
"text-uppercase"
>
{{ coinUnit }}
</small>
</li>
<li
class=
"list-inline-item col amount text-left align-baseline"
>
<span
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"badge badge-success text-capitalize"
>
Confirmed
</span>
<span
*
ngIf=
"!transaction.transactionConfirmedInBlock"
class=
"badge badge-warning text-capitalize"
>
Pending
</span>
</li>
...
...
appveyor.yml
View file @
170919aa
...
...
@@ -3,7 +3,7 @@
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
version
:
0.
1
.0.{build}
version
:
0.
3
.0.{build}
pull_requests
:
do_not_increment_build_number
:
true
...
...
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