Skip to content

Commit

Permalink
Release 2.0.9 - Default to 'wtq.jsonc' in home folder (without prefix…
Browse files Browse the repository at this point in the history
… dot for now)
  • Loading branch information
flyingpie committed May 20, 2024
1 parent 14b5bed commit 24b8020
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion scoop/wtq-2.0.9.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.9/win-x64_self-contained.zip",
"hash": "54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db"
"hash": "4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb"
}
}
}
2 changes: 1 addition & 1 deletion scoop/wtq-latest.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.9/win-x64_self-contained.zip",
"hash": "54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db"
"hash": "4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb"
}
}
}
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.9/win-x64_self-contained.zip",
"hash": "54720c6cfbd362b59dfba66b506c91f28cc09d6f473b1677ad10d77de9e589db"
"hash": "4f20ff4456a0c8a506e22186470f470c8c1d979ce74f21a541ddd801bf7d83cb"
}
}
}
6 changes: 3 additions & 3 deletions src/10-Core/Wtq/Resources/wtq.example.ps.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
],

Expand Down
7 changes: 4 additions & 3 deletions src/10-Core/Wtq/WtqPaths.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ public static class WtqPaths

/// <summary>
/// When creating a WTQ configuration file at runtime, place it here.
/// Windows: C:/Users/username/.wtq.jsonc<br/>
/// Linux: /home/username/.wtq.jsonc.
/// Windows: C:/Users/username/wtq.jsonc<br/>
/// Linux: /home/username/wtq.jsonc.
/// </summary>
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");

/// <summary>
/// Ordered list of possible paths to WTQ configuration file.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 24b8020

Please sign in to comment.