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

download mintty via git; fix wsltty version info

This commit is contained in:
mintty 2024-10-10 00:00:00 +02:00
parent a2df28017b
commit be4e7fef44

View File

@ -183,10 +183,16 @@ wslbridge-backend:
# extract binaries # extract binaries
cp $(wslbridgedir)/bin/wslbridge2-backend bin/ cp $(wslbridgedir)/bin/wslbridge2-backend bin/
mintty-get: mintty-get: mintty-git # mintty-download or mintty-git
cp mintty-$(minttyver)/icon/terminal.ico mintty.ico
mintty-download:
$(wgeto) https://github.com/mintty/mintty/archive/$(minttyver).zip -o mintty-$(minttyver).zip $(wgeto) https://github.com/mintty/mintty/archive/$(minttyver).zip -o mintty-$(minttyver).zip
unzip -o mintty-$(minttyver).zip unzip -o mintty-$(minttyver).zip
cp mintty-$(minttyver)/icon/terminal.ico mintty.ico
mintty-git:
test -d mintty-$(minttyver) || git clone --depth 111 https://github.com/mintty/mintty.git mintty-$(minttyver)
cd mintty-$(minttyver); git checkout $(minttyver)
wslbuild=LDFLAGS="-static -static-libgcc -s" wslbuild=LDFLAGS="-static -static-libgcc -s"
appxbuild=$(wslbuild) CCOPT=-DWSLTTY_APPX appxbuild=$(wslbuild) CCOPT=-DWSLTTY_APPX