Pidgeot / python-lnp

Cross-platform re-implementation of the Lazy Newb Pack launcher.
ISC License
64 stars 10 forks source link

Button to open DFHack readme #119

Closed Pidgeot closed 4 years ago

Pidgeot commented 4 years ago

Seems like an obvious follow-up to issue #104

The button should attempt to:

  1. Open <df>/hack/docs/index.html (if file exists)
  2. Open <df>/hack/docs/html/index.html (if file exists; alternative location)
  3. Open a browser at https://dfhack.readthedocs.org/ (if an internet connection available)
  4. Open the <df>/hack/docs/ directory, and let the user find the text files (if dir exists)
  5. Fail

This should cover the vast majority of cases with DFHack, despite the variation in offline documentation it distributes.

[Issue created by PeridexisErrant: 2016-03-15] [Last updated on bitbucket: 2016-04-09]

[Comment created by Pidgeot: 2016-04-09] Fix bugs in previous pull request (closes #113)

→ <>