chore: test update from electron to tauri

This commit is contained in:
Service Account 2025-04-17 13:37:52 +07:00
parent b926f35c01
commit c8e1a198c7
3 changed files with 24 additions and 12 deletions

View File

@ -259,4 +259,18 @@ jobs:
with:
name: jan-mac-universal-${{ inputs.new_version }}
path: |
./src-tauri/target/release/bundle/dmg/*.dmg
./src-tauri/target/release/bundle/dmg/*.dmg
- name: zip Jan-nightly.app file
if: inputs.public_provider != 'github'
run: |
cd ./src-tauri/target/release/bundle/macos
zip -r jan-nightly.zip Jan-nightly.app
- name: Upload Artifact
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v4
with:
name: jan-mac-universal-${{ inputs.new_version }}-tar-gz
path: |
./src-tauri/target/release/bundle/macos/jan-nightly.zip

View File

@ -1,15 +1,13 @@
[package]
name = "app"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
name = "jan-nightly"
version = "0.5.16-1310"
description = "Use offline LLMs with your own data. Run open source models like Llama2 or Falcon on your internal computers/servers."
authors = ["Jan <service@jan.ai>"]
license = "MIT"
repository = "https://github.com/menloresearch/jan"
edition = "2021"
rust-version = "1.77.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

View File

@ -1,8 +1,8 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Jan",
"version": "0.1.0",
"identifier": "jan.ai",
"productName": "Jan-nightly",
"version": "0.5.16-1310",
"identifier": "jan-nightly.ai.app",
"build": {
"frontendDist": "../web/out",
"devUrl": "http://localhost:3000",