Skip to content

Commit

Permalink
env file fix for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjames committed Oct 13, 2019
1 parent 55bed75 commit 7261f44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion electron/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('dotenv').config();
require('dotenv').config({ path: require('path').resolve(__dirname, '../.env') });
require("isomorphic-fetch");
const {shell, clipboard, dialog, app, BrowserWindow, Tray, Menu} = require('electron');

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"dependencies": {
"@ledgerhq/hw-app-eth": "^4.68.4",
"@ledgerhq/hw-transport-node-hid": "^4.55.0",
"@walletpack/bitcoin": "10.0.29",
"@walletpack/core": "10.0.26",
"@walletpack/bitcoin": "1.0.29",
"@walletpack/core": "1.0.26",
"@walletpack/eosio": "0.0.30",
"@walletpack/ethereum": "0.0.29",
"@walletpack/tron": "0.0.29",
Expand Down Expand Up @@ -86,6 +86,7 @@
"electron/**/*",
"static/**/*",
"html/**/*",
".env",
"electron.js",
"preload.js",
"package.json"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,15 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.13.tgz#ac786d623860adf39a3f51d629480aacd6a6eec7"
integrity sha512-yN/FNNW1UYsRR1wwAoyOwqvDuLDtVXnaJTZ898XIw/Q5cCaeVAlVwvsmXLX5PuiScBYwZsZU4JYSHB3TvfdwvQ==

"@walletpack/bitcoin@10.0.29":
"@walletpack/bitcoin@1.0.29":
version "1.0.29"
resolved "https://registry.yarnpkg.com/@walletpack/bitcoin/-/bitcoin-1.0.29.tgz#d085a2a3a389f9056d14848c121b5b12b5d7d28c"
integrity sha512-ag3OaHklZZUkp0oguMS2ebU8NMakPW6j5zsgx9NHC3OLxfUC49HdAo++LtB2E+osJODgG1jWy4RW2F6z3n7JlA==
dependencies:
"@walletpack/core" "^1.0.26"
bitcoinjs-lib "^5.1.2"

"@walletpack/core@10.0.26", "@walletpack/core@^1.0.26":
"@walletpack/core@1.0.26", "@walletpack/core@^1.0.26":
version "1.0.26"
resolved "https://registry.yarnpkg.com/@walletpack/core/-/core-1.0.26.tgz#51fdec4854536a9e957dc5e5166a65569b9c244e"
integrity sha512-7bS/yEoFjf5T1PXjIOKoAypC5cd1CyAJNTV+apPtWSult165achF6WaP5XVIxJZsVnVyVRLCdEjjfpbk36kc4Q==
Expand Down

0 comments on commit 7261f44

Please sign in to comment.