Skip to content

Commit 831e605

Browse files
committed
Update hypercore-fetch, add portable windows target, downgrade electron to 11
1 parent 48adfb5 commit 831e605

File tree

3 files changed

+7377
-7442
lines changed

3 files changed

+7377
-7442
lines changed

app/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ function createActions ({
193193
properties: ['openDirectory']
194194
})).filePaths[0]
195195

196-
const filePath = appPath || process.argv[0] // If testing from source find and use installed Agregore location
196+
// If testing from source find and use installed Agregore location
197+
const filePath = '"' + (appPath || process.argv[0]) + '"'
197198

198199
const title = webContents.getTitle()
199200
const shortcutName = sanitize(title, { replacement: ' ' })

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@
130130
]
131131
},
132132
"win": {
133-
"target": "nsis"
133+
"target": [
134+
"nsis",
135+
"portable"
136+
]
134137
},
135138
"linux": {
136139
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
@@ -165,7 +168,7 @@
165168
},
166169
"homepage": "https://github.com/AgregoreWeb/agregore-browser#readme",
167170
"devDependencies": {
168-
"electron": "^16.0.8",
171+
"electron": "11",
169172
"electron-builder": "^22.9.1",
170173
"standard": "^14.3.4"
171174
},
@@ -180,7 +183,7 @@
180183
"go-ipfs": "^0.11.0",
181184
"gun-fetch": "^3.2.8",
182185
"hyper-sdk": "^3.0.7",
183-
"hypercore-fetch": "github:resession/hypercore-fetch",
186+
"hypercore-fetch": "^8.5.0",
184187
"ipfs-http-client": "^56.0.0",
185188
"ipfsd-ctl": "^10.0.5",
186189
"js-ipfs-fetch": "^3.5.0",

0 commit comments

Comments
 (0)