fix splatterware

This commit is contained in:
nin0dev 2024-10-27 10:45:56 -04:00
parent ab8ed7f905
commit 9fdb933ba3
Signed by: nin0
GPG key ID: 3FA8F96ABAE04214

View file

@ -113,7 +113,7 @@ export default definePlugin({
const { username } = UserStore.getCurrentUser(); const { username } = UserStore.getCurrentUser();
const info: Record<string, string | null> = { const info: Record<string, string | null> = {
version: `${VERSION} ~ ${gitHash}${SettingsPlugin.additionalInfo} - ${Intl.DateTimeFormat(navigator.language, { dateStyle: "medium" }).format(BUILD_TIMESTAMP)}`, version: `${VERSION} ~ ${gitHash}${SettingsPlugin.additionalInfo} - ${Intl.DateTimeFormat(navigator.language, { dateStyle: "medium" }).format(BUILD_TIMESTAMP)}`,
client: `${t(window.GLOBAL_ENV.RELEASE_CHANNEL)} ~ ${clientVersion}`, client: `${t(window.GLOBAL_ENV.RELEASE_CHANNEL)} ~ ${VERSION}`,
// @ts-ignore // @ts-ignore
platform: navigator.userAgentData?.platform ?? navigator.platform, platform: navigator.userAgentData?.platform ?? navigator.platform,
plugins: getEnabledPlugins(), plugins: getEnabledPlugins(),