[fix] fixed accountsync

This commit is contained in:
kwaroran
2023-07-03 00:03:57 +09:00
parent 8f335de74a
commit 75271eddab
5 changed files with 33 additions and 36 deletions

View File

@@ -8,7 +8,7 @@
},
"package": {
"productName": "RisuAI",
"version": "1.29.4"
"version": "1.29.5"
},
"tauri": {
"allowlist": {

View File

@@ -8,8 +8,6 @@
</script>
<h2 class="mb-2 text-2xl font-bold mt-2">{language.files}</h2>
{#if !$DataBase.account?.useSync}
<button
on:click={async () => {
if(await alertConfirm(language.backupConfirm)){
@@ -42,7 +40,6 @@
{language.loadbackup}
</button>
{/if}
<!-- <button
on:click={async () => {

View File

@@ -60,7 +60,7 @@
</div>
{#if $DataBase.account}
<span class="mb-4 text-gray-400">ID: {$DataBase.account.id}</span>
{#if $DataBase.useExperimental && (!isTauri)}
{#if !isTauri}
<div class="flex items-center mt-2">
{#if $DataBase.account.useSync}
<span>{language.dataSavingInAccount}</span>

View File

@@ -9,7 +9,7 @@ import { alertNormal } from '../alert';
export const DataBase = writable({} as any as Database)
export const loadedStore = writable(false)
export let appVer = '1.29.4'
export let appVer = '1.29.5'
export let webAppSubVer = ''
export function setDatabase(data:Database){

View File

@@ -1 +1 @@
{"version":"1.29.4"}
{"version":"1.29.5"}