Skip to content

Commit

Permalink
Published v2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingpie committed Apr 28, 2024
1 parent e05bd33 commit 5ca0b2d
Show file tree
Hide file tree
Showing 14 changed files with 89 additions and 13 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.8
2.0.9
20 changes: 20 additions & 0 deletions scoop/wtq-2.0.8.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": "2.0.8",
"description": "Turn any app into a Quake-style toggleable app.",
"homepage": "https://github.com/flyingpie/windows-terminal-quake",
"bin": "wtq.exe",
"shortcuts": [
[
"wtq.exe",
"WTQ - Windows Terminal Quake"
]
],
"persist": "wtq.jsonc",
"checkver": "github",
"architecture": {
"64bit": {
"url": "https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.8/win-x64_self-contained.zip",
"hash": "2fd44326aca5a34f7dcc84e2b37ba79c3395c4c301b5e38523020636fde11ffc"
}
}
}
20 changes: 20 additions & 0 deletions scoop/wtq-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": "2.0.8",
"description": "Turn any app into a Quake-style toggleable app.",
"homepage": "https://github.com/flyingpie/windows-terminal-quake",
"bin": "wtq.exe",
"shortcuts": [
[
"wtq.exe",
"WTQ - Windows Terminal Quake"
]
],
"persist": "wtq.jsonc",
"checkver": "github",
"architecture": {
"64bit": {
"url": "https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.8/win-x64_self-contained.zip",
"hash": "2fd44326aca5a34f7dcc84e2b37ba79c3395c4c301b5e38523020636fde11ffc"
}
}
}
2 changes: 1 addition & 1 deletion scoop/wtq-nightly.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"architecture": {
"64bit": {
"url": "https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.8/win-x64_self-contained.zip",
"hash": "1742b77eeb0896ee3e28cbbbacd79d28415b3a5637caca148612ddc39c2939fc"
"hash": "2fd44326aca5a34f7dcc84e2b37ba79c3395c4c301b5e38523020636fde11ffc"
}
}
}
8 changes: 5 additions & 3 deletions src/01-Build/NukeBuild/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
FetchDepth = 0,
OnPushBranches = ["master"],
EnableGitHubToken = true,
InvokedTargets = [nameof(PublishRelease)])]
InvokedTargets = [nameof(PublishDebug)])]
[SuppressMessage("Major Bug", "S3903:Types should be defined in named namespaces", Justification = "MvdO: Build script.")]
public sealed class Build : NukeBuild
{
Expand Down Expand Up @@ -170,8 +170,8 @@ public sealed class Build : NukeBuild
var sha256 = Convert.ToHexString(await SHA256.HashDataAsync(File.OpenRead(PathToWin64SelfContainedZip))).ToLowerInvariant();
var manifest = tpl
.Replace("$PACKAGE_VERSION$", SemVerVersion, StringComparison.OrdinalIgnoreCase)
.Replace("$GH_RELEASE_VERSION$", $"v{SemVerVersion}", StringComparison.OrdinalIgnoreCase)
.Replace("$PACKAGE_VERSION$", SemVerVersion, StringComparison.OrdinalIgnoreCase)
.Replace("$SELF_CONTAINED_SHA256$", sha256, StringComparison.OrdinalIgnoreCase);
await File.WriteAllTextAsync(RootDirectory / "scoop" / "wtq-latest.json", manifest);
Expand Down Expand Up @@ -206,8 +206,9 @@ public sealed class Build : NukeBuild
var target = manifestRoot / fn;
var manifest = tpl
.Replace("$PACKAGE_VERSION$", SemVerVersion, StringComparison.OrdinalIgnoreCase)
.Replace("$GH_RELEASE_VERSION$", $"v{SemVerVersion}", StringComparison.OrdinalIgnoreCase)
.Replace("$PACKAGE_VERSION$", SemVerVersion, StringComparison.OrdinalIgnoreCase)
.Replace("$RELEASE_DATE$", DateTimeOffset.UtcNow.ToString("yyyy-MM-dd"), StringComparison.OrdinalIgnoreCase)
.Replace("$SELF_CONTAINED_SHA256$", sha256, StringComparison.OrdinalIgnoreCase);
await File.WriteAllTextAsync(target, manifest);
Expand Down Expand Up @@ -273,6 +274,7 @@ await GitHubTasks
.Triggers(CreateWinGetManifest)
.Executes();

[SuppressMessage("Major Code Smell", "S1144:Unused private types or members should be removed", Justification = "MvdO: Invoked manually.")]
private Target PublishRelease => _ => _
.DependsOn(Clean)
.DependsOn(PublishWin64FrameworkDependent)
Expand Down
2 changes: 2 additions & 0 deletions src/30-Host/Wtq.Host.Windows/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System;
using System.IO;
using System.Threading.Tasks;
using System.Windows.Forms;
using Wtq.Configuration;
using Wtq.Events;
using Wtq.Service;
Expand Down Expand Up @@ -110,6 +111,7 @@ await _host
catch (Exception ex)
{
Console.WriteLine($"Error running application: {ex}");
MessageBox.Show($"Error running application: {ex}", "Error starting WTQ");
}
}
}
1 change: 1 addition & 0 deletions src/Wtq.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Sln", "00-Sln", "{79182C
Directory.Packages.props = Directory.Packages.props
global.json = global.json
stylecop.json = stylecop.json
..\VERSION = ..\VERSION
wtq.jsonc = wtq.jsonc
EndProjectSection
EndProject
Expand Down
3 changes: 0 additions & 3 deletions src/wtq.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"Name": "PowerShell",
"HotKeys": [{ "Modifiers": "Control", "Key": "D1" }],
"FileName": "powershell"
},
{
"AttachMode": "Find"
}

// Example with Windows Terminal
Expand Down
16 changes: 16 additions & 0 deletions winget/2.0.8/flyingpie.windows-terminal-quake.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PackageIdentifier: flyingpie.windows-terminal-quake
PackageVersion: 2.0.8
InstallerType: zip
NestedInstallerType: portable
NestedInstallerFiles:
- RelativeFilePath: wtq.exe
PortableCommandAlias: wtq
Commands:
- wtq
ReleaseDate: 2024-04-28
Installers:
- Architecture: x64
InstallerUrl: https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.8/win-x64_self-contained.zip
InstallerSha256: 2fd44326aca5a34f7dcc84e2b37ba79c3395c4c301b5e38523020636fde11ffc
ManifestType: installer
ManifestVersion: 1.5.0
13 changes: 13 additions & 0 deletions winget/2.0.8/flyingpie.windows-terminal-quake.locale.en-US.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PackageIdentifier: flyingpie.windows-terminal-quake
PackageVersion: 2.0.8
PackageLocale: en-US
Publisher: Flyingpie
PublisherUrl: http://flyingpie.nl/
PackageName: windows-terminal-quake
PackageUrl: https://github.com/flyingpie/windows-terminal-quake
License: MIT
LicenseUrl: https://github.com/flyingpie/windows-terminal-quake/blob/master/LICENSE
ShortDescription: Turn any app into a Quake-style toggleable app.
Moniker: windows-terminal-quake
ManifestType: defaultLocale
ManifestVersion: 1.5.0
5 changes: 5 additions & 0 deletions winget/2.0.8/flyingpie.windows-terminal-quake.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PackageIdentifier: flyingpie.windows-terminal-quake
PackageVersion: 2.0.8
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.5.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PackageIdentifier: flyingpie.windows-terminal-quake.prerelease
PackageIdentifier: flyingpie.windows-terminal-quake
PackageVersion: $PACKAGE_VERSION$
InstallerType: zip
NestedInstallerType: portable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PackageIdentifier: flyingpie.windows-terminal-quake.prerelease
PackageIdentifier: flyingpie.windows-terminal-quake
PackageVersion: $PACKAGE_VERSION$
PackageLocale: en-US
Publisher: Flyingpie
PublisherUrl: http://flyingpie.nl/
PackageName: windows-terminal-quake-prerelease
PackageName: windows-terminal-quake
PackageUrl: https://github.com/flyingpie/windows-terminal-quake
License: MIT
LicenseUrl: https://github.com/flyingpie/windows-terminal-quake/blob/master/LICENSE
ShortDescription: Turn any app into a Quake-style toggleable app.
Moniker: windows-terminal-quake-prerelease
Moniker: windows-terminal-quake
ManifestType: defaultLocale
ManifestVersion: 1.5.0
2 changes: 1 addition & 1 deletion winget/_template/flyingpie.windows-terminal-quake.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PackageIdentifier: flyingpie.windows-terminal-quake.prerelease
PackageIdentifier: flyingpie.windows-terminal-quake
PackageVersion: $PACKAGE_VERSION$
DefaultLocale: en-US
ManifestType: version
Expand Down

0 comments on commit 5ca0b2d

Please sign in to comment.