From 24b80206a6f69fa9b0ed787be887011710a2173e Mon Sep 17 00:00:00 2001 From: Marco van den Oever Date: Mon, 20 May 2024 15:33:34 +0200 Subject: [PATCH] Release 2.0.9 - Default to 'wtq.jsonc' in home folder (without prefix dot for now) --- scoop/wtq-2.0.9.json | 2 +- scoop/wtq-latest.json | 2 +- scoop/wtq-nightly.json | 2 +- src/10-Core/Wtq/Resources/wtq.example.ps.jsonc | 6 +++--- src/10-Core/Wtq/WtqPaths.cs | 7 ++++--- .../2.0.9/flyingpie.windows-terminal-quake.installer.yaml | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/scoop/wtq-2.0.9.json b/scoop/wtq-2.0.9.json index c53be3a..fc319d0 100644 --- a/scoop/wtq-2.0.9.json +++ b/scoop/wtq-2.0.9.json @@ -14,7 +14,7 @@ "architecture": { "64bit": { "url": "https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.9/win-x64_self-contained.zip", - "hash": "54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db" + "hash": "4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb" } } } \ No newline at end of file diff --git a/scoop/wtq-latest.json b/scoop/wtq-latest.json index c53be3a..fc319d0 100644 --- a/scoop/wtq-latest.json +++ b/scoop/wtq-latest.json @@ -14,7 +14,7 @@ "architecture": { "64bit": { "url": "https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.9/win-x64_self-contained.zip", - "hash": "54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db" + "hash": "4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb" } } } \ No newline at end of file diff --git a/scoop/wtq-nightly.json b/scoop/wtq-nightly.json index c53be3a..fc319d0 100644 --- a/scoop/wtq-nightly.json +++ b/scoop/wtq-nightly.json @@ -14,7 +14,7 @@ "architecture": { "64bit": { "url": "https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.9/win-x64_self-contained.zip", - "hash": "54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db" + "hash": "4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb" } } } \ No newline at end of file diff --git a/src/10-Core/Wtq/Resources/wtq.example.ps.jsonc b/src/10-Core/Wtq/Resources/wtq.example.ps.jsonc index 8fc0458..1a8482e 100644 --- a/src/10-Core/Wtq/Resources/wtq.example.ps.jsonc +++ b/src/10-Core/Wtq/Resources/wtq.example.ps.jsonc @@ -4,10 +4,10 @@ "Apps": [ { - // Didn't find Windows Terminal to be installed, so generated fallback to console host. - "Name": "Command Prompt", + // Didn't find Windows Terminal to be installed, so generated fallback to plain PowerShell prompt. + "Name": "PowerShell", "HotKeys": [{ "Modifiers": "Control", "Key": "D1" }], - "FileName": "conhost" + "FileName": "powershell" } ], diff --git a/src/10-Core/Wtq/WtqPaths.cs b/src/10-Core/Wtq/WtqPaths.cs index 9d14cc7..d872742 100644 --- a/src/10-Core/Wtq/WtqPaths.cs +++ b/src/10-Core/Wtq/WtqPaths.cs @@ -27,10 +27,11 @@ public static class WtqPaths /// /// When creating a WTQ configuration file at runtime, place it here. - /// Windows: C:/Users/username/.wtq.jsonc
- /// Linux: /home/username/.wtq.jsonc. + /// Windows: C:/Users/username/wtq.jsonc
+ /// Linux: /home/username/wtq.jsonc. ///
- public static string PreferredWtqConfigPath => Path.Combine(UserHome, ".wtq.jsonc"); + // TODO: Put Linux version under "/home/username/.wtq.jsonc". + public static string PreferredWtqConfigPath => Path.Combine(UserHome, "wtq.jsonc"); /// /// Ordered list of possible paths to WTQ configuration file.
diff --git a/winget/2.0.9/flyingpie.windows-terminal-quake.installer.yaml b/winget/2.0.9/flyingpie.windows-terminal-quake.installer.yaml index 3b0c4a6..6f8306b 100644 --- a/winget/2.0.9/flyingpie.windows-terminal-quake.installer.yaml +++ b/winget/2.0.9/flyingpie.windows-terminal-quake.installer.yaml @@ -11,6 +11,6 @@ ReleaseDate: 2024-05-20 Installers: - Architecture: x64 InstallerUrl: https://github.com/flyingpie/windows-terminal-quake/releases/download/v2.0.9/win-x64_self-contained.zip - InstallerSha256: 54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db + InstallerSha256: 4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb ManifestType: installer ManifestVersion: 1.5.0