diff --git a/README.md b/README.md index d90f169..24bf5a2 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,22 @@ pnpm run electron One on each terminal, so they won't conflict with each other. ## Distributions -There are some distribution files in releast page. Please download and run `SkywardaiChat-vX.Y.Z.(AppImage|dmg|exe)` according to your platform. +There are some distribution files in releast page. Please download and run `SkywardaiChat-vX.Y.Z.(AppImage|app|exe)` according to your platform. Currently there's no `Code Signing` in our distributions, so your defender might block you from using the application. Please allow install to use the distributions. - +#### Mac +You might want to bypass the Gatekeeper to run you application +#### Windows +To install the application, Windows Defender SmartScreen might block you, please select **More info** and choose **Run anyway**. +#### Linux +You can run the `.AppImage` file directly, but you might want to give it execute permissions and disable sanbox to run it normally. +```sh +# Assume we have the application .AppImage +chmod +x .AppImage +.AppImage --no-sandbox +``` + > Sensitive informations are stored only at your own machine. No one can see them. ## References * [Wllama](https://github.com/ngxson/wllama) +* [node-llama-cpp](https://github.com/withcatai/node-llama-cpp) \ No newline at end of file diff --git a/electron-builder.yml b/electron-builder.yml index 03d40e9..4025107 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -17,7 +17,7 @@ win: mac: target: - - dmg # macOS installer type + - dir linux: target: diff --git a/package.json b/package.json index 3ea5a7f..3bb9d3b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "name": "Bohan Cheng", "email": "cbh778899@outlook.com" }, - "version": "0.2.0", + "version": "0.2.1", "main": "electron.js", "scripts": { "dev": "npm run start & npm run electron",