@@ -181,36 +181,6 @@ def evt_btn3DCityDBInstall_clicked(self) -> None:
181
181
For Windows OS: Opens the default web browser with the PDF file containing the installation and user guide.
182
182
Otherwise: Opens the url to GitHub where the PDFs are stored.
183
183
"""
184
- # To be activated once we have the PDFs for each main OS
185
- if self .PLATFORM_SYSTEM == "Windows" :
186
- file_name : str = "3DCityDB_Suite_QuickInstall_Windows.pdf"
187
- # elif self.PLATFORM_SYSTEM == "Darwin":
188
- # file_name: str = "3DCityDB_Suite_QuickInstall_macOS.pdf"
189
- # elif self.PLATFORM_SYSTEM == "Linux":
190
- # file_name: str = "3DCityDB_Suite_QuickInstall_Linux.pdf"
191
- # else:
192
- # file_name: str = "3DCityDB_Suite_QuickInstall_Linux.pdf"
193
-
194
- # **************************************
195
- # Only for testing purposes
196
- #
197
- # self.PLATFORM_SYSTEM = "Darwin"
198
- #
199
- # **************************************
200
-
201
- if self .PLATFORM_SYSTEM == "Windows" :
202
- # This will open a PDF viewer instead of the browser
203
- pdf_path = os .path .join (self .PLUGIN_ABS_PATH , "manuals" , "3dcitydb_install" , file_name )
204
- # print(pdf_path)
205
- sh_f .open_local_PDF (pdf_path )
206
- else :
207
- # url = "/".join([self.URL_GITHUB_PLUGIN, "blob", "v." + self.PLUGIN_VERSION_TXT, "manuals", "3dcitydb_install", file_name])
208
-
209
- # For OSes other than Windows, simply point to the GitHub folder because
210
- # we cannot automatically guess which default PDF reader (if any) they have on their system
211
- url = "/" .join ([self .URL_GITHUB_PLUGIN , "blob" , "v." + self .PLUGIN_VERSION_TXT , "manuals" , "3dcitydb_install" ])
212
- # print(url)
213
- sh_f .open_online_url (url )
214
184
215
185
# **************************************
216
186
# Only for testing purposes
@@ -221,6 +191,12 @@ def evt_btn3DCityDBInstall_clicked(self) -> None:
221
191
#
222
192
# **************************************
223
193
194
+ # Simply point to the GitHub folder because
195
+ url = "/" .join ([self .URL_GITHUB_PLUGIN , "blob" , "v." + self .PLUGIN_VERSION_TXT , "manuals" , "3dcitydb_install" ])
196
+ # print(url)
197
+ sh_f .open_online_url (url )
198
+
199
+
224
200
return None
225
201
226
202
0 commit comments