-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pynsist, open_browser: fix startmenu links
to point to readthedocs, add a new shortcut: Configuration
- Loading branch information
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
from discodos.config import Config | ||
import webbrowser | ||
|
||
def readme(): | ||
webbrowser.open('https://github.com/JOJ0/discodos/blob/master/README.md') | ||
def quickstart(): | ||
webbrowser.open( | ||
'https://discodos.readthedocs.io/en/latest/QUICKSTART.html' | ||
) | ||
|
||
def manual(): | ||
webbrowser.open('https://github.com/JOJ0/discodos/blob/master/MANUAL.md') | ||
webbrowser.open( | ||
'https://discodos.readthedocs.io/en/latest/MANUAL.html' | ||
) | ||
|
||
def configuration(): | ||
webbrowser.open( | ||
'https://discodos.readthedocs.io/en/latest/INSTALLATION.html#configure-discogs-api-access' | ||
) | ||
|
||
def chart(): | ||
conf = Config() | ||
webbrowser.open('file://{}'.format(conf.discodos_data / 'discodos_cmds_v0.3_white.png' )) | ||
webbrowser.open( | ||
'file://{}'.format(conf.discodos_data / 'discodos_cmds_v0.3_white.png') | ||
) | ||
|
||
if __name__ == "__main__": | ||
readme() | ||
readme() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters