From c95b91d7cf4e6f359f967898c062237326a3db36 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 10 Oct 2023 10:43:21 +0200 Subject: [PATCH] renaming to hc-stress-test --- .github/workflows/release-codesigned.yaml | 24 ++++----- .github/workflows/release.yaml | 2 +- package.json | 4 +- src-tauri/Cargo.lock | 62 +++++++++++------------ src-tauri/Cargo.toml | 4 +- src-tauri/src/main.rs | 6 +-- src-tauri/tauri.conf.json | 8 +-- 7 files changed, 55 insertions(+), 55 deletions(-) diff --git a/.github/workflows/release-codesigned.yaml b/.github/workflows/release-codesigned.yaml index 445c8b5..eb8257f 100644 --- a/.github/workflows/release-codesigned.yaml +++ b/.github/workflows/release-codesigned.yaml @@ -103,7 +103,7 @@ jobs: with: tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version - releaseName: "replace-me v__VERSION__" + releaseName: "hc-stress-test v__VERSION__" releaseBody: "See assets below to download and install this version." releaseDraft: true prerelease: true @@ -129,25 +129,25 @@ jobs: # !! NOTE: The version field needs to be updated manually here with each new version of your app, otherwise the Windows build will fail. # sign the .msi file - AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi" + AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi" # sign the .exe file - AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.exe" + AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.exe" # # Uncomment the lines below if you have the updater enabled # # ========================================================= # # remove the .msi.zip and .msi.zip.sig files generated by tauri's build command as they are not code signed - # rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip" - # rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip.sig" - # rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip" - # rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip.sig" + # rm "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip" + # rm "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip.sig" + # rm "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip" + # rm "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip.sig" # # zip and sign the code signed .msi - # 7z a -mx=0 "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip" "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi" - # npm run tauri signer sign "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY }} -p "${{ secrets.TAURI_KEY_PASSWORD }}" + # 7z a -mx=0 "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip" "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi" + # npm run tauri signer sign "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY }} -p "${{ secrets.TAURI_KEY_PASSWORD }}" - # 7z a -mx=0 "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip" "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.exe" - # npm run tauri signer sign "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY_0_2 }} -p "${{ secrets.TAURI_KEY_PASSWORD }}" + # 7z a -mx=0 "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip" "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.exe" + # npm run tauri signer sign "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY_0_2 }} -p "${{ secrets.TAURI_KEY_PASSWORD }}" # # ========================================================= @@ -163,7 +163,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version - releaseName: "replacce-me v__VERSION__" + releaseName: "hc-stress-test v__VERSION__" releaseBody: "See assets below to download and install this version." releaseDraft: true prerelease: true \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c5f0434..845fc85 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -95,7 +95,7 @@ jobs: with: projectPath: src-tauri # specifying to prevent action from looking for artifacts in crates/hc_launch/src-tauri tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version - releaseName: "replace-me v__VERSION__" + releaseName: "hc-stress-test v__VERSION__" releaseBody: "See assets below to download and install this version." releaseDraft: true prerelease: true diff --git a/package.json b/package.json index 25b2123..dd51b73 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "replace-me", + "name": "hc-stress-test", "private": true, - "version": "0.0.0", + "version": "0.0.3", "type": "module", "scripts": { "kangaroo": "npm run dist && npm run tauri build", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 3a3a6e7..7435b80 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2688,6 +2688,37 @@ dependencies = [ "hashbrown 0.14.0", ] +[[package]] +name = "hc-stress-test" +version = "0.0.3" +dependencies = [ + "either", + "futures", + "holochain", + "holochain_client", + "holochain_keystore", + "holochain_types", + "holochain_zome_types", + "log", + "log4rs", + "mr_bundle", + "nanoid 0.4.0", + "opener", + "portpicker", + "semver 1.0.17", + "serde", + "serde_json", + "serde_yaml 0.8.26", + "sodoken", + "symlink", + "tauri", + "tauri-build", + "tauri-plugin-single-instance", + "thiserror", + "url 2.4.0", + "url2", +] + [[package]] name = "hc_seed_bundle" version = "0.1.7" @@ -2928,37 +2959,6 @@ dependencies = [ "wasmer-middlewares", ] -[[package]] -name = "holochain-kangaroo" -version = "0.0.0" -dependencies = [ - "either", - "futures", - "holochain", - "holochain_client", - "holochain_keystore", - "holochain_types", - "holochain_zome_types", - "log", - "log4rs", - "mr_bundle", - "nanoid 0.4.0", - "opener", - "portpicker", - "semver 1.0.17", - "serde", - "serde_json", - "serde_yaml 0.8.26", - "sodoken", - "symlink", - "tauri", - "tauri-build", - "tauri-plugin-single-instance", - "thiserror", - "url 2.4.0", - "url2", -] - [[package]] name = "holochain_cascade" version = "0.2.3-beta-rc.0" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 3121c4d..f6b1338 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "holochain-kangaroo" # replace-me -version = "0.0.0" # replace-me -- Choose wisely, see "Note on Versioning" in README +name = "hc-stress-test" # replace-me +version = "0.0.3" # replace-me -- Choose wisely, see "Note on Versioning" in README description = "A Tauri App" authors = ["you"] license = "" diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index bda8d5d..e3fa2f4 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -29,9 +29,9 @@ use utils::{sign_zome_call, ZOOM_ON_SCROLL, create_and_apply_lair_symlink}; use commands::{profile::{get_existing_profiles, set_active_profile, set_profile_network_seed, get_active_profile, open_profile_settings}, restart::restart}; -const APP_NAME: &str = "replace-me"; // name of the app. Can be changed without breaking your app. -const APP_ID: &str = "replace-me"; // App id used to install your app in the Holochain conductor - can be the same as APP_NAME. Changing this means a breaking change to your app. -pub const WINDOW_TITLE: &str = "replace-me"; // Title of the window +const APP_NAME: &str = "hc-stress-test"; // name of the app. Can be changed without breaking your app. +const APP_ID: &str = "hc-stress-test"; // App id used to install your app in the Holochain conductor - can be the same as APP_NAME. Changing this means a breaking change to your app. +pub const WINDOW_TITLE: &str = "hc-stress-test"; // Title of the window pub const WINDOW_WIDTH: f64 = 1400.0; // Default window width when the app is opened pub const WINDOW_HEIGHT: f64 = 880.0; // Default window height when the app is opened const PASSWORD: &str = "pass"; // Password to the lair keystore diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 372bae2..6824eb3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -6,8 +6,8 @@ "withGlobalTauri": true }, "package": { - "productName": "replace-me", - "version": "0.0.0" + "productName": "hc-stress-test", + "version": "0.0.3" }, "tauri": { "allowlist": { @@ -21,7 +21,7 @@ } }, "cli": { - "description": "Running replace-me from the command line", + "description": "Running hc-stress-test from the command line", "args": [ { "name": "profile", @@ -36,7 +36,7 @@ "bundle": { "active": true, "targets": "all", - "identifier": "replace-me.with-unique-identifier.in-reverse-domain-notation", + "identifier": "org.hc-kangaroo.hc-stress-test", "icon": [ "icons/32x32.png", "icons/128x128.png",