From 255958f96ba3b36d60e7dc1e67dc7a855fbdae7f Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Sun, 3 Sep 2023 11:41:59 -0400 Subject: [PATCH] Add extra version info in pre-release versions --- src/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index fb40afb..648849b 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -13,6 +13,8 @@ import { VFC, useState } from "react"; import { FaFan } from "react-icons/fa"; import { SiOnlyfans } from "react-icons/si"; +import { version_usdpl } from "fantastic-wasm"; + import * as backend from "./backend"; import {Canvas} from "./canvas"; @@ -289,6 +291,13 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => { {"v" + version} + { (version?.includes("alpha") || version?.includes("beta")) && + { Navigation.NavigateToExternalWeb("https://git.ngni.us/NG-SD-Plugins/usdpl-rs"); }}> + v{version_usdpl()} + + } ); };