This commit is contained in:
josc146 2024-02-05 12:31:26 +08:00
parent d5cca4e542
commit 94580f825e
2 changed files with 3 additions and 3 deletions

View File

@ -195,7 +195,7 @@ func (a *App) UpdateApp(url string) (broken bool, err error) {
if err != nil {
return false, err
}
file, err := archive.Open("Contents/MacOS/RWKV-Runner")
file, err := archive.Open("RWKV-Runner.app/Contents/MacOS/RWKV-Runner")
if err != nil {
return false, err
}

View File

@ -355,9 +355,9 @@ const SidePanel: FC = observer(() => {
} else {
messageContent += '\n' + line;
}
if (i === lines.length - 1)
pushMessage(messageRole, messageContent.trim());
}
if (messageContent.trim())
pushMessage(messageRole, messageContent.trim());
saveConversation();
});
}}>