Skip to content

Commit 33f0311

Browse files
committed
feat(Lite): version 0.4.4
1 parent e2f9f80 commit 33f0311

33 files changed

+95
-57
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ env:
88
script:
99
set -o pipefail &&
1010
travis_retry
11+
pod install
1112
xcodebuild clean build -scheme OpenInTerminal -sdk macosx -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGN_REQUIRED=NO | xcpretty -f `xcpretty-travis-formatter`

OpenInTerminal-Lite/OpenInTerminal-Lite/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.4.3</string>
20+
<string>0.4.4</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>
2626
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
27+
<key>LSUIElement</key>
28+
<true/>
2729
<key>NSAppleEventsUsageDescription</key>
2830
<string>Please give permissions to access your Finder &amp; Terminal</string>
2931
<key>NSHumanReadableCopyright</key>
3032
<string>Copyright © 2019 Jianing Wang. All rights reserved.</string>
3133
<key>NSPrincipalClass</key>
3234
<string>NSApplication</string>
33-
<key>LSUIElement</key>
34-
<true/>
3535
</dict>
3636
</plist>

OpenInTerminal/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.10.1</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
<key>LSApplicationCategoryType</key>

README.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
11
<p align="center">
2-
<img width="100%" src="./screenshots/readme-header.png"><br/><br/>
3-
<a href="https://github.com/Ji4n1ng/OpenInTerminal/releases/tag/0.10.0"><img src="https://img.shields.io/badge/Version-0.10.0-blue.svg?longCache=true&style=for-the-badge"></a>
2+
<img width="100%" src="./Resources/screenshots/readme-header.png"><br/><br/>
3+
<a href="https://github.com/Ji4n1ng/OpenInTerminal/releases/tag/0.10.1"><img src="https://img.shields.io/badge/Version-0.10.1-blue.svg?longCache=true&style=for-the-badge"></a>
44
<a href="https://github.com/Ji4n1ng/OpenInTerminal/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-green.svg?longCache=true&style=for-the-badge"></a>
55
<img src="https://img.shields.io/badge/Made With-Swift-red.svg?longCache=true&style=for-the-badge">
66
<a href="https://travis-ci.org/Ji4n1ng/OpenInTerminal"><img src="https://img.shields.io/travis/Ji4n1ng/OpenInTerminal.svg?style=for-the-badge"></a>
77
</p>
88

99

1010

11-
English | [中文说明](./README-zh.md)
11+
12+
English | [中文说明](./Resources/README-zh.md)
1213

1314
## How to use 🚀
1415

1516
### 1) Open current directory in Terminal (or Editor)
1617

1718
<div>
18-
<img src="./screenshots/main-open-in-terminal.gif" width="600px">
19+
<img src="./Resources/screenshots/main-open-in-terminal.gif" width="600px">
1920
</div>
20-
2121
### 2) Open selected folder or file in Terminal (or Editor)
2222

2323
<div>
24-
<img src="./screenshots/main-open-in-editor.gif" width="600px">
24+
<img src="./Resources/screenshots/main-open-in-editor.gif" width="600px">
2525
</div>
26-
2726
### 3) Copy path of the selected file or Finder window to Clipboard
2827

2928
<div>
30-
<img src="./screenshots/main-copy-path-to-clipboard.gif" width="600px">
29+
<img src="./Resources/screenshots/main-copy-path-to-clipboard.gif" width="600px">
3130
</div>
32-
3331
### More features
3432

