Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test pack app #45

Merged
merged 3 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <application-name>.AppImage
chmod +x <application-name>.AppImage
<application-name>.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)
2 changes: 1 addition & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ win:

mac:
target:
- dmg # macOS installer type
- dir

linux:
target:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Bohan Cheng",
"email": "[email protected]"
},
"version": "0.2.0",
"version": "0.2.1",
"main": "electron.js",
"scripts": {
"dev": "npm run start & npm run electron",
Expand Down