mirror of
https://github.com/mintty/wsltty.git
synced 2025-11-13 21:35:51 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b6a356585 | ||
|
|
195f4069b4 | ||
|
|
9b3b1a89aa | ||
|
|
4e937486f5 |
11
README.md
11
README.md
@@ -11,9 +11,12 @@ Run the [installer](https://github.com/mintty/wsltty/releases) to install
|
|||||||
* `wsl*.bat` scripts to invoke wsltty manually (with some variations and invocation options, see below)
|
* `wsl*.bat` scripts to invoke wsltty manually (with some variations and invocation options, see below)
|
||||||
* an uninstall script that can be invoked manually to remove shortcuts and context menu entries
|
* an uninstall script that can be invoked manually to remove shortcuts and context menu entries
|
||||||
|
|
||||||
|
If Windows complains with a “Windows protected your PC” popup,
|
||||||
|
you may need to click “Run anyway” to proceed with the installation.
|
||||||
|
|
||||||
### Configuration ###
|
### Configuration ###
|
||||||
|
|
||||||
#### Command line scripts wsl*.bat ####
|
#### Command line scripts `wsl*.bat` ####
|
||||||
|
|
||||||
WSLtty installs the following scripts in its application folder `%LOCALAPPDATA%\wsltty`:
|
WSLtty installs the following scripts in its application folder `%LOCALAPPDATA%\wsltty`:
|
||||||
* `wsl.bat` to start a WSL bash in the current folder/directory
|
* `wsl.bat` to start a WSL bash in the current folder/directory
|
||||||
@@ -49,6 +52,12 @@ Note that the `%APPDATA%\mintty\config` option provides the possibility
|
|||||||
to maintain common mintty settings for various installations (like
|
to maintain common mintty settings for various installations (like
|
||||||
wsltty, Cygwin, MinGW/msys, Git for Windows, MinEd for Windows).
|
wsltty, Cygwin, MinGW/msys, Git for Windows, MinEd for Windows).
|
||||||
|
|
||||||
|
#### Shell selection ####
|
||||||
|
|
||||||
|
To invoke your favourite shell, simply replace `/bin/bash` with its pathname
|
||||||
|
in the Desktop shortcuts, `wsl*.bat` invocation scripts,
|
||||||
|
or Explorer context menu commands (configured in `config-context-menu.bat`).
|
||||||
|
|
||||||
### Components ###
|
### Components ###
|
||||||
|
|
||||||
For mintty, see the [Mintty homepage](http://mintty.github.io/),
|
For mintty, see the [Mintty homepage](http://mintty.github.io/),
|
||||||
|
|||||||
@@ -45,6 +45,9 @@ mkdir "%installdir%\home\%USERNAME%\.config\mintty"
|
|||||||
mkdir "%installdir%\home\%USERNAME%\.config\mintty\lang"
|
mkdir "%installdir%\home\%USERNAME%\.config\mintty\lang"
|
||||||
copy po.zoo "%installdir%\home\%USERNAME%\.config\mintty\lang"
|
copy po.zoo "%installdir%\home\%USERNAME%\.config\mintty\lang"
|
||||||
|
|
||||||
|
rem create "temp directory" for version checking
|
||||||
|
mkdir "%installdir%\tmp
|
||||||
|
|
||||||
|
|
||||||
:shortcuts
|
:shortcuts
|
||||||
|
|
||||||
|
|||||||
22
makefile
22
makefile
@@ -1,12 +1,18 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
# default: generate all
|
# build a wsltty installer package:
|
||||||
|
# configure ver=... and minttyver= in this makefile
|
||||||
|
# make targets:
|
||||||
|
# make [all] to build a distributable installer (default)
|
||||||
|
# make pkg to build an installer, bypassing the system checks
|
||||||
|
# make wsltty to build an installer using the local copy of mintty
|
||||||
|
|
||||||
all: check pkg
|
all: check pkg
|
||||||
|
|
||||||
# wsltty release
|
# wsltty release
|
||||||
ver=0.7.4
|
ver=0.7.6
|
||||||
|
|
||||||
# mintty release version
|
# mintty release version
|
||||||
minttyver=2.7.4
|
minttyver=2.7.6
|
||||||
#minttyver=master
|
#minttyver=master
|
||||||
|
|
||||||
# wslbridge backend version
|
# wslbridge backend version
|
||||||
@@ -18,12 +24,6 @@ wslbridgever=0.2.1
|
|||||||
# release 0.2.1 is updated and complete, no separate frontend build needed:
|
# release 0.2.1 is updated and complete, no separate frontend build needed:
|
||||||
wslbridge-frontend=
|
wslbridge-frontend=
|
||||||
|
|
||||||
help:
|
|
||||||
echo configure `ver=...` and `minttyver=` in this makefile
|
|
||||||
echo run `make` to build a distributable installer
|
|
||||||
echo run `make pkg` to build an installer, bypassing the system checks
|
|
||||||
echo run `make wsltty` to build an installer using the local copy of mintty
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# target checking and some defs
|
# target checking and some defs
|
||||||
|
|
||||||
@@ -55,7 +55,9 @@ check:
|
|||||||
# check cygwin (vs msys) for proper drag-and-drop paths:
|
# check cygwin (vs msys) for proper drag-and-drop paths:
|
||||||
uname | grep CYGWIN
|
uname | grep CYGWIN
|
||||||
# check 32 bit (vs 64 bit) to ensure 32-Bit Windows support, just in case:
|
# check 32 bit (vs 64 bit) to ensure 32-Bit Windows support, just in case:
|
||||||
uname -m | grep i686
|
#uname -m | grep i686
|
||||||
|
# check 64 bit (vs 32 bit) to provide 64-Bit stability support:
|
||||||
|
uname -m | grep x86_64
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# generation
|
# generation
|
||||||
|
|||||||
Reference in New Issue
Block a user