[fix] chat lorebook sets to character loreboo

This commit is contained in:
kwaroran
2023-05-25 23:15:05 +09:00
parent 98a3d39546
commit 17d15e1ac3
4 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -7,7 +7,7 @@ import { cloneDeep } from 'lodash';
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.17.0' export let appVer = '1.17.1'
export function setDatabase(data:Database){ export function setDatabase(data:Database){

View File

@@ -209,7 +209,7 @@ export async function importLoreBook(mode:'global'|'local'|'sglobal'){
if(mode === 'global'){ if(mode === 'global'){
db.characters[selectedID].globalLore = lore db.characters[selectedID].globalLore = lore
} }
if(mode === 'sglobal'){ else if(mode === 'sglobal'){
db.loreBook[db.loreBookPage].data = lore db.loreBook[db.loreBookPage].data = lore
} }
else{ else{

View File

@@ -1 +1 @@
{"version":"1.17.0"} {"version":"1.17.1"}