This commit is contained in:
Lncvrt committed 2026-02-03 17:33:46 -07:00
1 parent d9fa967ade
commit be4b8fc3ee
11 files changed
+48 -42

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ export default function Installs () {
: info.category == category)
)
})
.map((entry, i) => (
.map(entry => (
<div
key={entry}
className={`downloads-entry ${
+6
View File
@@ -329,6 +329,12 @@ export default function RootLayout ({
)
)
try {
await axios.get(
'https://games.lncvrt.xyz/api/launcher/download?id=' + info.id
)
} catch {}
const res = await invoke<string>('download', {
url: info.downloadUrl,
name: info.id,
+1 -1
View File
@@ -1,6 +1,6 @@
'use client'
import { useEffect, useState } from 'react'
import { useEffect } from 'react'
import './Installs.css'
import { useGlobal } from './GlobalProvider'
import Link from 'next/link'
+1 -1
View File
@@ -8,7 +8,7 @@ import {
readTextFile,
writeFile
} from '@tauri-apps/plugin-fs'
import { VersionsConfig, VersionsConfigData } from '../types/VersionsConfig'
import { VersionsConfig } from '../types/VersionsConfig'
export async function readNormalConfig (): Promise<NormalConfig> {
const version = await app.getVersion()