Add dashboard button to XPS game

This commit is contained in:
Lncvrt committed 2026-04-06 17:38:13 -07:00
1 parent 141d17fea0
commit b8498d36e4
3 files changed
+45 -11

No files matched your search

+17 -1
View File
@@ -64,7 +64,7 @@ export default function Installs () {
className={`text-3xl truncate ${
category != -1
? 'w-[calc(100vw-495px)]'
: game.id == 1
: game.id == 1 || game.id == 9
? 'w-[calc(100vw-560px)]'
: 'w-[calc(100vw-440px)]'
}`}
@@ -82,6 +82,22 @@ export default function Installs () {
>
Leaderboards
</button>
<button
className='button btntheme1'
onClick={() =>
invoke('open_new_window', {
title: 'XPS Dashboard',
name: 'xpsdashboard',
url: 'https://xps.lncvrt.xyz/dashboard/',
width: 1280,
height: 720
})
}
title='Open the GDPS Dashboard!'
hidden={game.id != 9 || category != -1}
>
Dashboard
</button>
<button
className='button btntheme1'
onClick={() => {