Skip to content

Commit

Permalink
v1.82.3 (#309)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
kwaroran authored Mar 14, 2024
2 parents 8c49165 + 36614e8 commit f3cd5fc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "RisuAI",
"version": "1.82.2"
"version": "1.82.3"
},
"tauri": {
"allowlist": {
Expand Down
11 changes: 9 additions & 2 deletions src/lib/Others/GithubStars.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { MailIcon, WalletIcon } from "lucide-svelte";
import { isTauri, openURL } from "src/ts/storage/globalApi";
import { MailIcon, MaximizeIcon, WalletIcon } from "lucide-svelte";
import { isTauri, openURL, toggleFullscreen } from "src/ts/storage/globalApi";
</script>
<svelte:head>
Expand All @@ -27,4 +27,11 @@
}}>
<MailIcon size={24} />
</button>
{#if !isTauri}
<button class="text-textcolor" on:click={() => {
toggleFullscreen()
}}>
<MaximizeIcon size={24} />
</button>
{/if}
</div>
2 changes: 1 addition & 1 deletion src/ts/storage/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';

export const DataBase = writable({} as any as Database)
export const loadedStore = writable(false)
export let appVer = "1.82.2"
export let appVer = "1.82.3"
export let webAppSubVer = ''

export function setDatabase(data:Database){
Expand Down
4 changes: 4 additions & 0 deletions src/ts/storage/globalApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1468,4 +1468,8 @@ export async function fetchNative(url:string, arg:{

export function textifyReadableStream(stream:ReadableStream<Uint8Array>){
return new Response(stream).text()
}

export function toggleFullscreen(){
document.fullscreenElement ? document.exitFullscreen() : document.documentElement.requestFullscreen()
}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.82.2"}
{"version":"1.82.3"}

0 comments on commit f3cd5fc

Please sign in to comment.