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

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

View File

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