Skip to content

Commit

Permalink
v0.8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Dec 21, 2018
1 parent 3a43d88 commit b54faea
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ More screenshots [here](https://github.com/goreliu/wsl-terminal/wiki/Screenshots

## Usage

1. [Download here](https://github.com/goreliu/wsl-terminal/releases), or run `bash -c "wget https://github.com/goreliu/wsl-terminal/releases/download/v0.8.11/wsl-terminal-0.8.11.7z && 7z x wsl-terminal-0.8.11.7z"` in `cmd.exe` or WSL.
1. [Download here](https://github.com/goreliu/wsl-terminal/releases), or run `bash -c "wget https://github.com/goreliu/wsl-terminal/releases/download/v0.8.12/wsl-terminal-0.8.12.7z && 7z x wsl-terminal-0.8.12.7z"` in `cmd.exe` or WSL.

2. Run `open-wsl.exe` to open a WSL terminal in current directory (need to be on a local NTFS volume, [more details](https://github.com/rprichard/wslbridge#building-wslbridge)).

Expand Down
2 changes: 1 addition & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## 用法

1.[这里](https://github.com/goreliu/wsl-terminal/releases)下载最新版本并解压,或者在 `cmd.exe` 或 WSL 里运行 `bash -c "wget https://github.com/goreliu/wsl-terminal/releases/download/v0.8.11/wsl-terminal-0.8.11.7z && 7z x wsl-terminal-0.8.11.7z"`
1.[这里](https://github.com/goreliu/wsl-terminal/releases)下载最新版本并解压,或者在 `cmd.exe` 或 WSL 里运行 `bash -c "wget https://github.com/goreliu/wsl-terminal/releases/download/v0.8.12/wsl-terminal-0.8.12.7z && 7z x wsl-terminal-0.8.12.7z"`

2. 运行 `open-wsl.exe` 可以在当前目录打开一个 WSL 终端模拟器(wsl-terminal 需要放置在本地的 NTFS 分区上,[原因](https://github.com/rprichard/wslbridge#building-wslbridge))。

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.11
0.8.12
11 changes: 11 additions & 0 deletions src/open-wsl.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ if (exe_name == "run-wsl-file") {
Run, %mintty_base% %mintty_options% -t "%arg%" %wslbridge_base% -t ./"%filename%"
ExitApp
} else if (exe_name != "open-wsl" && exe_name != "cmd") {
; editor
argc = %0%
filepath := ""
filename := ""
Expand All @@ -68,6 +69,16 @@ if (exe_name == "run-wsl-file") {
}

Run, %mintty_base% %mintty_options% -t "%filepath%" %wslbridge_base% -t "%exe_name%" %options% %filename%

Loop, 5 {
WinActivate, %filepath%
if (WinActive(filepath)) {
break
}

Sleep, 50
}

ExitApp
}

Expand Down
6 changes: 3 additions & 3 deletions src/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

set -e

cygwin_version="2.10.0-1"
mintty_version="2.8.5-0"
fatty_version="r1842.4e91950-2"
cygwin_version="2.11.2-1"
mintty_version="2.9.5-0"
fatty_version="r2094.3a2e677-1"
wslbridge_version="0.2.4"

# wget tar xz gzip p7zip
Expand Down

0 comments on commit b54faea

Please sign in to comment.