Files
Modrinth-Enhanced/patches/0001-Rename-the-app-to-Modrinth-Enhanced.patch
T

111 lines
4.0 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Modrinth Enhanced <patches@modrinth-enhanced.invalid>
Date: Mon, 14 Sep 2026 09:56:18 +0200
Subject: [PATCH] Rename the app to Modrinth Enhanced
Changes the product name, the binary name, the window title and the
version label shown in settings.
The title bar keeps the plain Modrinth wordmark: a badge next to it
pushes the width of that bar up, and the name is already visible in the
window title and in settings.
The bundle identifier is deliberately left as `ModrinthApp` so that
Modrinth Enhanced keeps using the same data directory as the official
app and stays a drop-in replacement for it.
---
apps/app-frontend/index.html | 2 +-
.../src/components/ui/modal/AppSettingsModal.vue | 2 +-
apps/app-frontend/src/locales/en-US/index.json | 2 +-
apps/app/tauri.conf.json | 6 +++---
apps/app/tauri.linux.conf.json | 2 +-
apps/app/tauri.macos.conf.json | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/apps/app-frontend/index.html b/apps/app-frontend/index.html
index 50867a4..6367788 100644
--- a/apps/app-frontend/index.html
+++ b/apps/app-frontend/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>Modrinth App</title>
+ <title>Modrinth Enhanced</title>
<link rel="stylesheet" href="/src/assets/stylesheets/global.scss" />
</head>
diff --git a/apps/app-frontend/src/components/ui/modal/AppSettingsModal.vue b/apps/app-frontend/src/components/ui/modal/AppSettingsModal.vue
index dd55fe5..0f33d0e 100644
--- a/apps/app-frontend/src/components/ui/modal/AppSettingsModal.vue
+++ b/apps/app-frontend/src/components/ui/modal/AppSettingsModal.vue
@@ -312,7 +312,7 @@ const messages = defineMessages({
},
appVersion: {
id: 'app.settings.app-version',
- defaultMessage: 'Modrinth App {version}',
+ defaultMessage: 'Modrinth Enhanced {version}',
},
macos: {
id: 'app.settings.operating-system.macos',
diff --git a/apps/app-frontend/src/locales/en-US/index.json b/apps/app-frontend/src/locales/en-US/index.json
index cc65180..faab078 100644
--- a/apps/app-frontend/src/locales/en-US/index.json
+++ b/apps/app-frontend/src/locales/en-US/index.json
@@ -1548,7 +1548,7 @@
"message": "Oldest"
},
"app.settings.app-version": {
- "message": "Modrinth App {version}"
+ "message": "Modrinth Enhanced {version}"
},
"app.settings.default-instance-options.environment-variables.description": {
"message": "Environment variables set when launching an instance."
diff --git a/apps/app/tauri.conf.json b/apps/app/tauri.conf.json
index db4ef36..e69e6b7 100644
--- a/apps/app/tauri.conf.json
+++ b/apps/app/tauri.conf.json
@@ -55,9 +55,9 @@
}
]
},
- "productName": "Modrinth App",
+ "productName": "Modrinth Enhanced",
"version": "../app-frontend/package.json",
- "mainBinaryName": "Modrinth App",
+ "mainBinaryName": "Modrinth Enhanced",
"identifier": "ModrinthApp",
"plugins": {
"deep-link": {
@@ -77,7 +77,7 @@
"fullscreen": false,
"height": 800,
"resizable": true,
- "title": "Modrinth App",
+ "title": "Modrinth Enhanced",
"label": "main",
"width": 1280,
"minHeight": 700,
diff --git a/apps/app/tauri.linux.conf.json b/apps/app/tauri.linux.conf.json
index 5b2e9ec..81a368c 100644
--- a/apps/app/tauri.linux.conf.json
+++ b/apps/app/tauri.linux.conf.json
@@ -1,3 +1,3 @@
{
- "mainBinaryName": "ModrinthApp"
+ "mainBinaryName": "ModrinthEnhanced"
}
diff --git a/apps/app/tauri.macos.conf.json b/apps/app/tauri.macos.conf.json
index 7ab0afc..2b20a49 100644
--- a/apps/app/tauri.macos.conf.json
+++ b/apps/app/tauri.macos.conf.json
@@ -7,7 +7,7 @@
"fullscreen": false,
"height": 800,
"resizable": true,
- "title": "Modrinth App",
+ "title": "Modrinth Enhanced",
"width": 1280,
"minHeight": 700,
"minWidth": 1100,