Skip to content

Commit

Permalink
bump electron v19.0.0, fix remove device bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlobu committed Jun 1, 2022
1 parent 10d8d78 commit bb33d99
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 14 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ TODO: add how to get started with local SonarCube for Deskreen in details.
- `package.json` -- in `version` key ex. `1.0.0`
- `app/package.json` -- in `version` key ex. `1.0.0`
- `app/package-lock.json` -- in `version` key ex. `1.0.0`
- `app/client/package.json` -- in `version` key ex. `1.0.0`

## Found typo on https://deskreen.com ?

Expand Down
2 changes: 1 addition & 1 deletion app/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deskreen-client-viewer",
"version": "0.1.0",
"version": "2.0.1",
"private": true,
"dependencies": {
"@blueprintjs/core": "^3.35.0",
Expand Down
3 changes: 3 additions & 0 deletions app/components/ConnectedDevicesListDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export default function ConnectedDevicesListDrawer(
setTimeout(() => {
newDevicesDisplayed.delete(id);
setDevicesDisplayed(newDevicesDisplayed);
setConnectedDevices(
connectedDevices.filter((device) => device.id !== id)
);
}, ANIMATION_DURATION);
},
[devicesDisplayed, setDevicesDisplayed]
Expand Down
2 changes: 1 addition & 1 deletion app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deskreen",
"productName": "Deskreen",
"version": "2.0.0",
"version": "2.0.1",
"description": "Deskreen turns any device into a secondary screen for your computer",
"main": "./main.prod.js",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deskreen",
"productName": "Deskreen",
"version": "2.0.0",
"version": "2.0.1",
"description": "Deskreen turns any device into a secondary screen for your computer",
"scripts": {
"build": "yarn build-client && yarn build-main && yarn build-renderer",
Expand Down Expand Up @@ -330,7 +330,7 @@
"classnames": "^2.2.6",
"clsx": "^1.1.1",
"connected-react-router": "^6.6.1",
"electron": "18.2.3",
"electron": "19.0.0",
"electron-debug": "^3.1.0",
"electron-log": "^4.2.2",
"electron-settings": "^4.0.2",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@
ajv "^6.12.0"
ajv-keywords "^3.4.1"

"@electron/get@^1.13.0":
"@electron/get@^1.14.1":
version "1.14.1"
resolved "https://registry.yarnpkg.com/@electron/get/-/get-1.14.1.tgz#16ba75f02dffb74c23965e72d617adc721d27f40"
integrity sha512-BrZYyL/6m0ZXz/lDxy/nlVhQz+WF+iPS6qXolEU8atw7h6v1aYkjwJZ63m+bJMBTxDE66X+r2tPS4a/8C82sZw==
Expand Down Expand Up @@ -2136,9 +2136,9 @@
integrity sha512-vwX+/ija9xKc/z9VqMCdbf4WYcMTGsI0I/L/6shIF3qXURxZOhPQlPRHtjTpiNhAwn0paMJzlOQqw6mAGEQnTA==

"@types/node@^16.11.26":
version "16.11.36"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.36.tgz#9ab9f8276987132ed2b225cace2218ba794fc751"
integrity sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==
version "16.11.38"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.38.tgz#be0edd097b23eace6c471c525a74b3f98803017f"
integrity sha512-hjO/0K140An3GWDw2HJfq7gko3wWeznbjXgg+rzPdVzhe198hp4x2i1dgveAOEiFKd8sOilAxzoSJiVv5P/CUg==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
Expand Down Expand Up @@ -5937,12 +5937,12 @@ electron-updater@^4.3.1:
lodash.isequal "^4.5.0"
semver "^7.3.2"

electron@18.2.3:
version "18.2.3"
resolved "https://registry.yarnpkg.com/electron/-/electron-18.2.3.tgz#36bcb8f71e41631e6b11179eeff291c8228bfd6a"
integrity sha512-DJWX03hCRKTscsfXxmW4gmgFuseop+g+m4ml7NfOMfankD8uYyr2Xyi3Ui02inL9qZOlbLMeLVCu6jKCKs8p/w==
electron@19.0.0:
version "19.0.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-19.0.0.tgz#f6b742b708ec118676ba3b38d0f3712d8f0311cf"
integrity sha512-VXwqLQxuIUr0SI8vOYDj5OLPwtKa/trn5DVKd/BFGT/U/IerfVoSZuydGLOjSL5yJlckfmKQpiq+8PW4gI8hXA==
dependencies:
"@electron/get" "^1.13.0"
"@electron/get" "^1.14.1"
"@types/node" "^16.11.26"
extract-zip "^1.0.3"

Expand Down

0 comments on commit bb33d99

Please sign in to comment.