diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fed0f0..77eef04 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: args: '--target aarch64-apple-darwin --config ./src-tauri/tauri.macos-aarch64.conf.json' arch: 'aarch64-apple-darwin' - platform: 'macos-latest' - args: '--target x86_64-apple-darwin' + args: '--target x86_64-apple-darwin --config ./src-tauri/tauri.macos-x86_64.conf.json' arch: 'x86_64-apple-darwin' - platform: 'ubuntu-22.04' args: '' diff --git a/README.md b/README.md index aec554a..6d5dc7e 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,9 @@ Want to be part of this? Feel free to contribute...!! Pull Requests are always w npm run tauri dev # for development npm run tauri build # for production build -# use these commands instead if you are using apple silicon macs -npm run tauri dev --config "./src-tauri/tauri.macos-aarch64.conf.json" -npm run tauri build --config "./src-tauri/tauri.macos-aarch64.conf.json" +# must use --config flag with the commands if you are on macOS +--config "./src-tauri/tauri.macos-aarch64.conf.json" # for apple silicon macs +--config "./src-tauri/tauri.macos-x86_64.conf.json" # for intel x86 macs ``` 5. Do the changes, Send a Pull Request with proper Description (NOTE: Pull Requests Without Proper Description will be Rejected) diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos-x86_64.conf.json similarity index 100% rename from src-tauri/tauri.macos.conf.json rename to src-tauri/tauri.macos-x86_64.conf.json