Browse Source

fix process names showing up as test

master
forest 1 month ago
parent
commit
3f31820475
3 changed files with 7 additions and 2 deletions
  1. +1
    -0
      README.md
  2. BIN
      readme/screenshot-windows.png
  3. +6
    -2
      src/main/python/main.py

+ 1
- 0
README.md View File

@ -13,6 +13,7 @@ greenhouse-desktop is a cross-platform [fbs (fman build system)](https://github.
![screenshot of splash screen](readme/screenshot.png)
![screenshot of tunnel configuration screen highlighting listening port chooser](readme/screenshot-windows.png)
## Getting Started (run from source)


BIN
readme/screenshot-windows.png View File

Before After
Width: 1241  |  Height: 763  |  Size: 44 KiB

+ 6
- 2
src/main/python/main.py View File

@ -465,7 +465,7 @@ class MainWindow(QWidget):
about_link.setObjectName("link_button")
def on_about_link_clicked():
webbrowser3dot10.open(self.url_install_mac)
webbrowser3dot10.open(f"{self.url_install_mac}")
about_link.clicked.connect(on_about_link_clicked)
about_link_layout.addWidget(about_link_label)
@ -1938,7 +1938,11 @@ class MainWindow(QWidget):
port_item = QTableWidgetItem(str(get_port_number(listening_port["LocalAddr"])))
port_item.setFont( QFont(port_item.font().family(), 10, QFont.Bold))
command_item = QTableWidgetItem(listening_port["ProcessCommand"] + "test")
command_item = QTableWidgetItem()
if listening_port["ProcessCommand"] == "":
command_item.setText("<unknown>")
else:
command_item.setText(listening_port["ProcessCommand"])
pid_item = QTableWidgetItem(str(listening_port["PID"]))
pid_item.setForeground(QColor(0, 50, 50, 80))


Loading…
Cancel
Save