From f5eff180202ad7a014c55b5d5509c3426a6640ad Mon Sep 17 00:00:00 2001 From: Avasam Date: Wed, 9 Oct 2024 17:22:53 -0400 Subject: [PATCH] . --- scripts/build.ps1 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 9aff4bc4..3d416c9f 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -15,11 +15,15 @@ $arguments = @( '--exclude=pygetwindow', '--exclude=pymsgbox', '--exclude=pytweening', - '--exclude=mouseinfo', - # Installed by PyAutoGUI, but used by linux - '--exclude=pyscreeze', - # Installed by D3DShot - '--exclude=PIL') + '--exclude=mouseinfo') +if ($IsWindows) { + # These are used on Linux + $arguments += @( + # Installed by PyAutoGUI + '--exclude=pyscreeze' + # Installed by D3DShot + '--exclude=PIL') +} if ($IsLinux) { $arguments += @( # Required on the CI for PyWinCtl