diff --git a/.github/readme.md b/.github/readme.md index fd1b98ee3..5ac31ed28 100644 --- a/.github/readme.md +++ b/.github/readme.md @@ -162,8 +162,10 @@ Installing via ZIP download (discouraged) ### Linux - 1. Run the `start.sh` script. - 2. Enjoy. + 1. Ensure you have Node.js v18 or higher (the latest [LTS version](https://nodejs.org/en/download/) is recommended) installed by running `node -v`. +Alternatively, use the [Node Version Manager](https://github.com/nvm-sh/nvm#installing-and-updating) script to quickly and easily manage your Node installations. + 2. Run the `start.sh` script. + 3. Enjoy. ## API keys management diff --git a/Update-Instructions.txt b/Update-Instructions.txt index cb00d0977..b862f8907 100644 --- a/Update-Instructions.txt +++ b/Update-Instructions.txt @@ -32,19 +32,26 @@ If you insist on installing via a zip, here is the tedious process for doing the 4. Copy the following files/folders as necessary(*) from your old ST installation: + - Assets - Backgrounds - Characters - Chats + - Context - Groups - Group chats + - Instruct + - movingUI - KoboldAI Settings - NovelAI Settings - - OpenAI Settings - - TextGen Settings (textgen = ooba) + - OpenAI Settings (Chat Completion API) + - TextGen Settings (Text Completion API) + - QuickReplies - Themes - User Avatars - Worlds + - User - settings.json + - secrets.json <---- this one is in the base folder, not /public/ (*) 'As necessary' = "If you made any custom content related to those folders". None of the folders are mandatory, so only copy what you need. diff --git a/public/index.html b/public/index.html index 0f5a41cd1..8253152b0 100644 --- a/public/index.html +++ b/public/index.html @@ -22,6 +22,7 @@ + diff --git a/public/lib/object-hasown.js b/public/lib/object-hasown.js new file mode 100644 index 000000000..9b7792e88 --- /dev/null +++ b/public/lib/object-hasown.js @@ -0,0 +1,4 @@ +// Polyfill for old Safari versions +if (!Object.hasOwn) { + Object.hasOwn = function (obj, prop) { return obj.hasOwnProperty(prop); } +}