From 5f86561bb4cd3a46396fa05132e9a7227c60c629 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Tue, 16 Jul 2024 20:29:47 +0400 Subject: [PATCH 1/4] build appimage --- .github/workflows/tauri-release.yml | 1 + tauri-app/src-tauri/tauri.conf.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/tauri-release.yml b/.github/workflows/tauri-release.yml index 48bf321e9..d0758b092 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: 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", From eebe0560f0ee19e017a01fab4d03be61a9e16e82 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Tue, 16 Jul 2024 21:11:18 +0400 Subject: [PATCH 2/4] debug --- .github/workflows/tauri-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tauri-release.yml b/.github/workflows/tauri-release.yml index d0758b092..95227cd45 100644 --- a/.github/workflows/tauri-release.yml +++ b/.github/workflows/tauri-release.yml @@ -68,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." From 0f365a5f51769d0fdead151bb41e0b1226901ef8 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Tue, 16 Jul 2024 22:13:49 +0400 Subject: [PATCH 3/4] debug --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index f780e3b37..b28fea3fe 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 From d4b038660fc6b5b8e26ead18b099533d67773f1e Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Wed, 17 Jul 2024 11:59:56 +0400 Subject: [PATCH 4/4] debug build --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b28fea3fe..6d9680e8e 100644 --- a/flake.nix +++ b/flake.nix @@ -187,8 +187,8 @@ set -euxo pipefail ls src-tauri/target/release - echo "$GTK_PATH" - echo "$GIO_MODULE_DIR" + 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