diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a677bb2f..31535ba1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "RisuAI", - "version": "1.17.0" + "version": "1.17.1" }, "tauri": { "allowlist": { diff --git a/src/ts/database.ts b/src/ts/database.ts index 2808a055..d754a3ab 100644 --- a/src/ts/database.ts +++ b/src/ts/database.ts @@ -7,7 +7,7 @@ import { cloneDeep } from 'lodash'; export const DataBase = writable({} as any as Database) export const loadedStore = writable(false) -export let appVer = '1.17.0' +export let appVer = '1.17.1' export function setDatabase(data:Database){ diff --git a/src/ts/process/lorebook.ts b/src/ts/process/lorebook.ts index 63227e57..2bda3244 100644 --- a/src/ts/process/lorebook.ts +++ b/src/ts/process/lorebook.ts @@ -209,7 +209,7 @@ export async function importLoreBook(mode:'global'|'local'|'sglobal'){ if(mode === 'global'){ db.characters[selectedID].globalLore = lore } - if(mode === 'sglobal'){ + else if(mode === 'sglobal'){ db.loreBook[db.loreBookPage].data = lore } else{ diff --git a/version.json b/version.json index fe5e6f7f..a33e810d 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{"version":"1.17.0"} \ No newline at end of file +{"version":"1.17.1"} \ No newline at end of file