From 1bf1e7d89e07515a5f948bb63e6fb7a994c387e2 Mon Sep 17 00:00:00 2001 From: hama3254 <52826614+hama3254@users.noreply.github.com> Date: Wed, 29 May 2024 22:57:59 +0200 Subject: [PATCH] fix user agent, auto update finished fix user agent #970 auto update finished #969 --- .vs/Crunchyroll Downloader/v17/.suo | Bin 238080 -> 238080 bytes Crunchyroll Downloader/App.config | 3 ++ Crunchyroll Downloader/CRD-Classes.vb | 7 +++ Crunchyroll Downloader/GetData.vb | 2 +- Crunchyroll Downloader/Main.vb | 46 ++++++++++++++---- .../My Project/AssemblyInfo.vb | 4 +- .../My Project/Settings.Designer.vb | 12 +++++ .../My Project/Settings.settings | 3 ++ .../einstellungen.Designer.vb | 27 +++++----- Crunchyroll Downloader/einstellungen.resx | 3 ++ Crunchyroll Downloader/einstellungen.vb | 3 +- 11 files changed, 85 insertions(+), 25 deletions(-) diff --git a/.vs/Crunchyroll Downloader/v17/.suo b/.vs/Crunchyroll Downloader/v17/.suo index 91ffdf980c96742c330c036424170325a5b230d1..4a4dd8aabc347acc303a13a24554d66a11143777 100644 GIT binary patch delta 6715 zcmeI0e_U1d8OP7_oXh2kh*#v7NO&bgM1ji>uMUB(KxWD;6&b0KfSPWGq{vKd+^o#0 z+vFbOYvs`H=;q4xn)f!2Gec5d=1WbDtxR(a$r)uiHQTD0?DM@sY3XLKt?iHPyk76~ zJl`MZ`TlsGbH3m6bu$osWE=H#svi^<9J zdYOZiUj=xM(NidJXb%{dQnvQ7v9s4iQWVqu$i($sjSM$eKL)K2umM>0T_)&5K^Ax% zi~x6o-e56E1EHV?aDc(!CJ+zq1Qw7A#)Bvj2W|tCKoa;H=nsCZDAmdoC~@dkKgetl z2^~XKoFEd-4) zEt{8Df!4#+-_-4LZJ5cT?`E)kQE#L-y`b}M0{WYITKT4lUcgTK!GoN1V zQu%!MC0#1@ZkI~^M=}Pk=Tljs+oyr(jP$9@lRlL(B7OQD&|iW&3(Q5UC+~{+NV7x*G5x_HX|T2FkXcjkOH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@MZaC*{wx zua+6VwwbMTtgOz#H&f@MWOYs$T&b;G*2=ujmr{7WFC`58qv$I_Z@2B?w9WUdmFpaq M>ePE#6rbY$9iq|rXaE2J diff --git a/Crunchyroll Downloader/App.config b/Crunchyroll Downloader/App.config index 8fd0d53c..5756e9d5 100644 --- a/Crunchyroll Downloader/App.config +++ b/Crunchyroll Downloader/App.config @@ -162,6 +162,9 @@ 0 + + 0 + diff --git a/Crunchyroll Downloader/CRD-Classes.vb b/Crunchyroll Downloader/CRD-Classes.vb index 5484cee7..9aabdb9a 100644 --- a/Crunchyroll Downloader/CRD-Classes.vb +++ b/Crunchyroll Downloader/CRD-Classes.vb @@ -6,6 +6,13 @@ SubsOnly = 2 AudioOnly = 3 End Enum + Public Enum UpdateScope + Skip = 0 + Info = 1 + InfoPre = 2 + Auto = 3 + Pre = 4 + End Enum Public Enum ConvertSubsEnum DisplayText = 0 diff --git a/Crunchyroll Downloader/GetData.vb b/Crunchyroll Downloader/GetData.vb index 65d1d816..7db43df7 100644 --- a/Crunchyroll Downloader/GetData.vb +++ b/Crunchyroll Downloader/GetData.vb @@ -207,7 +207,7 @@ Module GetData End Function - Public Function CurlDeleteNew(ByVal Url As String, ByVal Auth As String, Optional ByVal UserAgent As String = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0") As String + Public Function CurlDeleteNew(ByVal Url As String, ByVal Auth As String, Optional ByVal UserAgent As String = Chr(34) + "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0" + Chr(34)) As String diff --git a/Crunchyroll Downloader/Main.vb b/Crunchyroll Downloader/Main.vb index c9fce721..fb9f582f 100644 --- a/Crunchyroll Downloader/Main.vb +++ b/Crunchyroll Downloader/Main.vb @@ -1982,7 +1982,8 @@ Public Class Main 'MsgBox(ex.ToString) Else - MsgBox(ex.ToString, MsgBoxStyle.Information) + Error_msg.ShowErrorDia(ex.ToString, "Unknown Error - See details", False) + 'MsgBox(ex.ToString, MsgBoxStyle.Information) End If End Try ' End Sub @@ -3278,6 +3279,9 @@ Public Class Main Private Sub BGW_Update_DoWork(sender As Object, e As DoWorkEventArgs) Handles BGW_Update.DoWork Try + If My.Settings.UpdateMode = UpdateScope.Skip Then + Exit Sub + End If Dim client0 As New WebClient client0.Encoding = Encoding.UTF8 @@ -3286,19 +3290,23 @@ Public Class Main Dim str0 As String = client0.DownloadString("https://api.github.com/repos/hama3254/Crunchyroll-Downloader-v3.0/releases") Dim GitHubLastIsPre() As String = str0.Split(New String() {Chr(34) + "prerelease" + Chr(34) + ": "}, System.StringSplitOptions.RemoveEmptyEntries) - Dim LastNonPreRelase As Integer = 0 + Dim LastRelase As Integer = 0 + Dim PreRelease As Boolean = False For i As Integer = 1 To GitHubLastIsPre.Count - 1 Dim GitHubLastIsPre1() As String = GitHubLastIsPre(i).Split(New String() {","}, System.StringSplitOptions.RemoveEmptyEntries) - 'If GitHubLastIsPre1(0) = "false" Then - LastNonPreRelase = i - Exit For - 'End If + If GitHubLastIsPre1(0) = "false" Or My.Settings.UpdateMode = UpdateScope.Pre Or My.Settings.UpdateMode = UpdateScope.InfoPre Then + If GitHubLastIsPre1(0) = "true" Then + PreRelease = True + End If + LastRelase = i + Exit For + End If Next Dim GitHubLastTag() As String = str0.Split(New String() {Chr(34) + "tag_name" + Chr(34) + ": " + Chr(34)}, System.StringSplitOptions.RemoveEmptyEntries) - Dim GitHubLastTag1() As String = GitHubLastTag(LastNonPreRelase).Split(New String() {Chr(34) + ","}, System.StringSplitOptions.RemoveEmptyEntries) + Dim GitHubLastTag1() As String = GitHubLastTag(LastRelase).Split(New String() {Chr(34) + ","}, System.StringSplitOptions.RemoveEmptyEntries) 'LastVersionString = GitHubLastTag1(0) 'MsgBox(GitHubLastTag1(0)) @@ -3331,6 +3339,20 @@ Public Class Main If UpdateAv = False Then 'no update needed Debug.WriteLine("Update check passed") Exit Sub + ElseIf UpdateAv = True Then + If My.Settings.UpdateMode = UpdateScope.Info Or My.Settings.UpdateMode = UpdateScope.InfoPre Then 'Infos only + Dim DisplayTest As String = "Update available: v" + If PreRelease = True Then + DisplayTest = "PreRelease available: v" + End If + Me.Invoke(New Action(Function() As Object + Me.Text = DisplayTest + OnlineVersionNumber + Me.Invalidate() + Return Nothing + End Function)) + + Exit Sub + End If End If Debug.WriteLine("Update check failed") 'Check for updated file @@ -3368,12 +3390,12 @@ Public Class Main End If My.Settings.UpdateLog = Date.Now.Day.ToString + Date.Now.Month.ToString - My.Computer.FileSystem.RenameFile(Application.StartupPath + "\Auto_Updated.exe", GeräteID() + ".exe") + My.Computer.FileSystem.RenameFile(Application.StartupPath + "\Auto_Updated.exe", GeräteID() + ".exe") 'getting rid of the old version like its a temp file End If - If CBool(InStr(str0, "Auto_Update_" + GitHubLastTag1(0) + ".exe")) Then + If CBool(InStr(str0, "Auto_Update_" + GitHubLastTag1(0) + ".exe")) Then ' check if i even upoaded the autoupdate Debug.WriteLine(True.ToString) Dim UpdateUrl() As String = str0.Split(New String() {"Auto_Update_" + GitHubLastTag1(0) + ".exe"}, System.StringSplitOptions.RemoveEmptyEntries) Dim UpdateUrl2() As String = UpdateUrl(1).Split(New String() {Chr(34)}, System.StringSplitOptions.RemoveEmptyEntries) @@ -3403,6 +3425,12 @@ Public Class Main Me.Close() Return Nothing End Function)) + Else + Me.Invoke(New Action(Function() As Object + Me.Text = "No Auto-Update possible" + Me.Invalidate() + Return Nothing + End Function)) End If diff --git a/Crunchyroll Downloader/My Project/AssemblyInfo.vb b/Crunchyroll Downloader/My Project/AssemblyInfo.vb index 7e1ae6c1..c3022bf8 100644 --- a/Crunchyroll Downloader/My Project/AssemblyInfo.vb +++ b/Crunchyroll Downloader/My Project/AssemblyInfo.vb @@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - - + + diff --git a/Crunchyroll Downloader/My Project/Settings.Designer.vb b/Crunchyroll Downloader/My Project/Settings.Designer.vb index 0eb4ba1f..6ad4209e 100644 --- a/Crunchyroll Downloader/My Project/Settings.Designer.vb +++ b/Crunchyroll Downloader/My Project/Settings.Designer.vb @@ -618,6 +618,18 @@ Namespace My Me("UpdateLog") = value End Set End Property + + _ + Public Property UpdateMode() As Integer + Get + Return CType(Me("UpdateMode"),Integer) + End Get + Set + Me("UpdateMode") = value + End Set + End Property End Class End Namespace diff --git a/Crunchyroll Downloader/My Project/Settings.settings b/Crunchyroll Downloader/My Project/Settings.settings index f91839ff..aa334164 100644 --- a/Crunchyroll Downloader/My Project/Settings.settings +++ b/Crunchyroll Downloader/My Project/Settings.settings @@ -143,5 +143,8 @@ 0 + + 0 + \ No newline at end of file diff --git a/Crunchyroll Downloader/einstellungen.Designer.vb b/Crunchyroll Downloader/einstellungen.Designer.vb index 0633f6b5..b84c20fd 100644 --- a/Crunchyroll Downloader/einstellungen.Designer.vb +++ b/Crunchyroll Downloader/einstellungen.Designer.vb @@ -142,7 +142,7 @@ Partial Class Einstellungen Me.Label5 = New MetroFramework.Controls.MetroLabel() Me.BackgroundWorker1 = New System.ComponentModel.BackgroundWorker() Me.Btn_Save = New System.Windows.Forms.Button() - Me.CB_Update_Pre = New MetroFramework.Controls.MetroCheckBox() + Me.DD_Update = New MetroFramework.Controls.MetroComboBox() CType(Me.pictureBox1, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox14.SuspendLayout() Me.SoftSubs.SuspendLayout() @@ -949,9 +949,9 @@ Partial Class Einstellungen 'GroupBox5 ' Me.GroupBox5.BackColor = System.Drawing.Color.Transparent + Me.GroupBox5.Controls.Add(Me.DD_Update) Me.GroupBox5.Controls.Add(Me.Chb_Ign_tls) Me.GroupBox5.Controls.Add(Me.http_support) - Me.GroupBox5.Controls.Add(Me.CB_Update_Pre) Me.GroupBox5.Controls.Add(Me.DarkMode) Me.GroupBox5.Font = New System.Drawing.Font("Arial", 9.75!) Me.GroupBox5.ForeColor = System.Drawing.Color.Black @@ -1597,16 +1597,19 @@ Partial Class Einstellungen Me.Btn_Save.TabIndex = 9 Me.Btn_Save.UseVisualStyleBackColor = False ' - 'CB_Update_Pre + 'DD_Update ' - Me.CB_Update_Pre.AutoSize = True - Me.CB_Update_Pre.FontSize = MetroFramework.MetroCheckBoxSize.Medium - Me.CB_Update_Pre.Location = New System.Drawing.Point(39, 90) - Me.CB_Update_Pre.Name = "CB_Update_Pre" - Me.CB_Update_Pre.Size = New System.Drawing.Size(176, 19) - Me.CB_Update_Pre.TabIndex = 5 - Me.CB_Update_Pre.Text = "Pre-Release Notifications" - Me.CB_Update_Pre.UseSelectable = True + Me.DD_Update.DropDownHeight = 275 + Me.DD_Update.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.DD_Update.FormattingEnabled = True + Me.DD_Update.IntegralHeight = False + Me.DD_Update.ItemHeight = 23 + Me.DD_Update.Items.AddRange(New Object() {"Skip Updates", "Notify Only", "Notify Only (Beta Versions)", "Automatic Updates", "Automatic Updates (Beta Versions)"}) + Me.DD_Update.Location = New System.Drawing.Point(21, 90) + Me.DD_Update.Name = "DD_Update" + Me.DD_Update.Size = New System.Drawing.Size(215, 29) + Me.DD_Update.TabIndex = 47 + Me.DD_Update.UseSelectable = True ' 'Einstellungen ' @@ -1792,5 +1795,5 @@ Partial Class Einstellungen Friend WithEvents CB_vttStyle As MetroFramework.Controls.MetroCheckBox Friend WithEvents AMD_AV1 As ToolStripMenuItem Friend WithEvents CB_HideQueue As MetroFramework.Controls.MetroCheckBox - Friend WithEvents CB_Update_Pre As MetroFramework.Controls.MetroCheckBox + Friend WithEvents DD_Update As MetroFramework.Controls.MetroComboBox End Class diff --git a/Crunchyroll Downloader/einstellungen.resx b/Crunchyroll Downloader/einstellungen.resx index e809bf50..f49b9b43 100644 --- a/Crunchyroll Downloader/einstellungen.resx +++ b/Crunchyroll Downloader/einstellungen.resx @@ -126,6 +126,9 @@ 118, 20 + + 118, 20 + 332, 20 diff --git a/Crunchyroll Downloader/einstellungen.vb b/Crunchyroll Downloader/einstellungen.vb index d9cc70d1..58af3a4c 100644 --- a/Crunchyroll Downloader/einstellungen.vb +++ b/Crunchyroll Downloader/einstellungen.vb @@ -26,7 +26,7 @@ Public Class Einstellungen Label6.Text = "You have: v" + Application.ProductVersion.ToString '+ " WebView2_Test" BackgroundWorker1.RunWorkerAsync() - + DD_Update.SelectedIndex = My.Settings.UpdateMode 'CR_Anime_Folge = CR_Name_Staffel0_Folge1(1) 'If GitHubLastTag1(0) @@ -298,6 +298,7 @@ Public Class Einstellungen My.Settings.LeadingZero = LeadingZeroDD.SelectedIndex My.Settings.OverrideDub = CB_OverrideDub.Checked My.Settings.Captions = CB_Cap.Checked + My.Settings.UpdateMode = DD_Update.SelectedIndex If http_support.Text = "add-on support disabled" Then My.Settings.ServerPort = 0