diff --git a/GUI/host/CMakeLists.txt b/GUI/host/CMakeLists.txt index fcd83f7..6f4594f 100644 --- a/GUI/host/CMakeLists.txt +++ b/GUI/host/CMakeLists.txt @@ -4,5 +4,5 @@ add_executable(TextractorCLI exception.cpp host.cpp textthread.cpp - util.cpp + hookcode.cpp ) diff --git a/deploy.ps1 b/deploy.ps1 index 8707e4e..b5b6fff 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -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/ diff --git a/installer.iss b/installer.iss index 980843e..b5a9512 100644 --- a/installer.iss +++ b/installer.iss @@ -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