diff --git a/src/app/desktop/components/SystemNavbar.js b/src/app/desktop/components/SystemNavbar.js index ff9b842..2848d7d 100644 --- a/src/app/desktop/components/SystemNavbar.js +++ b/src/app/desktop/components/SystemNavbar.js @@ -18,7 +18,6 @@ import { updateUpdateAvailable, isNewVersionAvailable } from '../../../common/reducers/actions'; -import BisectHosting from '../../../ui/BisectHosting'; import Logo from '../../../ui/Logo'; import ga from '../../../common/utils/analytics'; @@ -198,21 +197,6 @@ const SystemNavbar = () => { height: 100%; `} > -
- Partnered with    -
- { - ga.sendCustomEvent('BHAdViewNavbar'); - dispatch(openModal('BisectHosting')); - }} - /> - {/* */} )} @@ -295,11 +279,6 @@ const SystemNavbar = () => { height: 100%; `} > - Partnered with    - dispatch(openModal('BisectHosting'))} - /> {/* */}
diff --git a/src/app/desktop/utils/index.js b/src/app/desktop/utils/index.js index dcd0e3a..14c9e11 100644 --- a/src/app/desktop/utils/index.js +++ b/src/app/desktop/utils/index.js @@ -324,6 +324,52 @@ export const getFilteredVersions = ( })) } ] + }, + { + value: 'quilt', + label: 'Quilt', + children: [ + { + value: 'release', + label: 'Releases', + children: fabricManifest.game + .filter(v => v.stable) + .map(v => ({ + value: v.version, + label: v.version, + children: fabricManifest.loader.map(c => ({ + value: c.version, + label: c.version + })) + })) + }, + { + value: 'snapshot', + label: 'Snapshots', + children: fabricManifest.game + .filter(v => !v.stable) + .map(v => ({ + value: v.version, + label: v.version, + children: fabricManifest.loader.map(c => ({ + value: c.version, + label: c.version + })) + })) + } + ] + }, + { + value: 'neoforge', + label: 'NeoForge', + children: Object.entries(forgeManifest).map(([k, v]) => ({ + value: k, + label: k, + children: v.sort(sortByForgeVersionDesc).map(child => ({ + value: child, + label: child.split('-')[1] + })) + })) } ]; return versions; diff --git a/src/app/desktop/views/Home.js b/src/app/desktop/views/Home.js index 0e64ba7..25db192 100644 --- a/src/app/desktop/views/Home.js +++ b/src/app/desktop/views/Home.js @@ -52,11 +52,6 @@ const Home = () => { useEffect(() => { const init = async () => { - const appVersion = await ipcRenderer.invoke('getAppVersion'); - if (lastUpdateVersion !== appVersion) { - dispatch(updateLastUpdateVersion(appVersion)); - dispatch(openModal('ChangeLogs')); - } try { const { data } = await axios.get( null diff --git a/src/app/desktop/views/Onboarding.js b/src/app/desktop/views/Onboarding.js index 4784e38..3a24ef0 100644 --- a/src/app/desktop/views/Onboarding.js +++ b/src/app/desktop/views/Onboarding.js @@ -10,7 +10,6 @@ import { } from '@fortawesome/free-solid-svg-icons'; import backgroundVideo from '../../../common/assets/onboarding.webm'; import { _getCurrentAccount } from '../../../common/utils/selectors'; -import BisectHosting from '../../../ui/BisectHosting'; import KoFiButton from '../../../common/assets/ko-fi.png'; import { openModal } from '../../../common/reducers/modals/actions'; @@ -125,7 +124,7 @@ const Home = () => { padding: 0 120px; `} > - {account.selectedProfile.name}, welcome to GDLauncher! + {account.selectedProfile.name}, welcome to GDLauncher Continuation!
{ margin: 20% 10%; `} > - GDlauncher is completely free and open source.
- If you want to support us, consider renting a server on BisectHosting, - our official partner! -
-
-
- dispatch(openModal('BisectHosting'))} - /> -
+ GDlauncher Continuation is completely free and open source.
{ return axios.get(url); }; +export const getNeoforgeManifest = () => { + const url = `https://maven.neoforged.net/releases/net/neoforged/neoforge/maven-metadata.json?timestamp=${new Date().getTime()}`; + return axios.get(url); +}; + +export const getQuiltManifest = () => { + const url = `${FABRIC_APIS}/quilt/versions`; + return axios.get(url); +}; + export const getJavaManifest = () => { const url = JAVA_MANIFEST_URL; return axios.get(url); diff --git a/src/common/reducers/actions.js b/src/common/reducers/actions.js index acf160f..8fa8623 100644 --- a/src/common/reducers/actions.js +++ b/src/common/reducers/actions.js @@ -54,6 +54,8 @@ import { getFabricJson, getFabricManifest, getForgeManifest, + getNeoforgeManifest, + getQuiltManifest, getJavaLatestManifest, getJavaManifest, getMcManifest,