Commit b1165d7
Joshua Dowell
fix: use BareBonesBrowserLaunch for Privacy Policy link on all platforms
Desktop.getDesktop().browse() throws on some Linux platforms even when
Desktop.isDesktopSupported() returns true, causing the Privacy Policy
hyperlink in FirstLoginDialog to silently fail. Replace the Desktop
if/else with a direct call to BareBonesBrowserLaunch.openURL() which
works reliably cross-platform. Fixes #86.
Signed-off-by: Joshua Dowell <joshua.dowell@centrallogic.com>1 parent 7723b34 commit b1165d7
1 file changed
+2
-6
lines changedLines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
| 189 | + | |
194 | 190 | | |
195 | 191 | | |
196 | 192 | | |
| |||
0 commit comments