Skip to content

Commit 7b6f55b

Browse files
committed
Delete installed servers on startup if the bundled server is newer
This reduces incompatibility risk, and resolves some bugs with users updating between current desktop versions.
1 parent 4255736 commit 7b6f55b

File tree

3 files changed

+214
-20
lines changed

3 files changed

+214
-20
lines changed

package-lock.json

Lines changed: 139 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"electron-first-run": "^3.0.0",
2828
"electron-squirrel-startup": "^1.0.0",
2929
"electron-window-state": "^5.0.3",
30+
"rimraf": "^2.7.1",
31+
"semver": "^7.2.1",
3032
"tslib": "^1.10.0",
3133
"universal-analytics": "^0.4.20",
3234
"uuid": "^3.3.3",
@@ -38,6 +40,7 @@
3840
"@types/lodash": "^4.14.149",
3941
"@types/node": "^12.12.14",
4042
"@types/node-fetch": "^2.1.4",
43+
"@types/rimraf": "^3.0.0",
4144
"@types/universal-analytics": "^0.4.3",
4245
"@types/uuid": "^3.4.6",
4346
"@types/yargs": "^15.0.3",
@@ -50,7 +53,6 @@
5053
"httptoolkit-server": "^0.1.34",
5154
"lodash": "^4.17.15",
5255
"node-fetch": "^2.6.0",
53-
"rimraf": "^2.6.3",
5456
"targz": "^1.0.1",
5557
"ts-node": "^7.0.1",
5658
"tslint": "^5.20.1",

0 commit comments

Comments
 (0)