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, theme,
accountSession, accountSession,
accountId, accountId,
accountName accountName,
version
} = useGlobal() } = useGlobal()
const params = useSearchParams() const params = useSearchParams()
@@ -78,7 +79,7 @@ export default function Installs () {
} }
new WebviewWindow('berrydashchatroom', { new WebviewWindow('berrydashchatroom', {
title: 'Berry Dash Chatroom', 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, width: 800,
height: 600, height: 600,
minWidth: 800, minWidth: 800,
@@ -101,9 +102,7 @@ export default function Installs () {
} }
new WebviewWindow('berrydashleaderboards', { new WebviewWindow('berrydashleaderboards', {
title: 'Berry Dash Leaderboards', title: 'Berry Dash Leaderboards',
url: url: `https://games.lncvrt.xyz/game/berry-dash/leaderboards?launcher=${version}&theme=${theme}`,
'https://games.lncvrt.xyz/game/berry-dash/leaderboards?launcher=1&theme=' +
theme,
width: 800, width: 800,
height: 600, height: 600,
minWidth: 800, minWidth: 800,
@@ -150,9 +149,7 @@ export default function Installs () {
} }
new WebviewWindow('georayschatroom', { new WebviewWindow('georayschatroom', {
title: 'Geometry Rays Chatroom', title: 'Geometry Rays Chatroom',
url: url: `https://games.lncvrt.xyz/game/geometry-rays/chatroom?launcher=${version}&theme=${theme}`,
'https://games.lncvrt.xyz/game/geometry-rays/chatroom?launcher=1&theme=' +
theme,
width: 800, width: 800,
height: 600, height: 600,
minWidth: 800, minWidth: 800,