Skip to content

Commit 41a18e5

Browse files
committed
fix: mispeling
1 parent a99098f commit 41a18e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/backend/api/misc.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ export const getGOGLinuxInstallersLangs = async (appName: string) =>
6868
ipcRenderer.invoke('getGOGLinuxInstallersLangs', appName)
6969
export const getAlternativeWine = async () =>
7070
ipcRenderer.invoke('getAlternativeWine')
71-
export const getLocalPeloadPath = async () =>
72-
ipcRenderer.invoke('getLocalPeloadPath')
71+
export const getLocalPreloadPath = async () =>
72+
ipcRenderer.invoke('getLocalPreloadPath')
7373
export const getShellPath = async (saveLocation: string) =>
7474
ipcRenderer.invoke('getShellPath', saveLocation)
7575
export const callTool = async (toolArgs: Tools) =>

src/common/typedefs/ipcBridge.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ interface AsyncIPCFunctions extends HyperPlayAsyncIPCFunctions {
365365
}>
366366
logoutLegendary: () => Promise<void>
367367
getAlternativeWine: () => Promise<WineInstallation[]>
368-
getLocalPeloadPath: () => Promise<string>
368+
getLocalPreloadPath: () => Promise<string>
369369
readConfig: (config_class: 'library' | 'user') => Promise<GameInfo[] | string>
370370
requestSettings: (appName: string) => Promise<AppSettings | GameSettings>
371371
writeConfig: (args: { appName: string; config: Partial<AppSettings> }) => void

src/frontend/screens/WebView/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function WebView({
114114
useEffect(() => {
115115
let mounted = true
116116
const fetchLocalPreloadPath = async () => {
117-
const path = (await window.api.getLocalPeloadPath()) as unknown
117+
const path = (await window.api.getLocalPreloadPath()) as unknown
118118
if (mounted) {
119119
setPreloadPath(path as string)
120120
}

0 commit comments

Comments
 (0)