Fix version numbers
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"productName": "RisuAI",
|
||||
"mainBinaryName": "RisuAI",
|
||||
"version": "140.1.0",
|
||||
"version": "141.0.0",
|
||||
"identifier": "co.aiclient.risu",
|
||||
"plugins": {
|
||||
"updater": {
|
||||
|
||||
@@ -89,15 +89,12 @@
|
||||
})
|
||||
|
||||
if(ind !== -1){
|
||||
DBState.db.promptTemplate[ind] = promptItem
|
||||
promptItem = prompt
|
||||
}
|
||||
else{
|
||||
const myInd = DBState.db.promptTemplate.findIndex((item, index) => {
|
||||
return JSON.stringify(item) === JSON.stringify(promptItem)
|
||||
})
|
||||
DBState.db.promptTemplate.splice(myInd, 0, prompt)
|
||||
DBState.db.promptTemplate.splice(ind, 1)
|
||||
}
|
||||
const myInd = DBState.db.promptTemplate.findIndex((item, index) => {
|
||||
return JSON.stringify(item) === JSON.stringify(promptItem)
|
||||
})
|
||||
DBState.db.promptTemplate.splice(myInd, 0, prompt)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import { defaultColorScheme, type ColorScheme } from '../gui/colorscheme';
|
||||
import type { PromptItem, PromptSettings } from '../process/prompt';
|
||||
import type { OobaChatCompletionRequestParams } from '../model/ooba';
|
||||
|
||||
export let appVer = "140.1.0"
|
||||
export let appVer = "141.0.0"
|
||||
export let webAppSubVer = ''
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":"140.1.0"}
|
||||
{"version":"141.0.0"}
|
||||
Reference in New Issue
Block a user