new client electron

This commit is contained in:
Kenta420 2024-01-11 15:40:18 +07:00
parent 3698e6e3c0
commit 4e6e616015
26 changed files with 12537 additions and 0 deletions

View file

@ -0,0 +1,27 @@
/// <reference types="vite-plugin-electron/electron-env" />
declare namespace NodeJS {
interface ProcessEnv {
/**
* The built directory structure
*
* ```tree
* dist
* index.html
*
* dist-electron
* main.js
* preload.js
*
* ```
*/
DIST: string
/** /dist/ or /public/ */
VITE_PUBLIC: string
}
}
// Used in Renderer process, expose in `preload.ts`
interface Window {
ipcRenderer: import('electron').IpcRenderer
}