3533
- ✅ Support Terminal, [iTerm](https://www.iterm2.com/), [Hyper](https://github.com/zeit/hyper) and [Alacritty](https://github.com/jwilm/alacritty).
@@ -46,7 +44,7 @@ There are a normal version and a lite version of OpenInTerminal. If you only nee
4644

4745
For `OpenInTerminal-Lite` users:
4846

49-
Please check the document: [English](./README-Lite.md) | [中文说明](README-Lite-zh.md)
47+
Please check the document: [English](./Resources/README-Lite.md) | [中文说明](./Resources/README-Lite-zh.md)
5048

5149
## How to install 🖥
5250

@@ -62,7 +60,7 @@ Please check the document: [English](./README-Lite.md) | [中文说明](README-L
6260

6361
2. Done.
6462

65-
#### b) Manual (latest version: 0.10.0)
63+
#### b) Manual (latest version: 0.10.1)
6664

6765
1. Download from [release](https://github.com/Ji4n1ng/OpenInTerminal/releases).
6866

@@ -77,19 +75,17 @@ Please check the document: [English](./README-Lite.md) | [中文说明](README-L
7775
Open the OpenInTerminal app. Go to `System Preferences` -> `Extensions` -> `Finder Extensions`, check the permission button as below.
7876

7977
<div>
80-
<img src="./screenshots/finder-extension-permission.png" width="450px">
78+
<img src="./Resources/screenshots/finder-extension-permission.png" width="450px">
8179
</div>
82-
8380
### 3. Set OpenInTerminal to launch at login
8481

8582
Just check the `Launch OpenInTerminal at login` button in `Preferences`.
8683

8784
> Because the Finder Extension does not work when the main app is not running, it is very recommended to set OpenInTerminal to launch at login.
8885
8986
<div>
90-
<img src="./screenshots/pref-general.png" width="400px">
87+
<img src="./Resources/screenshots/pref-general.png" width="400px">
9188
</div>
92-
9389
## Todo 👨‍💻
9490

9591

@@ -120,16 +116,21 @@ If you have a good idea, feel welcome to open a new [issue](https://github.com/J
120116

121117
## Changes 🗒
122118

119+
**version 0.10.1**
120+
121+
- Thanks to [pynixwang](https://github.com/pynixwang)'s suggestions. iTerm will not leave `cd xxx` in history.
122+
- You need to reclick the `window` button or the `tab` button of iTerm in `Perferences`.
123+
123124
**version 0.10.0**
124125

125126
- Support keyboard shortcuts.
126127
- Support VSCodium.
127128

128-
**version 0.9.1**
129-
130-
Support French.
131-
132129
<details><summary>old version</summary><br>
130+
<p><strong>version 0.9.1</strong></p>
131+
<ul>
132+
<li>Support French.</li>
133+
</ul>
133134
<p><strong>version 0.9.0</strong></p>
134135
<ul>
135136
<li>OpenInTerminal has been released after several weeks of development. If you have suggestions or there are bugs, please feel free to open an issue.</li>

README-Lite-zh.md renamed to Resources/README-Lite-zh.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<p align="center">
22
<img width="100%" src="./screenshots/readme-header-zh.png"><br/><br/>
3-
<a href="https://github.com/Ji4n1ng/OpenInTerminal/releases/tag/0.4.3"><img src="https://img.shields.io/badge/Version-0.4.3-blue.svg?longCache=true&style=for-the-badge"></a>
3+
<a href="https://github.com/Ji4n1ng/OpenInTerminal/releases/tag/0.4.4"><img src="https://img.shields.io/badge/Version-0.4.4-blue.svg?longCache=true&style=for-the-badge"></a>
44
<a href="https://github.com/Ji4n1ng/OpenInTerminal/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-green.svg?longCache=true&style=for-the-badge"></a>
55
<img src="https://img.shields.io/badge/Made With-Swift-red.svg?longCache=true&style=for-the-badge">
66
<a href="https://travis-ci.org/Ji4n1ng/OpenInTerminal"><img src="https://img.shields.io/travis/Ji4n1ng/OpenInTerminal.svg?style=for-the-badge"></a>
77
</p>
88

99

10+
1011
[English](./README-Lite.md) | 中文说明
1112

1213
## 如何使用 🚀
@@ -41,7 +42,7 @@ defaults remove wang.jianing.OpenInTerminal-Lite OIT_TerminalBundleIdentifier
4142

4243
当你在使用 `Terminal` 或者 `iTerm`,你可以设置默认打开一个新的标签页或者窗口。**默认**是打开新的窗口。
4344

44-
对于 `Terminal`:
45+
#### 对于 Terminal:
4546

4647
```
4748
# 打开新的标签页
@@ -50,15 +51,27 @@ defaults write wang.jianing.OpenInTerminal-Lite OIT_TerminalNewOption tab
5051
defaults write wang.jianing.OpenInTerminal-Lite OIT_TerminalNewOption window
5152
```
5253

53-
对于 `iTerm`:
54+
#### 对于 iTerm:
55+
56+
版本 0.4.4 及以上:
5457

5558
```
5659
# 打开新的标签页
57-
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption tab
60+
defaults write com.googlecode.iterm2 OpenFileInNewWindows -bool false
5861
# 打开新的窗口
59-
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption window
62+
defaults write com.googlecode.iterm2 OpenFileInNewWindows -bool true
6063
```
6164

65+
66+
<details><summary>老版本:</summary><br>
67+
<code>
68+
# 打开新的标签页<br>
69+
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption tab<br>
70+
# 打开新的窗口<br>
71+
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption window
72+
</code>
73+
<br>
74+
</details>
6275
对于 `Hyper` 用户来说,更推荐打开新的标签页。
6376

6477
对于 `Alacritty` 用户来说,目前只支持打开新的窗口。
@@ -81,7 +94,7 @@ defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption window
8194
8295
![toolbar](./screenshots/lite-drag_to_toolbar.gif)
8396

84-
### 手动安装 (最新版本:0.4.3)
97+
### 手动安装 (最新版本:0.4.4)
8598

8699
1.[release](https://github.com/Ji4n1ng/OpenInTerminal/releases) 中下载。
87100
2. 将应用移动到 `应用程序` 文件夹。
@@ -107,21 +120,25 @@ defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption window
107120

108121
## 版本变动 🗒
109122

123+
**version 0.4.4**
124+
125+
- 感谢 [pynixwang](https://github.com/pynixwang) 的建议。iTerm 现在不会在 history 中留下 `cd xxx`
126+
- 修复了启动程序时图标在 Dock 栏闪动的问题。
127+
110128
**version 0.4.3**
111129

112130
- 修复了本地化的 bug
113131

114132
**version 0.4.2**
115133

116134
- 支持 French
117-
118135
- 感谢 [filmgirl](https://github.com/filmgirl) 提供的图标
119136

120-
**version 0.4.1**
121-
122-
- 支持 `Alacritty`
123-
124137
<details><summary>旧版本</summary><br>
138+
<p><strong>version 0.4.1</strong></p>
139+
<ul>
140+
<li>支持 Alacritty</li>
141+
</ul>
125142
<p><strong>version 0.4.0</strong></p>
126143
<ul>
127144
<li>当使用 Terminal 和 iTerm 的时候,你可以设置默认打开新的标签页或者窗口。</li>

README-Lite.md renamed to Resources/README-Lite.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<p align="center">
22
<img width="100%" src="./screenshots/readme-header.png"><br/><br/>
3-
<a href="https://github.com/Ji4n1ng/OpenInTerminal/releases/tag/0.4.3"><img src="https://img.shields.io/badge/Version-0.4.3-blue.svg?longCache=true&style=for-the-badge"></a>
3+
<a href="https://github.com/Ji4n1ng/OpenInTerminal/releases/tag/0.4.4"><img src="https://img.shields.io/badge/Version-0.4.4-blue.svg?longCache=true&style=for-the-badge"></a>
44
<a href="https://github.com/Ji4n1ng/OpenInTerminal/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-green.svg?longCache=true&style=for-the-badge"></a>
55
<img src="https://img.shields.io/badge/Made With-Swift-red.svg?longCache=true&style=for-the-badge">
66
<a href="https://travis-ci.org/Ji4n1ng/OpenInTerminal"><img src="https://img.shields.io/travis/Ji4n1ng/OpenInTerminal.svg?style=for-the-badge"></a>
77
</p>
88

9+
910
English | [中文说明](README-Lite-zh.md)
1011

1112
## How to use 🚀
@@ -40,7 +41,7 @@ defaults remove wang.jianing.OpenInTerminal-Lite OIT_TerminalBundleIdentifier
4041

4142
When you are using `Terminal` and `iTerm`, you can set a default to open a new tab or window. The **default** is to open a new window.
4243

43-
For `Terminal`:
44+
#### For Terminal:
4445

4546
```
4647
# Open a new Tab
@@ -49,22 +50,34 @@ defaults write wang.jianing.OpenInTerminal-Lite OIT_TerminalNewOption tab
4950
defaults write wang.jianing.OpenInTerminal-Lite OIT_TerminalNewOption window
5051
```
5152

52-
For `iTerm`:
53+
#### For iTerm:
54+
55+
version 0.4.4 and above:
5356

5457
```
5558
# Open a new Tab
56-
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption tab
59+
defaults write com.googlecode.iterm2 OpenFileInNewWindows -bool false
5760
# Open a new Window
58-
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption window
61+
defaults write com.googlecode.iterm2 OpenFileInNewWindows -bool true
5962
```
6063

64+
<details><summary>old versions:</summary><br>
65+
<code>
66+
# Open a new Tab<br>
67+
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption tab<br>
68+
# Open a new Window<br>
69+
defaults write wang.jianing.OpenInTerminal-Lite OIT_iTermNewOption window
70+
</code>
71+
<br>
72+
</details>
73+
6174
For `Hyper` users, it is more recommended to open a new tab.
6275

6376
For `Alacritty` users, it is only supported to open a new window now.
6477

6578
## How to install 🖥
6679

67-
### Homebrew (latest version 0.4.3)
80+
### Homebrew (current version 0.4.3)
6881

6982
1. Run the following command
7083

@@ -80,7 +93,7 @@ For `Alacritty` users, it is only supported to open a new window now.
8093
8194
![toolbar](./screenshots/lite-drag_to_toolbar.gif)
8295

83-
### Manual (latest version: 0.4.3)
96+
### Manual (latest version: 0.4.4)
8497

8598
1. Download from [release](https://github.com/Ji4n1ng/OpenInTerminal/releases).
8699
2. Move the app into `/Applications`.
@@ -104,9 +117,13 @@ I provided several icons along with the app in the [release](https://github.com/
104117
<details><summary>2. Special characters in the <code>path</code>.</summary><br>
105118
<p>Please do not use backslash <code>\</code> and double quotes <code>"</code> in the path</p>
106119
</details>
107-
108120
## Changes 🗒
109121

122+
**version 0.4.4**
123+
124+
- Thanks to [pynixwang](https://github.com/pynixwang)'s suggestions. iTerm will not leave 'cd xxx' in history.
125+
- Fix: icon will not flash in dock
126+
110127
**version 0.4.3**
111128

112129
- Fix localization bug
@@ -117,11 +134,11 @@ I provided several icons along with the app in the [release](https://github.com/
117134

118135
- Thanks to [filmgirl](https://github.com/filmgirl) for providing alternative dark terminal icon.
119136

120-
**version 0.4.1**
121-
122-
- Support `Alacritty`
123-
124137
<details><summary>old version</summary><br>
138+
<p><strong>version 0.4.1</strong></p>
139+
<ul>
140+
<li>Support Alacritty</li>
141+
</ul>
125142
<p><strong>version 0.4.0</strong></p>
126143
<ul>
127144
<li>You can set a default to open a new tab or window when using Terminal and Hyper.</li>

0 commit comments

Comments
 (0)