Skip to content

Commit

Permalink
v1.3.16
Browse files Browse the repository at this point in the history
- Fixed a bug with connecting to the Android device (when using the JSON file)
- Updated build.sh with hardware platform extension for Linux builds
  • Loading branch information
Hifumi1337 committed Sep 28, 2022
1 parent bea2e5a commit 4039938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function build_droid() {
if [[ "$OSTYPE" == "linux-gnu"* ]]
then
# Linux
pyinstaller --noconfirm --onefile --add-data "/usr/local/lib/python3.10/site-packages/customtkinter:customtkinter/" "main.py" --name droid-$(uname)
pyinstaller --noconfirm --onefile --add-data "/home/hifumi/.local/lib/python3.8/site-packages/customtkinter:customtkinter/" "main.py" --name droid-$(uname)_$(uname -i)
elif [[ "$OSTYPE" == "darwin"* ]]
then
# macOS
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
args = parser.parse_args()

author = "Hifumi1337"
version = "1.3.15"
version = "1.3.16"

# Default Android Debug Bridge (adb) location on specific platforms
if platform.system() == 'Darwin':
Expand Down
2 changes: 1 addition & 1 deletion utils/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def submit():

if exists(json_file_name) and getsize(json_file_name) > 4:
try:
connect_ip_addr = ip_addr[self.ip_addr_json.get()]
connect_ip_addr = getoutput(f'{adb} connect {ip_addr[self.ip_addr_json.get()]}')
except KeyError:
connect_ip_addr = getoutput(f'{adb} connect {self.ip_addr.get()}')
else:
Expand Down

0 comments on commit 4039938

Please sign in to comment.