1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 12:05:47 +00:00

bundling selected theme files with the package (mintty/mintty#711)

This commit is contained in:
mintty 2017-11-09 17:08:29 +01:00
parent 149b1a6f1a
commit c3b062c00b
3 changed files with 13 additions and 5 deletions

View File

@ -42,7 +42,9 @@ copy wslbridge-backend "%installdir%\bin"
rem create system config directory and copy config archive
mkdir "%installdir%\usr\share\mintty\lang"
copy po.zoo "%installdir%\usr\share\mintty\lang"
copy lang.zoo "%installdir%\usr\share\mintty\lang"
mkdir "%installdir%\usr\share\mintty\themes"
copy themes.zoo "%installdir%\usr\share\mintty\themes"
rem create Start Menu Folder
@ -62,7 +64,9 @@ rmdir /S /Q "%smf%\context menu shortcuts"
rem unpack config files in system config directory
cd /D "%installdir%\usr\share\mintty\lang"
"%installdir%\bin\zoo" xO po
"%installdir%\bin\zoo" xO lang
cd /D "%installdir%\usr\share\mintty\themes"
"%installdir%\bin\zoo" xO themes
:migrate configuration

View File

@ -101,7 +101,8 @@ mintty-build:
mkdir -p bin
cp mintty-$(minttyver)/bin/mintty.exe bin/
cp mintty-$(minttyver)/LICENSE LICENSE.mintty
cd mintty-$(minttyver)/lang; zoo a po *.po; mv po.zoo ../../
cd mintty-$(minttyver)/lang; zoo a lang *.po; mv lang.zoo ../../
cd mintty-$(minttyver)/themes; zoo a themes *[!~]; mv themes.zoo ../../
cygwin:
mkdir -p bin
@ -121,7 +122,8 @@ cop: ver
cp bin/regtool.exe rel/
cp bin/mintty.exe rel/
cp bin/zoo.exe rel/
cp po.zoo rel/
cp lang.zoo rel/
cp themes.zoo rel/
cp bin/wslbridge.exe rel/
cp bin/wslbridge-backend rel/
cp LICENSE.* rel/

View File

@ -53,7 +53,8 @@ FILE17="add default to context menu.lnk"
FILE18="remove from context menu.lnk"
FILE19="wsltty home & help.url"
FILE20="zoo.exe"
FILE21="po.zoo"
FILE21="lang.zoo"
FILE22="themes.zoo"
[SourceFiles]
SourceFiles0=.
@ -81,4 +82,5 @@ SourceFiles0=.
%FILE19%=
%FILE20%=
%FILE21%=
%FILE22%=