Skip to content

Commit

Permalink
Version 3.0.0
Browse files Browse the repository at this point in the history
	modified:   persepolis/gui/about_ui.py
	modified:   persepolis/scripts/initialization.py
	modified:   persepolis/scripts/persepolis.py
	modified:   setup.py
  • Loading branch information
alireza-amirsamimi committed Dec 11, 2017
1 parent db4068f commit a7b8313
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion persepolis/gui/about_ui.py
Expand Up @@ -99,7 +99,7 @@ def __init__(self,persepolis_setting):

self.setWindowTitle("About Persepolis")
self.title_label.setText("Persepolis Download Manager")
self.version_label.setText("Version 2.5a0")
self.version_label.setText("Version 3.0.0")
self.name_label.setText(
"\nAliReza AmirSamimi\nMohammadreza Abdollahzadeh\nSadegh Alirezaie\nMostafa Asadi\nMohammadAmin Vahedinia\nJafar Akhondali")
self.site2_label.setText(
Expand Down
14 changes: 13 additions & 1 deletion persepolis/scripts/initialization.py
Expand Up @@ -206,6 +206,18 @@


persepolis_version = 2.6
persepolis_setting.setValue('version/version', 2.6)

if persepolis_version < 3.0:
persepolis_setting.beginGroup('settings')

for key in default_setting_dict.keys():

setting_value = default_setting_dict[key]
persepolis_setting.setValue(key, setting_value)

persepolis_setting.endGroup()


persepolis_setting.setValue('version/version', 3.0)
persepolis_setting.sync()

2 changes: 1 addition & 1 deletion persepolis/scripts/persepolis.py
Expand Up @@ -180,7 +180,7 @@ def setPersepolisColorScheme(self, color_scheme):
parser.add_argument('--clear', action='store_true', help='Clear download list and user setting!')
parser.add_argument('--tray', action='store_true', help="Persepolis is starting in tray icon. It's useful when you want to put persepolis in system's startup.")
parser.add_argument('--parent-window', action='store', nargs = 1, help='this switch is used for chrome native messaging in Windows')
parser.add_argument('--version', action='version', version='Persepolis Download Manager 2.5a0')
parser.add_argument('--version', action='version', version='Persepolis Download Manager 3.0.0')


parser.add_argument('args', nargs=argparse.REMAINDER)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -131,7 +131,7 @@

setup(
name = 'persepolis',
version = '2.5a0',
version = '3.0.0',
license = 'GPL3',
description = DESCRIPTION,
long_description = DESCRIPTION,
Expand Down

0 comments on commit a7b8313

Please sign in to comment.