mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Add discord rich presence (#72)
This commit is contained in:
parent
2664a80851
commit
244c00c4c6
12 changed files with 391 additions and 7 deletions
2
src/renderer/preload.d.ts
vendored
2
src/renderer/preload.d.ts
vendored
|
|
@ -8,11 +8,13 @@ import { Lyrics } from '/@/main/preload/lyrics';
|
|||
import { Utils } from '/@/main/preload/utils';
|
||||
import { LocalSettings } from '/@/main/preload/local-settings';
|
||||
import { Ipc } from '/@/main/preload/ipc';
|
||||
import { DiscordRpc } from '/@/main/preload/discord-rpc';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electron: {
|
||||
browser: any;
|
||||
discordRpc: DiscordRpc;
|
||||
ipc?: Ipc;
|
||||
ipcRenderer: {
|
||||
APP_RESTART(): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue