diff --git a/about.py b/about.py index 99d9ace..090b66d 100644 --- a/about.py +++ b/about.py @@ -5,23 +5,28 @@ from kivy.properties import StringProperty from kivy.uix.popup import Popup import pkg_resources +import webbrowser + class AboutPopup(Popup): - about_text = StringProperty(f'''[b]Youtube-Dl Kivy[/b] + about_text = StringProperty(f'''[ref=https://github.com/odrevet/youtube-dl-kivy][b]Youtube-Dl Kivy[/b][/ref] 2020 Olivier Drevet Version 0.2 Released Under the GPL-v3 License -[b]Youtube-dl[/b] +[ref=https://youtube-dl.org/][b]Youtube-dl[/b][/ref] Version {pkg_resources.get_distribution('Youtube-dl').version} Unlicense License -[b]Kivy[/b] +[ref=https://kivy.org][b]Kivy[/b][/ref] Version {kivy.__version__} MIT License -[b]Python[/b] +[ref=https://www.python.org][b]Python[/b][/ref] Version {sys.version} -[b]Icons[/b] -by Freepik from www.flaticon.com''') \ No newline at end of file +[ref=https://www.flaticon.com][b]Icons[/b][/ref] +by Freepik from www.flaticon.com''') + + def on_ref_press(self, url): + webbrowser.open(url)