Skip to content

Commit

Permalink
Version 2.3
Browse files Browse the repository at this point in the history
	modified:   README.md
	modified:   files/about.py
	modified:   files/initialization.py
	modified:   files/mainwindow.py
	modified:   files/persepolis
	modified:   persepolis.1.gz
  • Loading branch information
alireza-amirsamimi committed Jan 9, 2017
1 parent 90e5dc4 commit 1fa32d8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 20 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Persepolis Download Manager
=============
+ version : 2.3 Alpha
+ version : 2.3
+ Persepolis Download Manager is a GUI for aria2.
+ Persepolis written in PYQT5.

Expand Down Expand Up @@ -156,6 +156,10 @@ Persepolis website developer : **Sadegh Alirezaie**
https://github.com/Alirezaies
[email protected]

Chrome/Chromium Integration : **Jafar Akhondali**
https://github.com/JafarAkhondali
[email protected]

Persepolis website :
https://persepolisdm.github.io/

Expand Down
4 changes: 2 additions & 2 deletions files/about.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def __init__(self,persepolis_setting):

self.setWindowTitle( "About Persepolis")
self.title_label.setText( "Persepolis Download Manager")
self.version_label.setText( "Version 2.3 Alpha")
self.name_label.setText( "\nAliReza AmirSamimi\nMohammadreza Abdollahzadeh\nSadegh Alirezaie\nMostafa Asadi\nMohammadAmin Vahedinia")
self.version_label.setText( "Version 2.3")
self.name_label.setText( "\nAliReza AmirSamimi\nMohammadreza Abdollahzadeh\nSadegh Alirezaie\nMostafa Asadi\nMohammadAmin Vahedinia\nJafar Akhondali")
self.site2_label.setText("<a href=https://persepolisdm.github.io>https://persepolisdm.github.io</a>" )
self.telegram_label.setText( "<a href=https://telegram.me/persepolisdm>https://telegram.me/persepolisdm</a>" )
self.twitter_label.setText("<a href=https://twitter.com/persepolisdm>https://twitter.com/persepolisdm</a>")
Expand Down
18 changes: 4 additions & 14 deletions files/initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,9 @@
f.close()

#compatibility
version_file = config_folder + '/' + 'version'
osCommands.touch(version_file)
f = Open(version_file)
version_file_line = f.readline()
f.close()

persepolis_version = version_file_line.strip()

if persepolis_version != '2.3 Alpha':
persepolis_version = float(persepolis_setting.value('version/version' , 2.2 ))
if persepolis_version != 2.3:
compatibility()
persepolis_version = '2.3 Alpha'
f = Open(version_file , 'w')
f.writelines(persepolis_version)
f.close()

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

4 changes: 2 additions & 2 deletions files/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ def run(self):
sleep(0.5)

j = j + 1
#every 30 seconds
if j == 30 or aria2_disconnected == 1 :
#every 39 seconds
if j == 39 or aria2_disconnected == 1 :
j = 0
aria2_disconnected = 0
answer = download.aria2Version() #checking aria2 availability by aria2Version function
Expand Down
2 changes: 1 addition & 1 deletion files/persepolis
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ parser.add_argument('--name',action='store',nargs = 1 , help='The file name o
parser.add_argument('--default',action='store_true',help='restore default setting' )
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('--version', action='version', version='Persepolis Download Manager 2.3 Alpha ')
parser.add_argument('--version', action='version', version='Persepolis Download Manager 2.3')
args = parser.parse_args()

#Mozilla firefox flashgot will send download information whith terminal arguments(link , referer , cookie , agent , headers , name )
Expand Down
Binary file modified persepolis.1.gz
Binary file not shown.

0 comments on commit 1fa32d8

Please sign in to comment.