Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ULauncher v5 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"manifest_version": "2",
"api_version": "1",
"required_api_version": "^2.0.0",
"name": "Translator",
"description": "Uses translate-shell for translating",
"developer_name": "Yegor Zhumikov",
Expand Down
3 changes: 1 addition & 2 deletions translate_shell_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def execute(self):
except ValueError:
raise StopIteration

result = subprocess.Popen(args, stdout=subprocess.PIPE). \
communicate()[0]
result = subprocess.check_output(args, encoding='utf-8')

lines = result.split('\n')

Expand Down
6 changes: 6 additions & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"required_api_version": "^2.0.0",
"commit": "master"
}
]