[fix] chat lorebook sets to character loreboo
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "RisuAI",
|
"productName": "RisuAI",
|
||||||
"version": "1.17.0"
|
"version": "1.17.1"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|||||||
@@ -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){
|
||||||
|
|||||||
@@ -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{
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":"1.17.0"}
|
{"version":"1.17.1"}
|
||||||
Reference in New Issue
Block a user