Modify some parts of PR

This commit is contained in:
Kwaroran
2025-01-06 00:30:33 +09:00
parent c0e1311568
commit 2ec13a4550
7 changed files with 43 additions and 17 deletions

View File

@@ -468,6 +468,8 @@ export function setDatabase(data:Database){
data.assetMaxDifference ??= 4
data.showSavingIcon ??= false
data.banCharacterset ??= []
data.showPromptComparison ??= false
data.checkCorruption ??= true
changeLanguage(data.language)
setDatabaseLite(data)
}
@@ -868,6 +870,8 @@ export interface Database{
showSavingIcon:boolean
presetRegex: customscript[]
banCharacterset:string[]
showPromptComparison:boolean
checkCorruption:boolean
}
interface SeparateParameters{