diff --git a/.env.dev b/.env.dev index 3b6c784..f43da0b 100644 --- a/.env.dev +++ b/.env.dev @@ -20,6 +20,10 @@ STOVE_LAUNCHER_SCRIPT=https://js-cdn.gate8.com/libs/stove-js-service/latest/laun STOVE_CLIENT_DOWNLOAD_URL=https://sgs-gate8-dl.game.playstove.com/game/lcs/STOVESetup.exe STOVE_LOGIN_URL=https://accounts-dev.onstove.com/login + +# STOVE +STOVE_CS=https://cs.onstove.com/service + # Log Tracking ###################################################################### # 81plug STOVE_81PLUG=https://dvudc0gwzz5wc.cloudfront.net/v3.1/dev/svc_81plug.min.js \ No newline at end of file diff --git a/.env.live b/.env.live index fd89ee3..d8200e9 100644 --- a/.env.live +++ b/.env.live @@ -20,6 +20,9 @@ STOVE_LAUNCHER_SCRIPT=https://js-cdn.onstove.com/libs/stove-js-service/latest/la STOVE_CLIENT_DOWNLOAD_URL=https://sgs-live-dl.game.playstove.com/game/lcs/STOVESetup.exe STOVE_LOGIN_URL=https://accounts.onstove.com/login +# STOVE +STOVE_CS=https://cs.onstove.com/service + # Log Tracking ###################################################################### # 81plug STOVE_81PLUG=https://dvudc0gwzz5wc.cloudfront.net/v3.1/live/svc_81plug.min.js \ No newline at end of file diff --git a/.env.qa b/.env.qa index 28b4caf..401fcc6 100644 --- a/.env.qa +++ b/.env.qa @@ -20,6 +20,9 @@ STOVE_LAUNCHER_SCRIPT=https://js-cdn.gate8.com/libs/stove-js-service/latest/laun STOVE_CLIENT_DOWNLOAD_URL=https://sgs-gate8-dl.game.playstove.com/game/lcs/STOVESetup.exe STOVE_LOGIN_URL=https://accounts-qa.onstove.com/login +# STOVE +STOVE_CS=https://cs.onstove.com/service + # Log Tracking ###################################################################### # 81plug STOVE_81PLUG=https://dvudc0gwzz5wc.cloudfront.net/v3.1/qa/svc_81plug.min.js diff --git a/.env.sandbox b/.env.sandbox index 87e5ed7..5c03b91 100644 --- a/.env.sandbox +++ b/.env.sandbox @@ -20,6 +20,9 @@ STOVE_LAUNCHER_SCRIPT=https://js-cdn.gate8.com/libs/stove-js-service/latest/laun STOVE_CLIENT_DOWNLOAD_URL=https://sgs-gate8-dl.game.playstove.com/game/lcs/STOVESetup.exe STOVE_LOGIN_URL=https://accounts.gate8.com/login +# STOVE +STOVE_CS=https://cs.onstove.com/service + # Log Tracking ###################################################################### # 81plug STOVE_81PLUG=https://dvudc0gwzz5wc.cloudfront.net/v3.1/sandbox/svc_81plug.min.js \ No newline at end of file diff --git a/layers/components/atoms/Button/Launcher.vue b/layers/components/atoms/Button/Launcher.vue index 4ce0dbf..bcec4f8 100644 --- a/layers/components/atoms/Button/Launcher.vue +++ b/layers/components/atoms/Button/Launcher.vue @@ -22,9 +22,11 @@ const props = withDefaults(defineProps(), { }) const runtimeConfig = useRuntimeConfig() -const { gameData } = useGameDataStore() +const gameDataStore = useGameDataStore() const { isProcessing, validateLauncher } = useCheckGameStart() +const { gameData } = storeToRefs(gameDataStore) + const PLATFORM_ICON_MAP: Record = { google_play: 'AtomsIconsLogoGoogle', app_store: 'AtomsIconsLogoApple', @@ -75,7 +77,7 @@ const handleClick = () => { return } - const url = gameData?.market_json[props.platform]?.url + const url = gameData.value?.market_json[props.platform]?.url if (url) window.open(url, '_blank') } diff --git a/layers/components/atoms/Button/Sns.vue b/layers/components/atoms/Button/Sns.vue index 3797bff..3bea886 100644 --- a/layers/components/atoms/Button/Sns.vue +++ b/layers/components/atoms/Button/Sns.vue @@ -1,14 +1,14 @@