Skip to content

Commit

Permalink
fix #78 and add macos screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Nov 20, 2022
1 parent a72636c commit 4a2ddc9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Binary file added COMTool/assets/screenshot_macos.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion COMTool/plugins/dbg.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def selectLogFile(self):
self.config["saveLogPath"] = fileName_choose

def onLog(self, text):
if self.config["saveLogPath"]:
if self.config["saveLog"] and self.config["saveLogPath"]:
with open(self.config["saveLogPath"], "a+", encoding=self.configGlobal["encoding"], newline="\n") as f:
f.write(text)

Expand Down
3 changes: 1 addition & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ A cross platform serial debug tools written by python

| Windows | Linux | Raspberry Pi | macOS |
| ------- | ----- | ------------ | ----- |
| ![comtool Windows screenshot](./COMTool/assets/screenshot_v2_white.png) | ![comtool linux screenshot](./COMTool/assets/screenshot_V1.4_night.png) | ![comtool Raspberry Pi screenshot](./COMTool/assets/RaspberryPiScreenshot.png)
| |
| ![comtool Windows screenshot](./COMTool/assets/screenshot_v2_white.png) | ![comtool linux screenshot](./COMTool/assets/screenshot_V1.4_night.png) | ![comtool Raspberry Pi screenshot](./COMTool/assets/RaspberryPiScreenshot.png) | ![](./COMTool/assets/screenshot_macos.jpg) |


| White theme | Dark theme | protocol plugin | TCP/UDP | Terminal | Graph |
Expand Down
3 changes: 1 addition & 2 deletions README_ZH.MD
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ COMTool

| Windows | Linux | Raspberry Pi | macOS |
| ------- | ----- | ------------ | ----- |
| ![comtool Windows screenshot](./COMTool/assets/screenshot_v2_white.png) | ![comtool linux screenshot](./COMTool/assets/screenshot_V1.4_night.png) | ![comtool Raspberry Pi screenshot](./COMTool/assets/RaspberryPiScreenshot.png)
| |
| ![comtool Windows screenshot](./COMTool/assets/screenshot_v2_white.png) | ![comtool linux screenshot](./COMTool/assets/screenshot_V1.4_night.png) | ![comtool Raspberry Pi screenshot](./COMTool/assets/RaspberryPiScreenshot.png) | ![](./COMTool/assets/screenshot_macos.jpg) |


| 白色主题 | 黑色主题 | 协议插件 | TCP/UDP | 终端 | 图表绘制 |
Expand Down

0 comments on commit 4a2ddc9

Please sign in to comment.