This commit is contained in:
defautluser0
2025-05-23 17:38:40 +02:00
parent 4befe3ad6c
commit 3ee042078a
8 changed files with 18 additions and 18 deletions

View File

@@ -395,7 +395,7 @@ function initStaticTitle(win: BrowserWindow) {
addSettingsListener("staticTitle", enabled => { addSettingsListener("staticTitle", enabled => {
if (enabled) { if (enabled) {
win.setTitle("Vesktop"); win.setTitle("Not-Nextop");
win.on("page-title-updated", listener); win.on("page-title-updated", listener);
} else { } else {
win.off("page-title-updated", listener); win.off("page-title-updated", listener);

View File

@@ -75,8 +75,8 @@ export async function askToApplySteamLayout(win: BrowserWindow) {
// Touch screen breaks in some menus when native touch mode is enabled on latest SteamOS beta, remove most of the update specific text once that's fixed. // Touch screen breaks in some menus when native touch mode is enabled on latest SteamOS beta, remove most of the update specific text once that's fixed.
const { response } = await dialog.showMessageBox(win, { const { response } = await dialog.showMessageBox(win, {
message: `${update ? "Update" : "Apply"} Vesktop Steam Input Layout?`, message: `${update ? "Update" : "Apply"} Not-Nextop Steam Input Layout?`,
detail: `Would you like to ${update ? "Update" : "Apply"} Vesktop's recommended Steam Deck controller settings? detail: `Would you like to ${update ? "Update" : "Apply"} Not-Nextop's recommended Steam Deck controller settings?
${update ? "Click yes using the touchpad" : "Tap yes"}, then press the X button or tap Apply Layout to confirm.${ ${update ? "Click yes using the touchpad" : "Tap yes"}, then press the X button or tap Apply Layout to confirm.${
update ? " Doing so will undo any customizations you have made." : "" update ? " Doing so will undo any customizations you have made." : ""
} }

View File

@@ -18,7 +18,7 @@ export const AutoStartToggle: SettingsComponent = () => {
await VesktopNative.autostart[v ? "enable" : "disable"](); await VesktopNative.autostart[v ? "enable" : "disable"]();
setAutoStartEnabled(v); setAutoStartEnabled(v);
}} }}
note="Automatically start Vesktop on computer start-up" note="Automatically start Not-Nextop on computer start-up"
> >
Start With System Start With System
</Switch> </Switch>

View File

@@ -85,7 +85,7 @@ const VencordLocationPicker: SettingsComponent = ({ settings }) => {
break; break;
case "ok": case "ok":
Toasts.show({ Toasts.show({
message: "Vencord install changed. Fully restart Vesktop to apply.", message: "Not-Nexulien install changed. Fully restart Not-Nextop to apply.",
id: Toasts.genId(), id: Toasts.genId(),
type: Toasts.Type.SUCCESS type: Toasts.Type.SUCCESS
}); });
@@ -93,7 +93,7 @@ const VencordLocationPicker: SettingsComponent = ({ settings }) => {
case "invalid": case "invalid":
Toasts.show({ Toasts.show({
message: message:
"You did not choose a valid Vencord install. Make sure you're selecting the dist dir!", "You did not choose a valid Not-Nexulien install. Make sure you're selecting the dist dir!",
id: Toasts.genId(), id: Toasts.genId(),
type: Toasts.Type.FAILURE type: Toasts.Type.FAILURE
}); });

View File

@@ -50,7 +50,7 @@ const SettingsOptions: Record<string, Array<BooleanSetting | SettingsComponent>>
{ {
key: "staticTitle", key: "staticTitle",
title: "Static Title", title: "Static Title",
description: 'Makes the window title "Vesktop" instead of changing to the current page', description: 'Makes the window title "Not-Nextop" instead of changing to the current page',
defaultValue: false defaultValue: false
}, },
{ {
@@ -79,14 +79,14 @@ const SettingsOptions: Record<string, Array<BooleanSetting | SettingsComponent>>
{ {
key: "tray", key: "tray",
title: "Tray Icon", title: "Tray Icon",
description: "Add a tray icon for Vesktop", description: "Add a tray icon for Not-Nextop",
defaultValue: true, defaultValue: true,
invisible: () => isMac invisible: () => isMac
}, },
{ {
key: "minimizeToTray", key: "minimizeToTray",
title: "Minimize to tray", title: "Minimize to tray",
description: "Hitting X will make Vesktop minimize to the tray instead of closing", description: "Hitting X will make Not-Nextop minimize to the tray instead of closing",
defaultValue: true, defaultValue: true,
invisible: () => isMac, invisible: () => isMac,
disabled: () => Settings.store.tray === false disabled: () => Settings.store.tray === false
@@ -122,7 +122,7 @@ const SettingsOptions: Record<string, Array<BooleanSetting | SettingsComponent>>
{ {
key: "openLinksWithElectron", key: "openLinksWithElectron",
title: "Open Links in app (experimental)", title: "Open Links in app (experimental)",
description: "Opens links in a new Vesktop window instead of your web browser", description: "Opens links in a new Not-Nextop window instead of your web browser",
defaultValue: false defaultValue: false
} }
], ],
@@ -168,7 +168,7 @@ export default ErrorBoundary.wrap(
return ( return (
<Forms.FormSection> <Forms.FormSection>
<Text variant="heading-lg/semibold" style={{ color: "var(--header-primary)" }} tag="h2"> <Text variant="heading-lg/semibold" style={{ color: "var(--header-primary)" }} tag="h2">
Vesktop Settings Not-Nextop Settings
</Text> </Text>
<SettingsSections /> <SettingsSections />
@@ -177,6 +177,6 @@ export default ErrorBoundary.wrap(
}, },
{ {
message: message:
"Failed to render the Vesktop Settings tab. If this issue persists, try to right click the Vesktop tray icon, then click 'Repair Vencord'. And make sure your Vesktop is up to date." "Failed to render the Not-Nextop Settings tab. If this issue persists, try to right click the Not-Nextop tray icon, then click 'Repair Not-Nexulien'. And make sure your Not-Nextop is up to date."
} }
); );

View File

@@ -1,6 +1,6 @@
/* /*
* Vesktop, a desktop app aiming to give you a snappier Discord Experience * Vesktop, a desktop app aiming to give you a snappier Discord Experience
* Copyright (c) 2023 Vendicated and Vencord contributors * Copyright (c) 2025 Vendicated and Vesktop contributors
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
*/ */
@@ -33,7 +33,7 @@ export const WindowsTransparencyControls: SettingsComponent = ({ settings }) =>
}, },
{ label: "Tabbed (variant of Mica with stronger background tinting)", value: "tabbed" }, { label: "Tabbed (variant of Mica with stronger background tinting)", value: "tabbed" },
{ {
label: "Acrylic (blurs the window behind Vesktop for a translucent background)", label: "Acrylic (blurs the window behind Not-Nextop for a translucent background)",
value: "acrylic" value: "acrylic"
} }
]} ]}

View File

@@ -21,13 +21,13 @@ export { Settings };
import type SettingsPlugin from "@vencord/types/plugins/_core/settings"; import type SettingsPlugin from "@vencord/types/plugins/_core/settings";
VesktopLogger.log("read if cute :3"); VesktopLogger.log("read if cute :3");
VesktopLogger.log("Vesktop v" + VesktopNative.app.getVersion()); VesktopLogger.log("Not-Nextop v" + VesktopNative.app.getVersion());
const customSettingsSections = (Vencord.Plugins.plugins.Settings as any as typeof SettingsPlugin).customSections; const customSettingsSections = (Vencord.Plugins.plugins.Settings as any as typeof SettingsPlugin).customSections;
customSettingsSections.push(() => ({ customSettingsSections.push(() => ({
section: "Vesktop", section: "Not-Nextop",
label: "Vesktop Settings", label: "Not-Nextop Settings",
element: SettingsUi, element: SettingsUi,
className: "vc-vesktop-settings" className: "vc-vesktop-settings"
})); }));

View File

@@ -6,4 +6,4 @@
import { Logger } from "@vencord/types/utils"; import { Logger } from "@vencord/types/utils";
export const VesktopLogger = new Logger("Vesktop", "#d3869b"); export const VesktopLogger = new Logger("Not-Nextop", "#d3869b");