Skip to content

Commit

Permalink
Fix: confirmation of overwriting files during building
Browse files Browse the repository at this point in the history
  • Loading branch information
DUB1401 committed Jul 19, 2023
1 parent 5ca7d8a commit 36d1fb7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Build/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd ..\
pyinstaller --distpath %~dp0\Release --i icon.ico --version-file Build\metadata.txt --onefile "PornHub Downloader.py"

:: Копирование в директорию сборки необходимых компонентов приложения.
xcopy /I pornhub_dl Build\Release\pornhub_dl
xcopy /Y /I pornhub_dl Build\Release\pornhub_dl
xcopy /Y Advertisement.gif Build\Release
xcopy /Y Settings.json Build\Release
xcopy /Y icon.ico Build\Release
Expand Down
8 changes: 4 additions & 4 deletions Build/metadata.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(1, 2, 0, 0),
prodvers=(1, 2, 0, 0),
filevers=(1, 2, 1, 0),
prodvers=(1, 2, 1, 0),
mask=0x3f,
flags=0x0,
OS=0x40004,
Expand All @@ -16,11 +16,11 @@ VSVersionInfo(
u'040904B0',
[StringStruct(u'CompanyName', u'DUB1401'),
StringStruct(u'FileDescription', u'PornHub video downloader.'),
StringStruct(u'FileVersion', u'1.2.0'),
StringStruct(u'FileVersion', u'1.2.1'),
StringStruct(u'LegalCopyright', u'Copyright © DUB1401. 2023.'),
StringStruct(u'OriginalFilename', u'PornHub Downloader.exe'),
StringStruct(u'ProductName', u'PornHub Downloader'),
StringStruct(u'ProductVersion', u'1.2.0')])
StringStruct(u'ProductVersion', u'1.2.1')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
Expand Down
2 changes: 1 addition & 1 deletion PornHub Downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
# Словарь важных значений.
ComData = {
"version": "1.2.0",
"version": "1.2.1",
"copyright": "Copyright © 2023. DUB1401."
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pip install -r requirements.txt
5. Дождаться скачивания видео в папку _Downloads_, в директории скрипта.

# Скриншот
![2023-07-15_13-16-38](https://github.com/DUB1401/PornHub-Downloader/assets/40277356/77ce1874-87f0-4f0c-9e1f-8ce8633a2fea)
![2023-07-15_14-12-12](https://github.com/DUB1401/PornHub-Downloader/assets/40277356/2e9fed0f-d664-4b10-ad27-29b4a81d6a7d)

# Сборка
1. Подготовить скрипт Python к работе согласно инструкции из порядка установки и использования.
Expand Down

0 comments on commit 36d1fb7

Please sign in to comment.