Skip to content

Commit

Permalink
Add textractor
Browse files Browse the repository at this point in the history
  • Loading branch information
Youxikong committed May 12, 2024
1 parent 60f9fea commit 9202a08
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions bucket/textractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"version": "5.2.0",
"description": "Extracts text from video games and visual novels. Highly extensible.",
"homepage": "https://github.com/Artikash/Textractor",
"license": "GPL-3.0-only",
"architecture": {
"64bit": {
"url": "https://github.com/Artikash/Textractor/releases/download/v5.2.0/Textractor-5.2.0-Setup.exe",
"hash": "fab1fa588c972c703b2e0f981df7d6ae9fb71683b099bf69547f8815f09f79b6",
"shortcuts": [
[
"x64\\Textractor.exe",
"Textractor (64bit)"
],
[
"x86\\Textractor.exe",
"Textractor (32bit)"
]
],
"bin": [
[
"x64\\TextractorCLI.exe",
"Textractor64"
],
[
"x86\\TextractorCLI.exe",
"Textractor"
]
]
},
"32bit": {
"url": "https://github.com/Artikash/Textractor/releases/download/v5.2.0/Textractor-5.2.0-Setup.exe",
"hash": "fab1fa588c972c703b2e0f981df7d6ae9fb71683b099bf69547f8815f09f79b6",
"shortcuts": [
[
"x86\\Textractor.exe",
"Textractor"
]
],
"bin": [
[
"x86\\TextractorCLI.exe",
"Textractor"
]
]
}

},
"post_install": [
"if ($architecture -eq \"64bit\") {",
" 'Textractor.ini', 'SavedExtensions.txt' | ForEach-Object {",
" if (Test-Path $persist_dir\\x64\\$_) {",
" Move-Item -Path $persist_dir\\x64\\$_ -Destination $dir\\x64",
" }",
" if (Test-Path $persist_dir\\x86\\$_) {",
" Move-Item -Path $persist_dir\\x86\\$_ -Destination $dir\\x86",
" }",
" }",
"} else {",
" 'Textractor.ini', 'SavedExtensions.txt' | ForEach-Object {",
" if (Test-Path $persist_dir\\x86\\$_) {",
" Move-Item -Path $persist_dir\\x86\\$_ -Destination $dir\\x86",
" }",
" }",
"}"
],
"installer": {
"args": "/DIR=$dir /VERYSILENT"
},
"uninstaller": {
"script": [
"if ($architecture -eq \"64bit\") {",
" 'Textractor.ini', 'SavedExtensions.txt' | ForEach-Object {",
" New-Item -ItemType Directory -Path $persist_dir\\x64 | Out-Null",
" Move-Item -Path $dir\\x64\\$_ -Destination $persist_dir\\x64 | Out-Null",
" New-Item -ItemType Directory -Path $persist_dir\\x86 | 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",
" Move-Item -Path $dir\\x86\\$_ -Destination $persist_dir\\x86 | Out-Null",
" }",
"}"
]
},
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Artikash/Textractor/releases/download/v$version/Textractor-$version-Setup.exe"
},
"32bit": {
"url": "https://github.com/Artikash/Textractor/releases/download/v$version/Textractor-$version-Setup.exe"
}
}
}
}

0 comments on commit 9202a08

Please sign in to comment.