Skip to content

Commit fcc3847

Browse files
committed
More updates
Seems like we also have a lot of non-relevant things to update. Maybe a separate PR for that is in order soon
1 parent d63a2f3 commit fcc3847

File tree

4 files changed

+574
-267
lines changed

4 files changed

+574
-267
lines changed

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -215,28 +215,28 @@
215215
"@types/react-dom": "^18.0.8",
216216
"@types/react-router-dom": "^5.3.3",
217217
"@types/tmp": "^0.2.3",
218-
"@typescript-eslint/eslint-plugin": "^5.20.0",
219-
"@typescript-eslint/parser": "^5.20.0",
220-
"@vitejs/plugin-react": "^2.2.0",
218+
"@typescript-eslint/eslint-plugin": "^5.47.1",
219+
"@typescript-eslint/parser": "^5.47.1",
220+
"@vitejs/plugin-react": "^3.0.0",
221221
"electron": "^22.2.0",
222222
"electron-builder": "^23.6.0",
223223
"electron-devtools-installer": "^3.2.0",
224-
"eslint": "^8.13.0",
224+
"eslint": "^8.30.0",
225225
"eslint-config-prettier": "^8.5.0",
226226
"eslint-plugin-import": "^2.26.0",
227-
"eslint-plugin-react": "^7.29.4",
227+
"eslint-plugin-react": "^7.31.11",
228228
"husky": "^7.0.4",
229229
"i18next-parser": "^6.3.0",
230230
"jest": "^28.1.3",
231-
"prettier": "^2.6.2",
231+
"prettier": "^2.8.1",
232232
"pretty-quick": "^3.1.3",
233233
"sass": "^1.55.0",
234234
"tmp": "^0.2.1",
235235
"ts-jest": "^28.0.7",
236236
"type-fest": "^3.2.0",
237237
"typescript": "^4.9.4",
238-
"vite": "^4.0.1",
238+
"vite": "^4.0.3",
239239
"vite-plugin-electron": "^0.10.2",
240-
"vite-plugin-svgr": "^2.2.2"
240+
"vite-plugin-svgr": "^2.4.0"
241241
}
242242
}

src/frontend/screens/Settings/components/EgsSettings.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const EgsSettings = () => {
6161
})
6262
}
6363

64-
function handleEgsFolder() {
64+
async function handleEgsFolder() {
6565
if (isLinked) {
6666
return ''
6767
}
@@ -107,7 +107,7 @@ const EgsSettings = () => {
107107
}
108108
onIconClick={
109109
!egsPath.length
110-
? () => handleEgsFolder()
110+
? async () => handleEgsFolder()
111111
: () => (isLinked ? '' : setEgsPath(''))
112112
}
113113
afterInput={

src/frontend/screens/Settings/components/Tools/index.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ export default function Tools() {
7575
callTools('runExe', exe)
7676
}
7777
}
78-
79-
function dropHandler(ev: React.DragEvent<HTMLSpanElement>) {
78+
async function dropHandler(ev: React.DragEvent<HTMLSpanElement>) {
8079
// Prevent default behavior (Prevent file from being opened)
8180
ev.preventDefault()
8281

@@ -129,7 +128,7 @@ export default function Tools() {
129128
<span className="toolTitle">Winetricks</span>
130129
</button>
131130
<a
132-
onDrop={(ev) => dropHandler(ev)}
131+
onDrop={async (ev) => dropHandler(ev)}
133132
onDragOver={(ev) => dragOverHandler(ev)}
134133
className="button outline drag"
135134
onClick={handleRunExe}

0 commit comments

Comments
 (0)