Send launcher version to website

This commit is contained in:
Lncvrt committed 2026-06-01 17:10:24 -07:00
1 parent b7457c0cb5
commit 3a6e4e3eb6
1 file changed
+5 -8
+5 -8
View File
@@ -34,7 +34,8 @@ export default function Installs () {
theme,
accountSession,
accountId,
accountName
accountName,
version
} = useGlobal()
const params = useSearchParams()
@@ -78,7 +79,7 @@ export default function Installs () {
}
new WebviewWindow('berrydashchatroom', {
title: 'Berry Dash Chatroom',
url: `https://games.lncvrt.xyz/game/berry-dash/chatroom?launcher=1&theme=${theme}&accountToken=${accountSession}&accountId=${accountId}&accountName=${accountName}`,
url: `https://games.lncvrt.xyz/game/berry-dash/chatroom?launcher=${version}&theme=${theme}&accountToken=${accountSession}&accountId=${accountId}&accountName=${accountName}`,
width: 800,
height: 600,
minWidth: 800,
@@ -101,9 +102,7 @@ export default function Installs () {
}
new WebviewWindow('berrydashleaderboards', {
title: 'Berry Dash Leaderboards',
url:
'https://games.lncvrt.xyz/game/berry-dash/leaderboards?launcher=1&theme=' +
theme,
url: `https://games.lncvrt.xyz/game/berry-dash/leaderboards?launcher=${version}&theme=${theme}`,
width: 800,
height: 600,
minWidth: 800,
@@ -150,9 +149,7 @@ export default function Installs () {
}
new WebviewWindow('georayschatroom', {
title: 'Geometry Rays Chatroom',
url:
'https://games.lncvrt.xyz/game/geometry-rays/chatroom?launcher=1&theme=' +
theme,
url: `https://games.lncvrt.xyz/game/geometry-rays/chatroom?launcher=${version}&theme=${theme}`,
width: 800,
height: 600,
minWidth: 800,