-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from PyFlat/v1.3.0
V1.3.0
- Loading branch information
Showing
21 changed files
with
2,560 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
<strong>New Features:</strong> | ||
|
||
<ul> | ||
<li style="text-align: left;">When the program is opened for the first time after installing or updating, the changelog is displayed.</li> | ||
<li style="text-align: left;">It is now possible to update directly if you are not using the portable version.</li> | ||
<li style="text-align: left;">The old settings page has been replaced by a menubar.</li> | ||
<li style="text-align: left;">You can now set the default resolution.</li> | ||
<li style="text-align: left;">There is now logging to make it easier to find errors.</li> | ||
<li style="text-align: left;">The video search no longer takes place automatically instead you have to click on the button to start the search.</li> | ||
</ul> | ||
<br> | ||
<strong>Bug Fixes:</strong> | ||
<ul> | ||
<li style="text-align: left;">Fixed a bug where downloading FFmpeg or yt-dlp did not complete correctly.</li> | ||
<li style="text-align: left;">Fixed a bug where it did not immediately show that FFmpeg or yt-dlp was started downloading.</li> | ||
</ul> | ||
<li style="text-align: left;"> | ||
Fix for issues | ||
<a href="https://github.com/PyFlat/YT-Downloader/issues/2" style="color: white; text-decoration: underline; font-weight: bold;">#2</a> and | ||
<a href="https://github.com/PyFlat/YT-Downloader/issues/3" style="color: white; text-decoration: underline; font-weight: bold;">#3</a> | ||
</li> | ||
<li style="text-align: left;">Fixed a bug where the program crashed when a video was opened in the download overview.</li> | ||
<li style="text-align: left;">Other small bug fixes.</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pyside6-uic ../mainwindow.ui -o ui_mainwindow.py | ||
|
||
py update_ui.py | ||
|
||
del ui_mainwindow.py | ||
|
||
del ..\mainwindow_ui.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
main_win = open("ui_mainwindow.py", "r").read() | ||
new = main_win[main_win.find("self.actionSearch_For_Updates = "):] | ||
|
||
|
||
main_win_new = open("../src/Ui_MainWindow.py", "r+").read() | ||
old = main_win_new[:main_win_new.find("self.actionSearch_For_Updates")] | ||
open("../src/Ui_MainWindow.py", "w").write(old+new) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppName "PyFlat Youtube Downloader" | ||
#define MyAppVersion "1.3.0" | ||
#define MyAppPublisher "PyFlat Studios" | ||
#define MyAppExeName "main.exe" | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
SignTool=signtool | ||
AppId={{C07689AF-CD91-4D65-BF7E-33F6F1D6F556} | ||
AppName={#MyAppName} | ||
AppVersion={#MyAppVersion} | ||
;AppVerName={#MyAppName} {#MyAppVersion} | ||
AppPublisher={#MyAppPublisher} | ||
DefaultDirName={autopf}\{#MyAppName} | ||
DefaultGroupName={#MyAppName} | ||
LicenseFile=C:\Users\Johannes\Documents\GitHub\YT-Downloader\LICENSE | ||
AllowNoIcons=yes | ||
; Remove the following line to run in administrative install mode (install for all users.) | ||
PrivilegesRequired=lowest | ||
OutputDir=C:\Users\Johannes\Documents\GitHub\YT-Downloader\build | ||
OutputBaseFilename=win_installer_v{#MyAppVersion} | ||
Compression=lzma | ||
SolidCompression=yes | ||
WizardStyle=modern | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
Name: "german"; MessagesFile: "compiler:Languages\German.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Files] | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\api-ms-win-core-console-l1-2-0.dll"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\api-ms-win-core-fibers-l1-1-0.dll"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\api-ms-win-eventing-provider-l1-1-0.dll"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\frozen_application_license.txt"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\python3.dll"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\python311.dll"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\appdata\*"; DestDir: "{app}\appdata"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
Source: "C:\Users\Johannes\Documents\GitHub\YT-Downloader\build\exe.win-amd64-3.11\lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Icons] | ||
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" | ||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | ||
|
||
[Code] | ||
procedure EditIniFileIfNeeded; | ||
var | ||
IniFilePath: string; | ||
begin | ||
IniFilePath := ExpandConstant('{app}\appdata\config.ini'); | ||
if FileExists(IniFilePath) then | ||
begin | ||
SetIniString('DEFAULT', 'first-use-since-update', 'True', IniFilePath); | ||
end; | ||
end; | ||
procedure CurStepChanged(CurStep: TSetupStep); | ||
begin | ||
if CurStep = ssPostInstall then | ||
EditIniFileIfNeeded; | ||
end; |
Oops, something went wrong.