diff --git a/.github/workflows/publish-nym-wallet-macos.yml b/.github/workflows/publish-nym-wallet-macos.yml index cfe536a200..0bbdd758b4 100644 --- a/.github/workflows/publish-nym-wallet-macos.yml +++ b/.github/workflows/publish-nym-wallet-macos.yml @@ -87,7 +87,7 @@ jobs: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} run: | - yarn && yarn build + yarn && yarn build-macx86 - name: Upload Artifact uses: actions/upload-artifact@v4 diff --git a/nym-wallet/package.json b/nym-wallet/package.json index af6580bc0d..1dc8db364f 100644 --- a/nym-wallet/package.json +++ b/nym-wallet/package.json @@ -6,6 +6,7 @@ "scripts": { "build": "run-s webpack:prod tauri:build", "dev": "run-p tauri:dev webpack:dev", + "build-macx86": "run-s webpack:prod tauri:buildx86", "lint": "eslint src", "lint:fix": "eslint src --fix", "prebuild": "yarn --cwd .. build", @@ -14,6 +15,7 @@ "storybook": "start-storybook -p 6006", "storybook:build": "build-storybook", "tauri:build": "yarn tauri build", + "tauri:buildx86": "yarn tauri build --target x86_64-apple-darwin", "tauri:dev": "yarn tauri dev", "tsc": "tsc --noEmit true", "tsc:watch": "tsc --noEmit true --watch", diff --git a/nym-wallet/src-tauri/Cargo.toml b/nym-wallet/src-tauri/Cargo.toml index d5536e1b61..d496737822 100644 --- a/nym-wallet/src-tauri/Cargo.toml +++ b/nym-wallet/src-tauri/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "nym-wallet" +name = "nym_wallet" version = "1.2.16" description = "Nym Native Wallet" authors = ["Nym Technologies SA"] license = "" repository = "" -default-run = "nym-wallet" +default-run = "nym_wallet" edition = "2021" build = "src/build.rs" rust-version = "1.76" @@ -73,4 +73,4 @@ ts-rs = "10.0.0" [features] default = ["custom-protocol"] custom-protocol = ["tauri/custom-protocol"] -generate-ts = [] \ No newline at end of file +generate-ts = []