Update launcher dependencies & make possible run on windows
This commit is contained in:
9 files changed
+217
-215
No files matched your search
@@ -766,10 +766,6 @@ export default function RootLayout ({
|
||||
}
|
||||
|
||||
setLoading(false)
|
||||
|
||||
const window = getCurrentWindow()
|
||||
await window.show()
|
||||
await window.setFocus()
|
||||
})()
|
||||
}, [])
|
||||
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
'use client'
|
||||
|
||||
import { useRouter } from 'next/navigation'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
export default function UpdateCheckingPage () {
|
||||
const router = useRouter()
|
||||
|
||||
useEffect(() => {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
router.push('/main')
|
||||
}
|
||||
}, [])
|
||||
|
||||
return <p className='text-5xl text-center'>Checking for updates</p>
|
||||
}
|
||||
Reference in new issue
Block a user