mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
trying to get winget working...
This commit is contained in:
parent
497eeabeca
commit
a85dfaf334
@ -41,7 +41,7 @@ namespace UpdateAssemblyInfo
|
|||||||
private int Major { get; }
|
private int Major { get; }
|
||||||
private int Minor { get; }
|
private int Minor { get; }
|
||||||
private int Maintenance { get; }
|
private int Maintenance { get; }
|
||||||
public int Build { get; }
|
public int Build { get; set; }
|
||||||
public string RevisionGuid { get; }
|
public string RevisionGuid { get; }
|
||||||
|
|
||||||
public string FullVersion => string.Format(CultureInfo.InvariantCulture, "{0:D}.{1:D}.{2:D}.{3:D} {4}", Major, Minor, Maintenance, Build, RevisionGuid).TrimEnd();
|
public string FullVersion => string.Format(CultureInfo.InvariantCulture, "{0:D}.{1:D}.{2:D}.{3:D} {4}", Major, Minor, Maintenance, Build, RevisionGuid).TrimEnd();
|
||||||
@ -478,7 +478,7 @@ namespace UpdateAssemblyInfo
|
|||||||
{
|
{
|
||||||
var s = line.Trim('\r');
|
var s = line.Trim('\r');
|
||||||
var searchStr = $"{targetVariable}:";
|
var searchStr = $"{targetVariable}:";
|
||||||
if (s.StartsWith(searchStr.TrimStart(), StringComparison.OrdinalIgnoreCase))
|
if (s.TrimStart().StartsWith(searchStr.TrimStart(), StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
var start = line.Substring(0, line.IndexOf(searchStr, StringComparison.OrdinalIgnoreCase) + searchStr.Length);
|
var start = line.Substring(0, line.IndexOf(searchStr, StringComparison.OrdinalIgnoreCase) + searchStr.Length);
|
||||||
sb.AppendLine($"{start} {targetValue}");
|
sb.AppendLine($"{start} {targetValue}");
|
||||||
|
@ -31,11 +31,11 @@ FileExtensions:
|
|||||||
ReleaseDate: 2022-11-20
|
ReleaseDate: 2022-11-20
|
||||||
Installers:
|
Installers:
|
||||||
- Architecture: x64
|
- Architecture: x64
|
||||||
InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.8/SubtitleEdit-3.6.8-Setup.exe
|
InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.9/SubtitleEdit-3.6.9-Setup.exe
|
||||||
InstallerSha256: 1271549F5C359DAD26A71BAD6E1B929A9ACA0AF7EFE47A4AFEE7408B1FBD6D45
|
InstallerSha256: 6E7A8A23A645C41BDF7D67B00A8CC390D2F77644F8A401A08DD9FCFC7F966552
|
||||||
- Architecture: x86
|
- Architecture: x86
|
||||||
InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.8/SubtitleEdit-3.6.8-Setup.exe
|
InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.9/SubtitleEdit-3.6.9-Setup.exe
|
||||||
InstallerSha256: 1271549F5C359DAD26A71BAD6E1B929A9ACA0AF7EFE47A4AFEE7408B1FBD6D45
|
InstallerSha256: 6E7A8A23A645C41BDF7D67B00A8CC390D2F77644F8A401A08DD9FCFC7F966552
|
||||||
ManifestType: installer
|
ManifestType: installer
|
||||||
ManifestVersion: 1.2.0
|
ManifestVersion: 1.2.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user