Send launcher version to website
This commit is contained in:
1 file changed
+5
-8
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user