Skip to content

Commit

Permalink
Test pack app (#45)
Browse files Browse the repository at this point in the history
* change settings for pack .app on macos

Signed-off-by: cbh778899 <[email protected]>

* update version

Signed-off-by: cbh778899 <[email protected]>

* update README

Signed-off-by: cbh778899 <[email protected]>

---------

Signed-off-by: cbh778899 <[email protected]>
  • Loading branch information
cbh778899 authored Oct 15, 2024
1 parent 7a7bc71 commit 65417ca
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
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

0 comments on commit 65417ca

Please sign in to comment.