diff --git a/.github/workflows/tauri-release.yml b/.github/workflows/tauri-release.yml index 48bf321e9..95227cd45 100644 --- a/.github/workflows/tauri-release.yml +++ b/.github/workflows/tauri-release.yml @@ -5,6 +5,7 @@ on: push: branches: - main + - 2024-07-16-appimage jobs: publish-tauri: @@ -67,7 +68,7 @@ jobs: APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} with: - tauriScript: "nix develop -i -k APPLE_CERTIFICATE -k APPLE_CERTIFICATE_PASSWORD -k APPLE_SIGNING_IDENTITY -k APPLE_ID -k APPLE_PASSWORD -k APPLE_TEAM_ID -k CI_DEPLOY_SEPOLIA_RPC_URL -k CI_FORK_SEPOLIA_DEPLOYER_ADDRESS -k CI_FORK_SEPOLIA_BLOCK_NUMBER -k CI_DEPLOY_POLYGON_RPC_URL -k CI_SEPOLIA_METABOARD_URL -k RPC_URL_ETHEREUM_FORK .#tauri-shell --command cargo tauri" + tauriScript: "nix develop -i -k APPLE_CERTIFICATE -k APPLE_CERTIFICATE_PASSWORD -k APPLE_SIGNING_IDENTITY -k APPLE_ID -k APPLE_PASSWORD -k APPLE_TEAM_ID -k CI_DEPLOY_SEPOLIA_RPC_URL -k CI_FORK_SEPOLIA_DEPLOYER_ADDRESS -k CI_FORK_SEPOLIA_BLOCK_NUMBER -k CI_DEPLOY_POLYGON_RPC_URL -k CI_SEPOLIA_METABOARD_URL -k RPC_URL_ETHEREUM_FORK .#tauri-shell --command cargo tauri --verbose" tagName: app-v__VERSION__-${{ github.sha }} # the action automatically replaces \_\_VERSION\_\_ with the app version releaseName: "App v__VERSION__-${{ github.sha }}" releaseBody: "See the assets to download this version and install." diff --git a/flake.nix b/flake.nix index f780e3b37..6d9680e8e 100644 --- a/flake.nix +++ b/flake.nix @@ -187,6 +187,8 @@ set -euxo pipefail ls src-tauri/target/release + echo "''${GTK_PATH:-}" + echo "''${GIO_MODULE_DIR:-}" if [ ${if pkgs.stdenv.isDarwin then "1" else "0" } -eq 1 ]; then install_name_tool -change ${pkgs.libiconv}/lib/libiconv.2.dylib @executable_path/../Frameworks/libiconv.2.dylib src-tauri/target/release/Raindex diff --git a/tauri-app/src-tauri/tauri.conf.json b/tauri-app/src-tauri/tauri.conf.json index 22314991c..c21991603 100644 --- a/tauri-app/src-tauri/tauri.conf.json +++ b/tauri-app/src-tauri/tauri.conf.json @@ -36,6 +36,7 @@ "active": true, "targets": [ "deb", + "appimage", "nsis", "msi", "app",