From 7bc38cab7df88e7f10e2a5430f5273f60585aab7 Mon Sep 17 00:00:00 2001 From: PoolOfDeath20 <53143214+GervinFung@users.noreply.github.com> Date: Mon, 27 May 2024 20:14:30 +0800 Subject: [PATCH] Os downgrade (#34) * fix(desktop): downgrade mac arm and windows for some backward compatibility * guide(readme): inform mac arm user to run certain command after downloading the app --- .github/workflows/desktop.yaml | 2 +- README.md | 8 +++++++- apps/desktop/CHANGELOG.md | 4 ++++ apps/desktop/package.json | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/desktop.yaml b/.github/workflows/desktop.yaml index 7bcf8e9..9b42d36 100644 --- a/.github/workflows/desktop.yaml +++ b/.github/workflows/desktop.yaml @@ -27,7 +27,7 @@ jobs: - os: macos-13 arch: aarch64 - - os: windows-latest + - os: windows-10 arch: x86_64 runs-on: ${{ matrix.config.os }} diff --git a/README.md b/README.md index a2bc723..325071d 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,13 @@ _*Below are the listed commands that you can use to build/develop/test this app* | make format-check | Run prettier to check source and test code format | | make format-write | Run prettier to format source and test code | -_*You can run the app without setting up the app for demo purpose, the execution (windows/mac/linux) is in `apps/desktop/src-tauri/target/release/periotable(.exe?)`*_ +_You can run the app without setting up the app for demo purpose, the execution (windows/mac/linux) is in `apps/desktop/src-tauri/target/release/periotable(.exe?)`_ + +_Note: For mac arm user, the following command must be executed_ + +```sh +xattr -d com.apple.quarantine +``` But if you want to properly install the app, you must run the setup file as shown in terminal after building it diff --git a/apps/desktop/CHANGELOG.md b/apps/desktop/CHANGELOG.md index 9fef934..11bd836 100644 --- a/apps/desktop/CHANGELOG.md +++ b/apps/desktop/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.1.1 (27 May 2024) + +- (Fix) Downgrade `windows-latest` to `windows-10` and `macos-latest` for `arm` to `macos-13` + # 0.1.0 (1 May 2024) - (Feat) Updated `Discovery Location` to show flag instead of word. Rather than showing `UK/France`, it will show flag 🇬🇧🇫🇷 diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 5b6fae2..21318a4 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@periotable/desktop", - "version": "0.1.0", + "version": "0.1.1", "author": "PoolOfDeath20", "private": true, "license": "GPL",