mirror of
https://github.com/Vencord/Vesktop.git
synced 2025-02-24 14:15:09 +00:00
cleanup
This commit is contained in:
parent
0a654fec80
commit
706748f5a5
2 changed files with 1 additions and 10 deletions
|
@ -18,7 +18,7 @@ import { IpcEvents } from "../shared/IpcEvents";
|
||||||
import { setBadgeCount } from "./appBadge";
|
import { setBadgeCount } from "./appBadge";
|
||||||
import { autoStart } from "./autoStart";
|
import { autoStart } from "./autoStart";
|
||||||
import { VENCORD_FILES_DIR, VENCORD_QUICKCSS_FILE, VENCORD_THEMES_DIR } from "./constants";
|
import { VENCORD_FILES_DIR, VENCORD_QUICKCSS_FILE, VENCORD_THEMES_DIR } from "./constants";
|
||||||
import { mainWin, getTrayIcon } from "./mainWindow";
|
import { mainWin } from "./mainWindow";
|
||||||
import { Settings } from "./settings";
|
import { Settings } from "./settings";
|
||||||
import { handle, handleSync } from "./utils/ipcWrappers";
|
import { handle, handleSync } from "./utils/ipcWrappers";
|
||||||
import { PopoutWindows } from "./utils/popout";
|
import { PopoutWindows } from "./utils/popout";
|
||||||
|
|
|
@ -106,15 +106,6 @@ function initTray(win: BrowserWindow) {
|
||||||
label: "Change Tray Icon",
|
label: "Change Tray Icon",
|
||||||
async click() {
|
async click() {
|
||||||
await setTrayIcon();
|
await setTrayIcon();
|
||||||
/*
|
|
||||||
switch (choice) {
|
|
||||||
case "invalid":
|
|
||||||
return;
|
|
||||||
case "cancelled":
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Settings.store.trayIconPath = choice;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue