From 034682f7acf68272baf1352061be59583c509437 Mon Sep 17 00:00:00 2001 From: CenTdemeern1 Date: Sat, 7 Dec 2024 15:59:55 +0100 Subject: [PATCH] Add `_RUFFLE_VERSION_` global Vite define --- packages/frontend-embed/@types/global.d.ts | 1 + packages/frontend-shared/@types/global.d.ts | 1 + packages/frontend/@types/global.d.ts | 1 + packages/frontend/src/components/SkFlashPlayer.vue | 3 +-- packages/frontend/vite.config.ts | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/frontend-embed/@types/global.d.ts b/packages/frontend-embed/@types/global.d.ts index 15373cbd2d..c8a9bf4323 100644 --- a/packages/frontend-embed/@types/global.d.ts +++ b/packages/frontend-embed/@types/global.d.ts @@ -14,6 +14,7 @@ declare const _PERF_PREFIX_: string; declare const _DATA_TRANSFER_DRIVE_FILE_: string; declare const _DATA_TRANSFER_DRIVE_FOLDER_: string; declare const _DATA_TRANSFER_DECK_COLUMN_: string; +declare const _RUFFLE_VERSION_: string; // for dev-mode declare const _LANGS_FULL_: string[][]; diff --git a/packages/frontend-shared/@types/global.d.ts b/packages/frontend-shared/@types/global.d.ts index 308515564b..82fb52957b 100644 --- a/packages/frontend-shared/@types/global.d.ts +++ b/packages/frontend-shared/@types/global.d.ts @@ -15,6 +15,7 @@ declare const _PERF_PREFIX_: string; declare const _DATA_TRANSFER_DRIVE_FILE_: string; declare const _DATA_TRANSFER_DRIVE_FOLDER_: string; declare const _DATA_TRANSFER_DECK_COLUMN_: string; +declare const _RUFFLE_VERSION_: string; // for dev-mode declare const _LANGS_FULL_: string[][]; diff --git a/packages/frontend/@types/global.d.ts b/packages/frontend/@types/global.d.ts index 15373cbd2d..c8a9bf4323 100644 --- a/packages/frontend/@types/global.d.ts +++ b/packages/frontend/@types/global.d.ts @@ -14,6 +14,7 @@ declare const _PERF_PREFIX_: string; declare const _DATA_TRANSFER_DRIVE_FILE_: string; declare const _DATA_TRANSFER_DRIVE_FOLDER_: string; declare const _DATA_TRANSFER_DECK_COLUMN_: string; +declare const _RUFFLE_VERSION_: string; // for dev-mode declare const _LANGS_FULL_: string[][]; diff --git a/packages/frontend/src/components/SkFlashPlayer.vue b/packages/frontend/src/components/SkFlashPlayer.vue index 4e63dce4bd..243ecd9674 100644 --- a/packages/frontend/src/components/SkFlashPlayer.vue +++ b/packages/frontend/src/components/SkFlashPlayer.vue @@ -59,7 +59,6 @@ SPDX-License-Identifier: AGPL-3.0-only