From 99fcee09825857d612f8682fa172f22e743f9502 Mon Sep 17 00:00:00 2001
From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Date: Wed, 15 Jan 2025 10:36:00 +0100
Subject: [PATCH] fix: do not check for existing install on nix

---
 packages/winapps/setup.patch | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/packages/winapps/setup.patch b/packages/winapps/setup.patch
index 88b8844..9336a04 100644
--- a/packages/winapps/setup.patch
+++ b/packages/winapps/setup.patch
@@ -1,5 +1,5 @@
 diff --git a/setup.sh b/setup.sh
-index 8c6209fb..b7651485 100755
+index b7d930d6..18000c65 100755
 --- a/setup.sh
 +++ b/setup.sh
 @@ -39,8 +39,8 @@ readonly SYS_BIN_PATH="/usr/local/bin"                  # UNIX path to 'bin' dir
@@ -137,6 +137,15 @@ index 8c6209fb..b7651485 100755
  Terminal=false
  Type=Application
  Icon=${APP_ICON}
+@@ -1550,7 +1530,7 @@ function waInstall() {
+     echo -e "${BOLD_TEXT}Installing WinApps.${CLEAR_TEXT}"
+ 
+     # Check for existing conflicting WinApps installations.
+-    waCheckExistingInstall
++    # waCheckExistingInstall
+ 
+     # Load the WinApps configuration file.
+     waLoadConfig
 @@ -1626,8 +1606,8 @@ function waInstall() {
      waFindInstalled
  
-- 
GitLab