Skip to content

Commit

Permalink
Update installer for Windows
Browse files Browse the repository at this point in the history
- Added a couple of languages that are available for the Linux version
- Add new section for script data
- Get data from tessdata_fast
  The data files are now in the "script" subdirectory.
- Update list of scripts and languages
- Update path for script trained data
- Add data for Han Simplified vertical script
- Fix names of tessdata (jpn_vert, kmr)
- Fix some path names for 64 bit version
- Remove testing files from installation
  Those files were moved from tesseract.git to test.git.
- Don't enforce admin mode, but use highest available
- Don't use a checkbox for the license
- Remove unused code for registry settings (PATH, TESSDATA)
- Don't show README.md (did not work)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
reretter authored and stweil committed Jul 8, 2022
1 parent c3ddb72 commit 20fa2be
Show file tree
Hide file tree
Showing 2 changed files with 499 additions and 283 deletions.
4 changes: 2 additions & 2 deletions nsis/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ all:

if MINGW

gitrev="`git --git-dir=${abs_top_srcdir}/.git --work-tree=${abs_top_srcdir} describe --always --tags`"
gitrev="$(shell git --git-dir=${abs_top_srcdir}/.git --work-tree=${abs_top_srcdir} describe --always --tags)"

.PHONY: winsetup

winsetup:
makensis -DCROSSBUILD -DSHARED -DSRCDIR=$(top_srcdir) -DVERSION=${gitrev} -NOCD $(top_srcdir)/nsis/tesseract.nsi
makensis -DCROSSBUILD -DSHARED -DSRCDIR=$(top_srcdir) -DVERSION=${gitrev} $(shell test "$(host_cpu)" = x86_64 && echo "-DW64") -NOCD $(top_srcdir)/nsis/tesseract.nsi

endif
Loading

0 comments on commit 20fa2be

Please sign in to comment.