From a4ec1022373009489ab3e99471a60d88e42200fc Mon Sep 17 00:00:00 2001 From: Io Chen Date: Mon, 27 May 2024 22:24:50 +0800 Subject: [PATCH] textractor: modify uninstall scripts --- bucket/textractor.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bucket/textractor.json b/bucket/textractor.json index 962560c..874fb3a 100644 --- a/bucket/textractor.json +++ b/bucket/textractor.json @@ -71,14 +71,14 @@ "script": [ "if ($architecture -eq \"64bit\") {", " 'Textractor.ini', 'SavedExtensions.txt' | ForEach-Object {", - " New-Item -ItemType Directory -Path $persist_dir\\x64 | Out-Null", + " New-Item -ItemType Directory -Path $persist_dir\\x64 -Force | Out-Null", " Move-Item -Path $dir\\x64\\$_ -Destination $persist_dir\\x64 | Out-Null", - " New-Item -ItemType Directory -Path $persist_dir\\x86 | Out-Null", + " New-Item -ItemType Directory -Path $persist_dir\\x86 -Force | Out-Null", " Move-Item -Path $dir\\x86\\$_ -Destination $persist_dir\\x86 | Out-Null", " }", "} else {", " 'Textractor.ini', 'SavedExtensions.txt' | ForEach-Object {", - " New-Item -ItemType Directory -Path $persist_dir\\x86 | Out-Null", + " New-Item -ItemType Directory -Path $persist_dir\\x86 -Force | Out-Null", " Move-Item -Path $dir\\x86\\$_ -Destination $persist_dir\\x86 | Out-Null", " }", "}"