Skip to content

Commit 7261f44

Browse files
committed
env file fix for builds
1 parent 55bed75 commit 7261f44

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

electron/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require('dotenv').config();
1+
require('dotenv').config({ path: require('path').resolve(__dirname, '../.env') });
22
require("isomorphic-fetch");
33
const {shell, clipboard, dialog, app, BrowserWindow, Tray, Menu} = require('electron');
44

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"dependencies": {
2121
"@ledgerhq/hw-app-eth": "^4.68.4",
2222
"@ledgerhq/hw-transport-node-hid": "^4.55.0",
23-
"@walletpack/bitcoin": "10.0.29",
24-
"@walletpack/core": "10.0.26",
23+
"@walletpack/bitcoin": "1.0.29",
24+
"@walletpack/core": "1.0.26",
2525
"@walletpack/eosio": "0.0.30",
2626
"@walletpack/ethereum": "0.0.29",
2727
"@walletpack/tron": "0.0.29",
@@ -86,6 +86,7 @@
8686
"electron/**/*",
8787
"static/**/*",
8888
"html/**/*",
89+
".env",
8990
"electron.js",
9091
"preload.js",
9192
"package.json"

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@
164164
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.13.tgz#ac786d623860adf39a3f51d629480aacd6a6eec7"
165165
integrity sha512-yN/FNNW1UYsRR1wwAoyOwqvDuLDtVXnaJTZ898XIw/Q5cCaeVAlVwvsmXLX5PuiScBYwZsZU4JYSHB3TvfdwvQ==
166166

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

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

0 commit comments

Comments
 (0)