This commit is contained in:
2025-07-23 15:04:46 +02:00
parent a14c200433
commit f28d4d67cb

View File

@@ -94,7 +94,7 @@ function initTray(win: BrowserWindow) {
click: createAboutWindow click: createAboutWindow
}, },
{ {
label: "Repair Vencord", label: "Repair Not-Nexulien",
async click() { async click() {
await downloadVencordFiles(); await downloadVencordFiles();
app.relaunch(); app.relaunch();
@@ -102,7 +102,7 @@ function initTray(win: BrowserWindow) {
} }
}, },
{ {
label: "Reset Vesktop", label: "Reset Not-Nextop",
async click() { async click() {
await clearData(win); await clearData(win);
} }
@@ -127,15 +127,15 @@ function initTray(win: BrowserWindow) {
]); ]);
tray = new Tray(ICON_PATH); tray = new Tray(ICON_PATH);
tray.setToolTip("Vesktop"); tray.setToolTip("Not-Nextop");
tray.setContextMenu(trayMenu); tray.setContextMenu(trayMenu);
tray.on("click", onTrayClick); tray.on("click", onTrayClick);
} }
async function clearData(win: BrowserWindow) { async function clearData(win: BrowserWindow) {
const { response } = await dialog.showMessageBox(win, { const { response } = await dialog.showMessageBox(win, {
message: "Are you sure you want to reset Vesktop?", message: "Are you sure you want to reset Not-Nextop?",
detail: "This will log you out, clear caches and reset all your settings!\n\nVesktop will automatically restart after this operation.", detail: "This will log you out, clear caches and reset all your settings!\n\nNot-Nextop will automatically restart after this operation.",
buttons: ["Yes", "No"], buttons: ["Yes", "No"],
cancelId: MessageBoxChoice.Cancel, cancelId: MessageBoxChoice.Cancel,
defaultId: MessageBoxChoice.Default, defaultId: MessageBoxChoice.Default,