v1.6.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "not-nextop",
|
"name": "not-nextop",
|
||||||
"version": "1.5.9",
|
"version": "1.6.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Not-Nextop is a custom Discord desktop app",
|
"description": "Not-Nextop is a custom Discord desktop app",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export const VENCORD_FILES_DIR =
|
|||||||
(require("./settings") as typeof import("./settings")).State.store.vencordDir ||
|
(require("./settings") as typeof import("./settings")).State.store.vencordDir ||
|
||||||
join(SESSION_DATA_DIR, "vencordFiles");
|
join(SESSION_DATA_DIR, "vencordFiles");
|
||||||
|
|
||||||
export const USER_AGENT = `Vesktop/${app.getVersion()} (https://github.com/Vencord/Vesktop)`;
|
export const USER_AGENT = `Vesktop/${app.getVersion()} (https://github.com/Not-Nexulien/Not-Nextop)`;
|
||||||
|
|
||||||
// dimensions shamelessly stolen from Discord Desktop :3
|
// dimensions shamelessly stolen from Discord Desktop :3
|
||||||
export const MIN_WIDTH = 940;
|
export const MIN_WIDTH = 940;
|
||||||
|
|||||||
@@ -126,10 +126,10 @@ function init() {
|
|||||||
|
|
||||||
if (!app.requestSingleInstanceLock({ IS_DEV })) {
|
if (!app.requestSingleInstanceLock({ IS_DEV })) {
|
||||||
if (IS_DEV) {
|
if (IS_DEV) {
|
||||||
console.log("Vesktop is already running. Quitting previous instance...");
|
console.log("Not-Nextop is already running. Quitting previous instance...");
|
||||||
init();
|
init();
|
||||||
} else {
|
} else {
|
||||||
console.log("Vesktop is already running. Quitting...");
|
console.log("Not-Nextop is already running. Quitting...");
|
||||||
app.quit();
|
app.quit();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -164,24 +164,24 @@ function initMenuBar(win: BrowserWindow) {
|
|||||||
|
|
||||||
const subMenu = [
|
const subMenu = [
|
||||||
{
|
{
|
||||||
label: "About Vesktop",
|
label: "About Not-Nextop",
|
||||||
click: createAboutWindow
|
click: createAboutWindow
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Force Update Vencord",
|
label: "Force Update Not-Nexulien",
|
||||||
async click() {
|
async click() {
|
||||||
await downloadVencordFiles();
|
await downloadVencordFiles();
|
||||||
app.relaunch();
|
app.relaunch();
|
||||||
app.quit();
|
app.quit();
|
||||||
},
|
},
|
||||||
toolTip: "Vesktop will automatically restart after this operation"
|
toolTip: "Not-Nextop will automatically restart after this operation"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Reset Vesktop",
|
label: "Reset Not-Nextop",
|
||||||
async click() {
|
async click() {
|
||||||
await clearData(win);
|
await clearData(win);
|
||||||
},
|
},
|
||||||
toolTip: "Vesktop will automatically restart after this operation"
|
toolTip: "Not-Nextop will automatically restart after this operation"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Relaunch",
|
label: "Relaunch",
|
||||||
@@ -248,7 +248,7 @@ function initMenuBar(win: BrowserWindow) {
|
|||||||
|
|
||||||
const menuItems = [
|
const menuItems = [
|
||||||
{
|
{
|
||||||
label: "Vesktop",
|
label: "Not-Nextop",
|
||||||
role: "appMenu",
|
role: "appMenu",
|
||||||
submenu: subMenu.filter(isTruthy)
|
submenu: subMenu.filter(isTruthy)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ function loadSettings<T extends object = any>(file: string, name: string) {
|
|||||||
return store;
|
return store;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Settings = loadSettings<TSettings>(SETTINGS_FILE, "Vesktop settings");
|
export const Settings = loadSettings<TSettings>(SETTINGS_FILE, "Not-Nextop settings");
|
||||||
export const VencordSettings = loadSettings<any>(VENCORD_SETTINGS_FILE, "Vencord settings");
|
export const VencordSettings = loadSettings<any>(VENCORD_SETTINGS_FILE, "Not-Nextop settings");
|
||||||
export const State = loadSettings<TState>(STATE_FILE, "Vesktop state");
|
export const State = loadSettings<TState>(STATE_FILE, "Not-Nextop state");
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export async function githubGet(endpoint: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function downloadVencordFiles() {
|
export async function downloadVencordFiles() {
|
||||||
const release = await githubGet("/repos/not-nexulien/Not-Nexulien/releases/latest");
|
const release = await githubGet("/repos/Not-Nexulien/Not-Nexulien/releases/latest");
|
||||||
|
|
||||||
const { assets }: ReleaseData = await release.json();
|
const { assets }: ReleaseData = await release.json();
|
||||||
|
|
||||||
|
|||||||
@@ -179,15 +179,10 @@ export default ErrorBoundary.wrap(
|
|||||||
function SettingsUI() {
|
function SettingsUI() {
|
||||||
return (
|
return (
|
||||||
<Forms.FormSection>
|
<Forms.FormSection>
|
||||||
<<<<<<< HEAD
|
|
||||||
<Text variant="heading-lg/semibold" style={{ color: "var(--header-primary)" }} tag="h2">
|
|
||||||
Not-Nextop Settings
|
|
||||||
=======
|
|
||||||
{/* FIXME: Outdated type */}
|
{/* FIXME: Outdated type */}
|
||||||
{/* @ts-expect-error Outdated type */}
|
{/* @ts-expect-error Outdated type */}
|
||||||
<Text variant="heading-xl/semibold" color="header-primary" className="vcd-settings-title">
|
<Text variant="heading-xl/semibold" color="header-primary" className="vcd-settings-title">
|
||||||
Vesktop Settings
|
Not-Nextop Settings
|
||||||
>>>>>>> 27293d4ae9db3a395325f7993cf3cc74a21e0122
|
|
||||||
</Text>
|
</Text>
|
||||||
<SettingsSections />
|
<SettingsSections />
|
||||||
</Forms.FormSection>
|
</Forms.FormSection>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>About Vesktop</title>
|
<title>About Not-Nextop</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="./style.css" type="text/css" />
|
<link rel="stylesheet" href="./style.css" type="text/css" />
|
||||||
|
|
||||||
@@ -21,23 +21,17 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1 id="title">Vesktop v{{APP_VERSION}}</h1>
|
<h1 id="title">Not-Nextop v{{APP_VERSION}}</h1>
|
||||||
<p>Vesktop is a cross platform Discord Desktop client, aiming to give you a better Discord experience</p>
|
<p>Not-Nextop is a cross platform Discord Desktop client, aiming to give you a better Discord experience</p>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Links</h2>
|
<h2>Links</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://vesktop.vencord.dev/wiki" target="_blank">Vesktop Wiki</a>
|
<a href="https://github.com/Not-Nexulien/Not-Nextop" target="_blank">Source Code</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://vencord.dev" target="_blank">Vencord Website</a>
|
<a href="https://github.com/Not-Nexulien/Not-Nextop/issues" target="_blank">Report bugs / Request features</a>
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/Vencord/Vesktop" target="_blank">Source Code</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/Vencord/Vesktop/issues" target="_blank">Report bugs / Request features</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
@@ -45,7 +39,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<h2>License</h2>
|
<h2>License</h2>
|
||||||
<p>
|
<p>
|
||||||
Vesktop is licensed under the
|
Not-Nextop is licensed under the
|
||||||
<a href="https://www.gnu.org/licenses/gpl-3.0.txt" target="_blank">GNU General Public License v3.0</a>.
|
<a href="https://www.gnu.org/licenses/gpl-3.0.txt" target="_blank">GNU General Public License v3.0</a>.
|
||||||
<br />
|
<br />
|
||||||
This is free software, and you are welcome to redistribute it under certain conditions; see the license for
|
This is free software, and you are welcome to redistribute it under certain conditions; see the license for
|
||||||
@@ -55,7 +49,7 @@
|
|||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Acknowledgements</h2>
|
<h2>Acknowledgements</h2>
|
||||||
<p>These awesome libraries empower Vesktop</p>
|
<p>These awesome libraries empower Not-Nextop</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/electron/electron" target="_blank">Electron</a>
|
<a href="https://github.com/electron/electron" target="_blank">Electron</a>
|
||||||
@@ -76,11 +70,12 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
And many
|
And many
|
||||||
<a href="https://github.com/Vencord/Vesktop/blob/main/pnpm-lock.yaml" target="_blank"
|
<a href="https://github.com/Not-Nexulien/Not-Nextop/blob/main/pnpm-lock.yaml" target="_blank"
|
||||||
>more open source libraries</a
|
>more open source libraries</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<p>And thanks <a href="https://github.com/Vencord/Vesktop" target="_blank">Vesktop</a> for the original project.</p>
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user