Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 3050d23

Browse files
committed
Merge branch 'develop'
2 parents 015f7b5 + e76401e commit 3050d23

File tree

274 files changed

+24065
-19712
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

274 files changed

+24065
-19712
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33

44
# environment variables
55
.env
6-
.env.local
7-
.env.development.local
8-
.env.test.local
9-
.env.production.local
6+
.env.*
107

118
# building
129
/build

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.15

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
branches:
2-
only: travis-build
3-
41
language: node_js
5-
node_js: "8"
2+
node_js:
3+
- "8.15"
64

75
notifications:
86
email: false
@@ -23,6 +21,9 @@ matrix:
2321
- ELECTRON_CACHE=$HOME/.cache/electron
2422
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
2523

24+
before_cache:
25+
- rm -rf $HOME/.cache/electron-builder/wine
26+
2627
cache:
2728
directories:
2829
- node_modules
@@ -38,6 +39,7 @@ before_install:
3839
fi
3940
4041
install:
42+
- nvm install
4143
- npm i
4244

4345
before_script:
@@ -46,14 +48,12 @@ before_script:
4648
script:
4749
- |
4850
if [ "$TRAVIS_BRANCH" == "develop" ]; then
49-
npm test && npm run dist
51+
npm run dist
5052
elif [ "$TRAVIS_BRANCH" == "master" ]; then
51-
npm test && npm run release
53+
npm run env
54+
npm run release
5255
fi
5356
54-
before_cache:
55-
- rm -rf $HOME/.cache/electron-builder/wine
56-
5757
branches:
5858
except:
5959
- "/^v\\d+\\.\\d+\\.\\d+$/"

README.md

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -43,39 +43,6 @@ More info [github.com/megahertz/electron-log](https://github.com/megahertz/elect
4343

4444
To completely remove the application and start over, remove the settings file too.
4545

46-
### Run in Ropsten Testnet
47-
48-
Modify the `Settings` file replacing the following properties:
49-
50-
```json
51-
{
52-
"app": {
53-
"chain": "ropsten",
54-
"node": {
55-
"jsonRpcApiUrl": "https://eth.bloqrock.net:8545",
56-
"websocketApiUrl": "wss://eth.bloqrock.net:8546"
57-
},
58-
"indexerApiUrl": "https://indexer.bloqrock.net",
59-
"tracerApiUrl": "https://tracer.bloqrock.net"
60-
},
61-
"tokens": {
62-
"0xf3e9a687fdf24112745d4d7dee150ba87a07ecc3": {
63-
"decimals": 18,
64-
"name": "Metronome",
65-
"symbol": "MET"
66-
}
67-
}
68-
}
69-
```
70-
71-
Then, start the wallet setting the proper environment variable as follows:
72-
73-
```bash
74-
REACT_APP_ETH_CHAIN=ropsten npm run dev
75-
```
76-
77-
Alternatively, a `.env` file can also be used to set the chain variable.
78-
7946
### Production Build
8047

8148
```bash
@@ -86,8 +53,10 @@ npm run dist
8653
npm run release
8754
```
8855

89-
To sign the macOS installers, execute `npm run dist:mac`. The signing certificate shall be in the root folder and be named `met.p12`. The certificate password will be required before signing.
56+
To sign the macOS installers, execute `npm run dist:mac`.
57+
The signing certificate shall be in the root folder and be named `met.p12`.
58+
The certificate password will be required before signing.
9059

91-
## LICENSE
60+
## License
9261

9362
MIT

appveyor.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ init:
77

88
shallow_clone: true
99

10-
environment:
11-
DEBUG: electron-builder
12-
1310
cache:
1411
- node_modules
1512
- '%USERPROFILE%\.electron'
1613

1714
install:
18-
- ps: Install-Product node LTS x64
19-
- npm i --global --production windows-build-tools
15+
- ps: Install-Product node 8.15
16+
- npm i --global --production windows-build-tools@4
2017
- npm i
2118

2219
platform:
@@ -25,7 +22,7 @@ platform:
2522
build_script:
2623
- npm run dist
2724

28-
test: off
25+
test: "off"
2926

3027
for:
3128
-
@@ -35,4 +32,5 @@ for:
3532

3633
configuration: Release
3734
build_script:
38-
- npm run release
35+
- npm run env
36+
- npm run release

0 commit comments

Comments
 (0)