forked from Public-Mirror/Textractor
fiix build
This commit is contained in:
parent
a490ebc274
commit
0688daf1da
@ -4,5 +4,5 @@ add_executable(TextractorCLI
|
||||
exception.cpp
|
||||
host.cpp
|
||||
textthread.cpp
|
||||
util.cpp
|
||||
hookcode.cpp
|
||||
)
|
||||
|
@ -16,6 +16,7 @@ foreach ($language in @{
|
||||
PORTUGUESE="Portuguese";
|
||||
THAI="Thai";
|
||||
KOREAN="Korean";
|
||||
ITALIAN="Italian";
|
||||
}.GetEnumerator())
|
||||
{
|
||||
$folder = "Textractor-$($language.Value)-$version";
|
||||
@ -79,6 +80,7 @@ rm -Force -Recurse -Verbose "Textractor";
|
||||
mkdir -Force -Verbose "Textractor";
|
||||
copy -Force -Recurse -Verbose -Destination "Textractor" -Path @("Runtime/*", "Textractor--$version/*");
|
||||
|
||||
cd ..
|
||||
cd ..;
|
||||
&"C:\Program Files (x86)\Inno Setup 6\iscc" -DVERSION="$version" installer.iss;
|
||||
&"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /a /v /t "http://timestamp.digicert.com" /fd SHA256 "Builds/Textractor-$version-Setup.exe";
|
||||
&"C:\Program Files\7-Zip\7z" a "Builds/Textractor-$version-Zip-Version-English-Only.zip" Builds/Textractor/
|
||||
|
@ -24,6 +24,7 @@ Name: "id"; MessagesFile: "compiler:Languages\Unofficial\Indonesian.isl"
|
||||
Name: "pt"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
|
||||
Name: "th"; MessagesFile: "compiler:Languages\Unofficial\Thai.isl"
|
||||
Name: "ko"; MessagesFile: "compiler:Languages\Unofficial\Korean.isl"
|
||||
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"
|
||||
|
||||
|
||||
[Files]
|
||||
@ -37,3 +38,4 @@ Source: "Builds\Textractor-Indonesian-{#VERSION}\*"; DestDir: "{app}"; Languages
|
||||
Source: "Builds\Textractor-Portuguese-{#VERSION}\*"; DestDir: "{app}"; Languages: pt; Flags: recursesubdirs ignoreversion
|
||||
Source: "Builds\Textractor-Thai-{#VERSION}\*"; DestDir: "{app}"; Languages: th; Flags: recursesubdirs ignoreversion
|
||||
Source: "Builds\Textractor-Korean-{#VERSION}\*"; DestDir: "{app}"; Languages: ko; Flags: recursesubdirs ignoreversion
|
||||
Source: "Builds\Textractor-Italian-{#VERSION}\*"; DestDir: "{app}"; Languages: it; Flags: recursesubdirs ignoreversion
|
||||
|
Loading…
x
Reference in New Issue
Block a user