Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/desktop-linux-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
test-desktop-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-desktop-tests-on-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:

testDesktopLinux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-desktop-tests-on-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:

testDesktopLinux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tauri-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
create-release:
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
release_id: ${{ steps.create-release.outputs.result }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tauri-build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
create-release:
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
release_id: ${{ steps.create-release.outputs.result }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tauri-build-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
create-release:
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
release_id: ${{ steps.create-release.outputs.result }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-phcode-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build-tasks:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Event triggered by
Expand Down
18 changes: 13 additions & 5 deletions docs/linux/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,19 @@ TMP_DIR=$(mktemp -d)
check_os_version() {
if [ -f /etc/os-release ]; then
. /etc/os-release
if [[ "$ID" = "ubuntu" && "$VERSION_ID" = "24.04" ]] ||
[[ "$ID" = "linuxmint" && "$VERSION_ID" = "22" ]] ||
([[ "$ID" = "kali" ]] && [[ "$VERSION_ID" > "2024.2" ]] || [[ "$VERSION_ID" == "2024.2" ]]); then
return 0 # Ubuntu 24.04, Linux Mint 22, or Kali Linux 2024.2 or newer detected
fi

# Define supported OS and version combinations
case "$ID:$VERSION_ID" in
ubuntu:24.04|ubuntu:24.10) # Ubuntu 24.04 or 24.10
return 0
;;
linuxmint:22) # Linux Mint 22
return 0
;;
kali:2024.2|kali:2024.[3-9]|kali:20[2-9][0-9].[0-9]) # Kali 2024.2 or newer
return 0
;;
esac
fi
return 1 # None of the specified versions detected
}
Expand Down
Loading