mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-16 07:20:16 -07:00
8 lines
257 B
TypeScript
8 lines
257 B
TypeScript
import { ipcRenderer } from 'electron';
|
|
import { IpcEvents } from '../main/IpcEvents.enum';
|
|
|
|
export default async function getAppLanguage(): Promise<string> {
|
|
const appLanguage = await ipcRenderer.invoke(IpcEvents.GetAppLanguage);
|
|
return appLanguage;
|
|
}
|