Skip to content

Commit eb441cf

Browse files
Version 5.1.1
Changes to be committed: modified: man/persepolis.1 modified: meson.build modified: persepolis/constants/Version.py modified: persepolis/scripts/initialization.py modified: persepolis/scripts/persepolis_lib_prime.py modified: xdg/com.github.persepolisdm.persepolis.appdata.xml
1 parent 6b9249b commit eb441cf

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

man/persepolis.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "Persepolis" "1" "March 19, 2025" "5.1.0" "persepolis"
1+
.TH "Persepolis" "1" "March 19, 2025" "5.1.1" "persepolis"
22
.SH NAME
33
persepolis \- Persepolis Download Manager
44
.

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('persepolis',
2-
version: '5.1.0',
2+
version: '5.1.1',
33
meson_version: '>=0.61.2')
44

55
python = import('python')

persepolis/constants/Version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
#
1515

1616
class VERSION:
17-
version_str = '5.1.0'
17+
version_str = '5.1.1'

persepolis/scripts/initialization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,5 +286,6 @@
286286

287287
persepolis_setting.setValue('version/version', 5.01)
288288
persepolis_setting.setValue('version/version', 5.1)
289+
persepolis_setting.setValue('version/version', 5.11)
289290

290291
persepolis_setting.sync()

persepolis/scripts/persepolis_lib_prime.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ def definePartSizes(self):
399399
# Set the starting byte number of the remaining parts equal to the size of the file.
400400
# The size of the file is equal to the last byte of the file.
401401
# The status of these parts is complete. Because we have nothing to download.
402+
# The starting bit number of the file is 0 and the ending bit number of the file
403+
# is equal to the file size minus one.
402404
for i in range(self.number_of_parts, 64):
403405
self.download_infromation_list[i] = [self.file_size - 1, 0, 'complete', -1]
404406
else:
@@ -515,6 +517,9 @@ def threadHandler(self, thread_number):
515517
start = self.download_infromation_list[part_number][0] + downloaded_part
516518

517519
# end of part is equal to start of the next part
520+
# The starting bit number of the file is 0 and the ending bit number of the file
521+
# is equal to the file size minus one.
522+
518523
if part_number != (self.number_of_parts - 1):
519524
end = self.download_infromation_list[part_number + 1][0] - 1
520525
else:

xdg/com.github.persepolisdm.persepolis.appdata.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<url type="translate">https://www.transifex.com/persepolis/persepolis-translations/</url>
3131
<developer_name>AliReza AmirSamimi</developer_name>
3232
<releases>
33+
<release version="5.1.1" date="2025-04-15"/>
3334
<release version="5.1.0" date="2025-04-18"/>
3435
<release version="5.0.2" date="2025-03-25"/>
3536
<release version="5.0.1" date="2024-09-27"/>

0 commit comments

Comments
 (0)