Skip to content

Commit f3cd5fc

Browse files
authored
v1.82.3 (#309)
# PR Checklist - [ ] Did you check if it works normally in all models? *ignore this when it dosen't uses models* - [ ] Did you check if it works normally in all of web, local and node hosted versions? if it dosen't, did you blocked it in those versions? - [ ] Did you added a type def? # Description
2 parents 8c49165 + 36614e8 commit f3cd5fc

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "RisuAI",
11-
"version": "1.82.2"
11+
"version": "1.82.3"
1212
},
1313
"tauri": {
1414
"allowlist": {

src/lib/Others/GithubStars.svelte

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
2-
import { MailIcon, WalletIcon } from "lucide-svelte";
3-
import { isTauri, openURL } from "src/ts/storage/globalApi";
2+
import { MailIcon, MaximizeIcon, WalletIcon } from "lucide-svelte";
3+
import { isTauri, openURL, toggleFullscreen } from "src/ts/storage/globalApi";
44
55
</script>
66
<svelte:head>
@@ -27,4 +27,11 @@
2727
}}>
2828
<MailIcon size={24} />
2929
</button>
30+
{#if !isTauri}
31+
<button class="text-textcolor" on:click={() => {
32+
toggleFullscreen()
33+
}}>
34+
<MaximizeIcon size={24} />
35+
</button>
36+
{/if}
3037
</div>

src/ts/storage/database.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';
1515

1616
export const DataBase = writable({} as any as Database)
1717
export const loadedStore = writable(false)
18-
export let appVer = "1.82.2"
18+
export let appVer = "1.82.3"
1919
export let webAppSubVer = ''
2020

2121
export function setDatabase(data:Database){

src/ts/storage/globalApi.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1468,4 +1468,8 @@ export async function fetchNative(url:string, arg:{
14681468

14691469
export function textifyReadableStream(stream:ReadableStream<Uint8Array>){
14701470
return new Response(stream).text()
1471+
}
1472+
1473+
export function toggleFullscreen(){
1474+
document.fullscreenElement ? document.exitFullscreen() : document.documentElement.requestFullscreen()
14711475
}

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"1.82.2"}
1+
{"version":"1.82.3"}

0 commit comments

Comments
 (0)