From b26ae7d0a4eabfaa52b6a618b8c457419790e024 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 7 Jul 2025 22:39:04 +0700 Subject: [PATCH] ci: remove cortex build steps --- .github/workflows/template-tauri-build-linux-x64.yml | 2 -- .github/workflows/template-tauri-build-windows-x64.yml | 3 --- src-tauri/tauri.conf.json | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/template-tauri-build-linux-x64.yml b/.github/workflows/template-tauri-build-linux-x64.yml index bf4d60dc5..6df0bedc2 100644 --- a/.github/workflows/template-tauri-build-linux-x64.yml +++ b/.github/workflows/template-tauri-build-linux-x64.yml @@ -159,7 +159,6 @@ jobs: if [ "${{ inputs.channel }}" != "stable" ]; then ls ./src-tauri/target/release/bundle/appimage/ cp ./src-tauri/resources/bin/bun ./src-tauri/target/release/bundle/appimage/Jan-${{ inputs.channel }}.AppDir/usr/bin/bun - cp -f ./src-tauri/binaries/*.so* ./src-tauri/target/release/bundle/appimage/Jan-${{ inputs.channel }}.AppDir/usr/lib/Jan-${{ inputs.channel }}/binaries/ APP_IMAGE=./src-tauri/target/release/bundle/appimage/$(ls ./src-tauri/target/release/bundle/appimage/ | grep .AppImage | head -1) echo $APP_IMAGE rm -f $APP_IMAGE @@ -170,7 +169,6 @@ jobs: "$APP_IMAGE" else cp ./src-tauri/resources/bin/bun ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/bin/bun - cp -f ./src-tauri/binaries/*.so* ./src-tauri/target/release/bundle/appimage/Jan.AppDir/usr/lib/Jan/binaries/ APP_IMAGE=./src-tauri/target/release/bundle/appimage/$(ls ./src-tauri/target/release/bundle/appimage/ | grep AppImage | head -1) echo $APP_IMAGE rm -f $APP_IMAGE diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.yml index 2ab6d7ad9..0a63fd428 100644 --- a/.github/workflows/template-tauri-build-windows-x64.yml +++ b/.github/workflows/template-tauri-build-windows-x64.yml @@ -178,9 +178,6 @@ jobs: - name: Build app shell: bash run: | - curl -L -o ./src-tauri/binaries/vcomp140.dll https://catalog.jan.ai/vcomp140.dll - curl -L -o ./src-tauri/binaries/msvcp140_codecvt_ids.dll https://catalog.jan.ai/msvcp140_codecvt_ids.dll - ls ./src-tauri/binaries make build-tauri env: AZURE_KEY_VAULT_URI: ${{ secrets.AZURE_KEY_VAULT_URI }} diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 590919cc3..48f5d2b66 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -85,7 +85,7 @@ "icons/icon.icns", "icons/icon.ico" ], - "resources": ["resources/**/*", "binaries/**/*"], + "resources": ["resources/pre-install/**/*", "binaries/**/*"], "externalBin": ["resources/bin/bun", "resources/bin/uv"], "linux": { "appimage": {