Skip to content

Commit 66837c2

Browse files
authored
Merge pull request #165 from os-guy-original/add-artix-support
Add Artix Linux support
2 parents a8d60db + e19bf0a commit 66837c2

3 files changed

Lines changed: 25 additions & 6 deletions

File tree

AffinityScripts/AffinityLinuxInstaller.py

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def install_package(package_name, import_name=None):
5252

5353
distro = detect_distro_for_install()
5454
pip_flags = ["--user"]
55-
if distro in ["arch", "cachyos", "manjaro", "endeavouros", "xerolinux"]:
55+
if distro in ["arch", "artix", "cachyos", "manjaro", "endeavouros", "xerolinux"]:
5656
pip_flags.append("--break-system-packages")
5757
if not sys.stdout.isatty():
5858
pip_flags.insert(0, "--quiet")
@@ -212,7 +212,7 @@ def setFixedSize(self, size):
212212
print("Using pip:")
213213
print(" pip install --user PyQt6")
214214
print("\nOr using your distribution's package manager:")
215-
print(" Arch/CachyOS/EndeavourOS/XeroLinux: sudo pacman -S python-pyqt6")
215+
print(" Arch/Artix/CachyOS/EndeavourOS/XeroLinux: sudo pacman -S python-pyqt6")
216216
print(" Fedora/Nobara: sudo dnf install python3-pyqt6")
217217
print(" Debian/Ubuntu/Mint/Pop/Zorin/PikaOS: sudo apt install python3-pyqt6")
218218
print(" openSUSE: sudo zypper install python313-PyQt6")
@@ -7326,8 +7326,8 @@ def _one_click_setup_thread(self):
73267326
]
73277327
install_cmd = ["sudo", "dnf", "install", "-y"] + amd_deps
73287328

7329-
# Arch-based distributions (Arch, CachyOS, EndeavourOS, XeroLinux)
7330-
elif self.distro in ["arch", "cachyos", "endeavouros", "xerolinux"]:
7329+
# Arch-based distributions (Arch, Artix, CachyOS, EndeavourOS, XeroLinux)
7330+
elif self.distro in ["arch", "artix", "cachyos", "endeavouros", "xerolinux"]:
73317331
# Arch uses different package names than Fedora
73327332
amd_deps = [
73337333
"opencl-mesa",
@@ -8235,6 +8235,24 @@ def install_dependencies(self):
82358235
"dotnet-sdk-8.0",
82368236
"dotnet-sdk-10.0",
82378237
],
8238+
"artix": [
8239+
"sudo",
8240+
"pacman",
8241+
"-S",
8242+
"--needed",
8243+
"--noconfirm",
8244+
"wine",
8245+
"winetricks",
8246+
"wget",
8247+
"curl",
8248+
"p7zip",
8249+
"tar",
8250+
"jq",
8251+
"zstd",
8252+
"dotnet-sdk",
8253+
"dotnet-sdk-8.0",
8254+
"dotnet-sdk-10.0",
8255+
],
82388256
"cachyos": [
82398257
"sudo",
82408258
"pacman",
@@ -12175,7 +12193,7 @@ def install_webview2_runtime(self):
1217512193
"Wine Not Installed",
1217612194
"System Wine is required for WebView2 Runtime installation.\n\n"
1217712195
"Please install Wine using your distribution's package manager:\n"
12178-
" • Arch/CachyOS/EndeavourOS/XeroLinux: sudo pacman -S wine\n"
12196+
" • Arch/Artix/CachyOS/EndeavourOS/XeroLinux: sudo pacman -S wine\n"
1217912197
" • Fedora/Nobara: sudo dnf install wine\n"
1218012198
" • PikaOS: sudo apt install wine",
1218112199
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ curl -sSL https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/
4141

4242
The installer will attempt to install PyQt6 automatically if missing. If automatic installation fails, install it manually:
4343

44-
**Arch/CachyOS/EndeavourOS/XeroLinux:**
44+
**Arch/Artix/CachyOS/EndeavourOS/XeroLinux:**
4545
```bash
4646
sudo pacman -S python-pyqt6
4747
```

docs/SYSTEM-REQUIREMENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Officially Supported
66

77
- Arch Linux
8+
- Artix Linux
89
- CachyOS
910
- EndeavourOS
1011
- Fedora

0 commit comments

Comments
 (0)