Skip to content

Commit ded65ec

Browse files
Copilotmark-wiemer
andauthored
fix!: start rebrand from Modrinth to NML (Nerd's Minecraft Launcher) (#2)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mark-wiemer <7833360+mark-wiemer@users.noreply.github.com>
1 parent ef3d1ec commit ded65ec

266 files changed

Lines changed: 555 additions & 609 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/frontend-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
wait:
10-
if: github.repository_owner == 'modrinth'
10+
if: github.repository_owner == 'example'
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: read
@@ -26,5 +26,5 @@ jobs:
2626
curl -X POST \
2727
-H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
2828
-H "Content-Type: application/json" \
29-
--data '{"hosts": ["modrinth.com", "www.modrinth.com"]}' \
29+
--data '{"hosts": ["example.com", "www.example.com"]}' \
3030
https://api.cloudflare.com/client/v4/zones/e39df17b9c4ef44cbce2646346ee6d33/purge_cache

.github/workflows/theseus-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: pnpm install
106106

107107
- name: build app (macos)
108-
run: pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config "tauri-release.conf.json"
108+
run: pnpm --filter=@nml/app run tauri build --target universal-apple-darwin --config "tauri-release.conf.json"
109109
if: startsWith(matrix.platform, 'macos')
110110
env:
111111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -120,7 +120,7 @@ jobs:
120120
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
121121

122122
- name: build app
123-
run: pnpm --filter=@modrinth/app run tauri build --config "tauri-release.conf.json"
123+
run: pnpm --filter=@nml/app run tauri build --config "tauri-release.conf.json"
124124
id: build_os
125125
if: "!startsWith(matrix.platform, 'macos')"
126126
env:

COPYING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ For detailed information, consult each package's COPYING.md file, if available.
66

77
## Modrinth Branding
88

9-
The use of Modrinth branding elements, including but not limited to the wrench-in-labyrinth logo, the landing image, and any variations thereof, is strictly prohibited without explicit written permission from Rinth, Inc. This includes trademarks, logos, or other branding elements.
9+
This project is a fork of Modrinth but is not associated with Rinth, Inc. All Modrinth branding elements have been removed from this fork and replaced with NML (Nerd's Minecraft Launcher) branding.
1010

11-
All rights reserved. © 2020-2024 Rinth, Inc.
11+
The original Modrinth branding policy stated:
1212

13-
If you fork this repository, you must remove all Modrinth branding assets from your fork.
13+
> The use of Modrinth branding elements, including but not limited to the wrench-in-labyrinth logo, the landing image, and any variations thereof, is strictly prohibited without explicit written permission from Rinth, Inc. This includes trademarks, logos, or other branding elements.
14+
15+
> All rights reserved. © 2020-2024 Rinth, Inc.
16+
17+
If you fork this repository, you must ensure all Modrinth branding assets remain removed from your fork.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ strip = true # Remove debug symbols
2020
[profile.dev.package.sqlx-macros]
2121
opt-level = 3
2222

23+
# Note: This project is a fork of Modrinth (https://github.com/modrinth/code)
24+
# but is not associated with Rinth, Inc.
2325
[patch.crates-io]
2426
wry = { git = "https://github.com/modrinth/wry", rev ="e88d4a1" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This project is a fork of [Modrinth](https://github.com/modrinth/code), but is n
77
Welcome to the Nerd's Minecraft Launcher monorepo, the codebase for the NML app 🤓 This project is still in active development and has no releases yet.
88

99
<!-- todo
10-
If you're not a developer and you've stumbled upon this repository, you can access the web interface on the [NML website??](https://markwiemer.com/nml) and download the latest release of the app [here](todo GitHub Releases).
10+
If you're not a developer and you've stumbled upon this repository, you can access the web interface on the [NML website??](https://example.com/nml) and download the latest release of the app [here](todo GitHub Releases).
1111
-->
1212

1313
## Development
@@ -25,7 +25,7 @@ If you plan to fork this repository for your own purposes, please review our [co
2525

2626
## Support
2727

28-
If you need help with the Modrinth web interface or app, please open a GitHub issue.
28+
If you need help with Nerd's Minecraft Launcher, please open a GitHub issue.
2929

3030
## License
3131

apps/app-frontend/COPYING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
The source code of the theseus repository is licensed under the GNU General Public License, Version 3 only, which is provided in the file [LICENSE](./LICENSE). However, some files listed below are licensed under a different license.
44

5-
## Modrinth logo
5+
**Note:** This project is a fork of Modrinth App but is not associated with Rinth, Inc.
66

7-
The use of Modrinth branding elements, including but not limited to the wrench-in-labyrinth logo, the landing image, and any variations thereof, is strictly prohibited without explicit written permission from Rinth, Inc. This includes trademarks, logos, or other branding elements.
7+
The original Modrinth branding policy stated:
88

9+
> The use of Modrinth branding elements, including but not limited to the wrench-in-labyrinth logo, the landing image, and any variations thereof, is strictly prohibited without explicit written permission from Rinth, Inc. This includes trademarks, logos, or other branding elements.
10+
>
911
> All rights reserved. © 2020-2023 Rinth, Inc.
1012
11-
This includes, but may not be limited to, the following files:
12-
13-
- theseus_gui/src-tauri/icons/\*
13+
If you'd like to copy Nerd's Minecraft Launcher, you're more than welcome to do so, but you must clarify wherever possible that you are an unofficial fork of NML so that users aren't confused.

apps/app-frontend/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default createConfigForNuxt().append([
1313
},
1414
},
1515
{
16-
name: 'modrinth',
16+
name: 'nml',
1717
rules: {
1818
'vue/html-self-closing': 'off',
1919
'vue/multi-word-component-names': 'off',

apps/app-frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<title>Modrinth App</title>
7+
<title>Nerd's Minecraft Launcher</title>
88

99
<link rel="stylesheet" href="/src/assets/stylesheets/global.scss" />
1010
</head>

apps/app-frontend/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@modrinth/app-frontend",
2+
"name": "@nml/app-frontend",
33
"private": true,
44
"version": "0.9.0",
55
"type": "module",
@@ -12,9 +12,9 @@
1212
"intl:extract": "formatjs extract \"{,src/components,src/composables,src/helpers,src/pages,src/store}/**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" --ignore '**/*.d.ts' --ignore 'node_modules' --out-file src/locales/en-US/index.json --format crowdin --preserve-whitespace"
1313
},
1414
"dependencies": {
15-
"@modrinth/assets": "workspace:*",
16-
"@modrinth/ui": "workspace:*",
17-
"@modrinth/utils": "workspace:*",
15+
"@nml/assets": "workspace:*",
16+
"@nml/ui": "workspace:*",
17+
"@nml/utils": "workspace:*",
1818
"@sentry/vue": "^8.27.0",
1919
"@tauri-apps/api": "^2.1.1",
2020
"@tauri-apps/plugin-dialog": "^2.2.0",

apps/app-frontend/src/App.vue

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ import {
1616
RestoreIcon,
1717
LogOutIcon,
1818
RightArrowIcon,
19-
} from '@modrinth/assets'
20-
import { Avatar, Button, ButtonStyled, Notifications, OverflowMenu } from '@modrinth/ui'
19+
} from '@nml/assets'
20+
import { Avatar, Button, ButtonStyled, Notifications, OverflowMenu } from '@nml/ui'
2121
import { useLoading, useTheming } from '@/store/state'
22-
import ModrinthAppLogo from '@/assets/modrinth_app.svg?component'
22+
import NMLAppLogo from '@/assets/nml_app.svg?component'
2323
import AccountsCard from '@/components/ui/AccountsCard.vue'
2424
import InstanceCreationModal from '@/components/ui/InstanceCreationModal.vue'
2525
import { get } from '@/helpers/settings'
2626
import Breadcrumbs from '@/components/ui/Breadcrumbs.vue'
2727
import RunningAppBar from '@/components/ui/RunningAppBar.vue'
2828
import SplashScreen from '@/components/ui/SplashScreen.vue'
2929
import ErrorModal from '@/components/ui/ErrorModal.vue'
30-
import ModrinthLoadingIndicator from '@/components/LoadingIndicatorBar.vue'
30+
import LoadingIndicator from '@/components/LoadingIndicatorBar.vue'
3131
import { handleError, useNotifications } from '@/store/notifications.js'
3232
import { command_listener, warning_listener } from '@/helpers/events.js'
3333
import { type } from '@tauri-apps/plugin-os'
@@ -46,7 +46,7 @@ import { useInstall } from '@/store/install.js'
4646
import { invoke } from '@tauri-apps/api/core'
4747
import { get_opening_command, initialize_state } from '@/helpers/state'
4848
import { saveWindowState, StateFlags } from '@tauri-apps/plugin-window-state'
49-
import { renderString } from '@modrinth/utils'
49+
import { renderString } from '@nml/utils'
5050
import { useFetch } from '@/helpers/fetch.js'
5151
import { check } from '@tauri-apps/plugin-updater'
5252
import NavButton from '@/components/ui/NavButton.vue'
@@ -258,7 +258,7 @@ themeStore.$subscribe(() => {
258258
259259
const forceSidebar = ref(false)
260260
const sidebarVisible = computed(() => sidebarToggled.value || forceSidebar.value)
261-
const showAd = computed(() => !(!sidebarVisible.value || hasPlus.value))
261+
const showAd = false
262262
263263
router.afterEach((to) => {
264264
forceSidebar.value = to.path.startsWith('/browse') || to.path.startsWith('/project')
@@ -442,7 +442,7 @@ function handleAuxClick(e) {
442442
</div>
443443
<div data-tauri-drag-region class="app-grid-statusbar bg-bg-raised h-[--top-bar-height] flex">
444444
<div data-tauri-drag-region class="flex p-3">
445-
<ModrinthAppLogo class="h-full w-auto text-contrast pointer-events-none" />
445+
<NMLAppLogo class="h-full w-auto text-contrast pointer-events-none" />
446446
<Breadcrumbs class="pt-[2px]" />
447447
</div>
448448
<section class="flex ml-auto items-center">
@@ -497,7 +497,7 @@ function handleAuxClick(e) {
497497
width: 'calc(100% - var(--left-bar-width) - var(--right-bar-width))',
498498
}"
499499
>
500-
<ModrinthLoadingIndicator />
500+
<LoadingIndicator />
501501
</div>
502502
<div
503503
v-if="themeStore.featureFlags.page_path"
@@ -572,16 +572,6 @@ function handleAuxClick(e) {
572572
</div>
573573
</div>
574574
</div>
575-
<template v-if="showAd">
576-
<a
577-
href="https://modrinth.plus?app"
578-
class="absolute bottom-[250px] w-full flex justify-center items-center gap-1 px-4 py-3 text-purple font-medium hover:underline z-10"
579-
target="_blank"
580-
>
581-
<ArrowBigUpDashIcon class="text-2xl" /> Upgrade to Modrinth+
582-
</a>
583-
<PromotionWrapper />
584-
</template>
585575
</div>
586576
<div class="view">
587577
<div v-if="criticalErrorMessage" class="critical-error-banner" data-tauri-drag-region>

0 commit comments

Comments
 (0)