Skip to content

Commit

Permalink
textractor: modify uninstall scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Youxikong committed May 27, 2024
1 parent 08b2f7d commit a4ec102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bucket/textractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
" }",
"}"
Expand Down

0 comments on commit a4ec102

Please sign in to comment.