@@ -97,6 +97,9 @@ def init_ui(self):
9797 self .load_local_btn = QPushButton ("Load from PC" )
9898 self .load_local_btn .setFixedHeight (30 )
9999 self .load_local_btn .setToolTip ("Load token from Streamlabs desktop app data" )
100+ if platform .system () == "Linux" :
101+ self .load_local_btn .setEnabled (False )
102+ self .load_local_btn .setToolTip ("Streamlabs Desktop is not supported on Linux" )
100103 self .load_local_btn .clicked .connect (self .load_local_token )
101104 load_buttons_row .addWidget (self .load_local_btn )
102105
@@ -109,20 +112,6 @@ def init_ui(self):
109112
110113 token_layout .addLayout (load_buttons_row )
111114
112- # Binary Location Input Row
113- if platform .system () == "Linux" :
114- binary_row = QHBoxLayout ()
115- binary_row .setSpacing (5 )
116-
117- self .binary_location_entry = QLineEdit ()
118- self .binary_location_entry .setPlaceholderText ("Custom Chrome binary path (optional)" )
119- self .binary_location_entry .setFixedHeight (28 )
120- self .binary_location_entry .setToolTip ("Leave empty to auto-detect Chrome path on Linux" )
121- binary_row .addWidget (self .binary_location_entry )
122-
123- token_layout .addLayout (binary_row )
124-
125-
126115 # Account Info Section
127116 account_info_label = QLabel ("Account Information" )
128117 account_info_label .setStyleSheet ("font-weight: bold; margin-top: 8px;" )
0 commit comments