From c8e1a198c731ea2647e2f5c81c34376af3783e8e Mon Sep 17 00:00:00 2001 From: Service Account Date: Thu, 17 Apr 2025 13:37:52 +0700 Subject: [PATCH] chore: test update from electron to tauri --- .github/workflows/template-build-macos.yml | 16 +++++++++++++++- src-tauri/Cargo.toml | 14 ++++++-------- src-tauri/tauri.conf.json | 6 +++--- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/.github/workflows/template-build-macos.yml b/.github/workflows/template-build-macos.yml index 0130c871b..942a41bd3 100644 --- a/.github/workflows/template-build-macos.yml +++ b/.github/workflows/template-build-macos.yml @@ -259,4 +259,18 @@ jobs: with: name: jan-mac-universal-${{ inputs.new_version }} path: | - ./src-tauri/target/release/bundle/dmg/*.dmg \ No newline at end of file + ./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 \ No newline at end of file diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 5ef4e7a4e..0c2e9236e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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 "] +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"] diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 3320cd452..b5d978e9b 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -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",