diff --git a/scr/data/dist.json b/scr/data/dist.json index 34e50c4..580754c 100644 --- a/scr/data/dist.json +++ b/scr/data/dist.json @@ -2,7 +2,8 @@ "name": "PyPad", "version": "v0.2.2", "build": "Dev.", - "author": "@chebupelka8 (stpzamyatin@gmail.com)", + "author": "@chebupelka8", + "author-social-link": "https://github.com/chebupelka8", "project-page": "https://github.com/chebupelka8/PyPad-v2", "license": "MIT" } \ No newline at end of file diff --git a/scr/project/version_config.py b/scr/project/version_config.py index b155a8d..53551d4 100644 --- a/scr/project/version_config.py +++ b/scr/project/version_config.py @@ -8,5 +8,6 @@ class VersionConfig: version = __config["version"] build = __config["build"] author = __config["author"] + author_social_link = __config["author-social-link"] project_page = __config["project-page"] license = __config["license"] diff --git a/scr/widgets/settings_menu.py b/scr/widgets/settings_menu.py index 5345c0c..90302b8 100644 --- a/scr/widgets/settings_menu.py +++ b/scr/widgets/settings_menu.py @@ -203,7 +203,7 @@ def __init__(self): version_info_frame = _SettingFrame( "Info", f""" -
{VersionConfig.name} by. {VersionConfig.author}. +
{VersionConfig.name} by {VersionConfig.author}
Version: {VersionConfig.version}
Build: {VersionConfig.build}
License: {VersionConfig.license} diff --git a/scr/widgets/status_bar.py b/scr/widgets/status_bar.py index 4bbfaad..58cca2d 100644 --- a/scr/widgets/status_bar.py +++ b/scr/widgets/status_bar.py @@ -22,7 +22,7 @@ def __init__(self) -> None: self.current_file_status = QLabel() self.current_position = QLabel() - self.version_info = QLabel(f"Build: {VersionConfig.build} Version: {VersionConfig.version}") + self.version_info = QLabel(f"Build: {VersionConfig.build} Version: {VersionConfig.version}; by {VersionConfig.author}") # self.current_encoding = QLabel("utf-8") self.update_font()