1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 20:10:58 +00:00

include localization files

This commit is contained in:
mintty 2017-01-06 16:47:13 +01:00
parent 01274fc94c
commit 4bca6510b5
3 changed files with 26 additions and 1 deletions

View File

@ -31,6 +31,7 @@ copy cygwin1.dll "%installdir%\bin"
copy cygwin-console-helper.exe "%installdir%\bin" copy cygwin-console-helper.exe "%installdir%\bin"
rem copy dash.exe "%installdir%\bin" rem copy dash.exe "%installdir%\bin"
copy mintty.exe "%installdir%\bin" copy mintty.exe "%installdir%\bin"
copy zoo.exe "%installdir%\bin"
copy wslbridge.exe "%installdir%\bin" copy wslbridge.exe "%installdir%\bin"
copy wslbridge-backend "%installdir%\bin" copy wslbridge-backend "%installdir%\bin"
@ -38,6 +39,12 @@ rem create "home directory" to enable storage of config file
mkdir "%installdir%\home mkdir "%installdir%\home
mkdir "%installdir%\home\%USERNAME%" mkdir "%installdir%\home\%USERNAME%"
rem create "config directory" and copy config archive
mkdir "%installdir%\home\%USERNAME%\.config"
mkdir "%installdir%\home\%USERNAME%\.config\mintty"
mkdir "%installdir%\home\%USERNAME%\.config\mintty\lang"
copy po.zoo "%installdir%\home\%USERNAME%\.config\mintty\lang"
:shortcuts :shortcuts
@ -58,4 +65,11 @@ copy "WSL Bash %% in Mintty.lnk" "%USERPROFILE%\Desktop"
copy "WSL Bash ~ in Mintty.lnk" "%USERPROFILE%\Desktop" copy "WSL Bash ~ in Mintty.lnk" "%USERPROFILE%\Desktop"
:config
rem unpack config files
cd /D "%installdir%\home\%USERNAME%\.config\mintty\lang"
"%installdir%\bin\zoo" x po
:end :end

View File

@ -79,22 +79,27 @@ mintty:
mkdir -p bin mkdir -p bin
cp mintty-$(minver)/bin/mintty.exe bin/ cp mintty-$(minver)/bin/mintty.exe bin/
cp mintty-$(minver)/LICENSE LICENSE.mintty cp mintty-$(minver)/LICENSE LICENSE.mintty
cd mintty-$(minver)/lang; zoo a po *.po; mv po.zoo ../../
cygwin: cygwin:
mkdir -p bin mkdir -p bin
cp /bin/cygwin1.dll bin/ cp /bin/cygwin1.dll bin/
cp /bin/cygwin-console-helper.exe bin/ cp /bin/cygwin-console-helper.exe bin/
#cp /bin/dash.exe bin/ #cp /bin/dash.exe bin/
cp /bin/zoo.exe bin/
wsltty: wsltty:
pkg: wslbridge mintty cygwin wsltty cab:
mkdir -p rel mkdir -p rel
rm -fr rel/wsltty-$(ver)-install.exe
sed -e "s,%version%,$(ver)," makewinx.cfg > rel/wsltty.SED sed -e "s,%version%,$(ver)," makewinx.cfg > rel/wsltty.SED
cp bin/cygwin1.dll rel/ cp bin/cygwin1.dll rel/
cp bin/cygwin-console-helper.exe rel/ cp bin/cygwin-console-helper.exe rel/
#cp bin/dash.exe rel/ #cp bin/dash.exe rel/
cp bin/mintty.exe rel/ cp bin/mintty.exe rel/
cp bin/zoo.exe rel/
cp po.zoo rel/
cp bin/wslbridge.exe rel/ cp bin/wslbridge.exe rel/
cp bin/wslbridge-backend rel/ cp bin/wslbridge-backend rel/
cp LICENSE.* rel/ cp LICENSE.* rel/
@ -103,5 +108,7 @@ pkg: wslbridge mintty cygwin wsltty
cp *.bat rel/ cp *.bat rel/
cd rel; iexpress /n wsltty.SED cd rel; iexpress /n wsltty.SED
pkg: wslbridge mintty cygwin wsltty cab
############################################################################# #############################################################################
# end # end

View File

@ -51,6 +51,8 @@ FILE15="config-context-menu.bat"
FILE16="add to context menu.lnk" FILE16="add to context menu.lnk"
FILE17="remove from context menu.lnk" FILE17="remove from context menu.lnk"
FILE18="wsltty home & help.url" FILE18="wsltty home & help.url"
FILE19="zoo.exe"
FILE20="po.zoo"
[SourceFiles] [SourceFiles]
SourceFiles0=. SourceFiles0=.
@ -75,4 +77,6 @@ SourceFiles0=.
%FILE16%= %FILE16%=
%FILE17%= %FILE17%=
%FILE18%= %FILE18%=
%FILE19%=
%FILE20%=