mirror of
https://github.com/staxrip/staxrip.git
synced 2026-10-28 21:47:41 +08:00
Remove Update Question
This commit is contained in:
@@ -38,6 +38,9 @@ v2.38.0 (not published yet)
|
||||
- UI: Output Highlighting for Pipe symbol
|
||||
- UI: Add Plugin fulfillment requirements
|
||||
- If a requirement is not fulfilled, the import will be commented out
|
||||
- UI: Remove Update question at first start
|
||||
- Update Check is enabled by default and can be disabled in the Settings
|
||||
- According to the poll on Discord
|
||||
- NVEncC: Add new --lookahead-level parameter
|
||||
- NVEncC: Add new --tf-level parameter
|
||||
- NVEncC: Add new --tune parameter
|
||||
|
||||
@@ -13,10 +13,10 @@ Public Class ApplicationSettings
|
||||
Public AviSynthMode As FrameServerMode
|
||||
Public AviSynthProfiles As List(Of FilterCategory)
|
||||
Public BinaryPrefix As Boolean = False
|
||||
Public CheckForUpdates As Boolean
|
||||
Public CheckForUpdates As Boolean = True
|
||||
Public CheckForUpdatesDismissed As String
|
||||
Public CheckForUpdatesLastRequest As DateTime
|
||||
Public CheckForUpdatesQuestion As Boolean
|
||||
Public CheckForUpdatesLastRequest As DateTime = DateTime.Now
|
||||
Public CheckForUpdatesQuestion As Boolean = False
|
||||
Public CmdlPresetsEac3to As String
|
||||
Public CmdlPresetsMKV As String
|
||||
Public CmdlPresetsMP4 As String
|
||||
|
||||
@@ -10,7 +10,7 @@ Public Class StaxRipUpdate
|
||||
Shared HttpClient As New HttpClient
|
||||
|
||||
Shared Sub ShowUpdateQuestion()
|
||||
If Not g.IsDevelopmentPC AndAlso Not s.CheckForUpdatesQuestion Then
|
||||
If Not g.IsDevelopmentPC AndAlso s.CheckForUpdatesQuestion Then
|
||||
Using td As New TaskDialog(Of String)()
|
||||
td.Title = "Check for updates"
|
||||
td.Icon = TaskIcon.Question
|
||||
@@ -24,7 +24,7 @@ Public Class StaxRipUpdate
|
||||
td.AddCommand("Ask me later")
|
||||
|
||||
Dim answer = td.Show
|
||||
s.CheckForUpdatesQuestion = answer.EqualsAny("Yes", "No")
|
||||
s.CheckForUpdatesQuestion = Not answer.EqualsAny("Yes", "No")
|
||||
s.CheckForUpdates = answer = "Yes"
|
||||
End Using
|
||||
End If
|
||||
@@ -56,7 +56,7 @@ Public Class StaxRipUpdate
|
||||
Dim filename = $"StaxRip-v{onlineVersionString}-x64.7z"
|
||||
Dim downloadUri = $"https://github.com/staxrip/staxrip/releases/download/v{onlineVersionString}/{filename}"
|
||||
Dim releaseUri = $"https://github.com/staxrip/staxrip/releases/tag/v{onlineVersionString}"
|
||||
|
||||
|
||||
latestVersions.Add((onlineVersion, "release", releaseUri, downloadUri, filename))
|
||||
Next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user