[version] bump web version to web-2
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { appVer } from "src/ts/storage/database";
|
import { appVer, webAppSubVer } from "src/ts/storage/database";
|
||||||
import GithubStars from "../Others/GithubStars.svelte";
|
import GithubStars from "../Others/GithubStars.svelte";
|
||||||
import Hub from "./Hub.svelte";
|
import Hub from "./Hub.svelte";
|
||||||
import { sideBarStore } from "src/ts/stores";
|
import { sideBarStore } from "src/ts/stores";
|
||||||
import { ArrowLeft } from "lucide-svelte";
|
import { ArrowLeft } from "lucide-svelte";
|
||||||
import { openURL } from "src/ts/storage/globalApi";
|
import { isNodeServer, isTauri, openURL } from "src/ts/storage/globalApi";
|
||||||
import { language } from "src/lang";
|
import { language } from "src/lang";
|
||||||
import { getRisuHub } from "src/ts/characterCards";
|
import { getRisuHub } from "src/ts/characterCards";
|
||||||
import RisuHubIcon from "./RisuHubIcon.svelte";
|
import RisuHubIcon from "./RisuHubIcon.svelte";
|
||||||
@@ -13,7 +13,11 @@
|
|||||||
<div class="h-full w-full flex flex-col overflow-y-auto items-center">
|
<div class="h-full w-full flex flex-col overflow-y-auto items-center">
|
||||||
{#if !openHub}
|
{#if !openHub}
|
||||||
<h2 class="text-4xl text-white mb-0 mt-6 font-black">RisuAI</h2>
|
<h2 class="text-4xl text-white mb-0 mt-6 font-black">RisuAI</h2>
|
||||||
<h3 class="text-gray-500 mt-1">Version {appVer}</h3>
|
{#if (!isTauri) && (!isNodeServer)}
|
||||||
|
<h3 class="text-gray-500 mt-1">Version {appVer}{webAppSubVer}</h3>
|
||||||
|
{:else}
|
||||||
|
<h3 class="text-gray-500 mt-1">Version {appVer}</h3>
|
||||||
|
{/if}
|
||||||
<GithubStars />
|
<GithubStars />
|
||||||
{/if}
|
{/if}
|
||||||
<div class="w-full flex p-4 flex-col text-white max-w-4xl">
|
<div class="w-full flex p-4 flex-col text-white max-w-4xl">
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { defaultAutoSuggestPrompt, defaultJailbreak, defaultMainPrompt } from '.
|
|||||||
export const DataBase = writable({} as any as Database)
|
export const DataBase = writable({} as any as Database)
|
||||||
export const loadedStore = writable(false)
|
export const loadedStore = writable(false)
|
||||||
export let appVer = '1.27.1'
|
export let appVer = '1.27.1'
|
||||||
|
export let webAppSubVer = '-web-2'
|
||||||
|
|
||||||
export function setDatabase(data:Database){
|
export function setDatabase(data:Database){
|
||||||
if(checkNullish(data.characters)){
|
if(checkNullish(data.characters)){
|
||||||
|
|||||||
Reference in New Issue
Block a user