Skip to content

Commit ebc87fc

Browse files
committed
Release v1.3.4 start listener on Windows startup
1 parent b7b1815 commit ebc87fc

6 files changed

Lines changed: 26 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## v1.3.4 - 2026-05-16
4+
5+
Windows startup listener fix.
6+
7+
### Changed
8+
9+
- `Start with Windows` now creates a startup shortcut that includes `-StartListener` when the app is already configured.
10+
- Tray startup now re-syncs the startup shortcut from the saved config on launch, so existing installs repair older startup shortcuts automatically.
11+
312
## v1.3.3 - 2026-05-16
413

514
Version source-of-truth release.

GW-Router-Logger.TrayMode.psm1

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function Get-AppVersionValue {
1111
}
1212
}
1313

14-
return '1.3.3'
14+
return '1.3.4'
1515
}
1616

1717
$script:AppName = 'GW Router Logger'
@@ -491,6 +491,7 @@ function Get-AppConfig {
491491
try {
492492
$loaded = Get-Content -LiteralPath $path -Raw -ErrorAction Stop | ConvertFrom-Json
493493
$script:CachedConfig = Repair-Config -Config (ConvertTo-PlainHashtable -InputObject $loaded)
494+
Sync-StartupShortcut -Config $script:CachedConfig
494495
return $script:CachedConfig
495496
}
496497
catch {
@@ -532,9 +533,18 @@ function Sync-StartupShortcut {
532533
$wsh = New-Object -ComObject WScript.Shell
533534
$shortcut = $wsh.CreateShortcut($shortcutPath)
534535
$shortcut.TargetPath = "$env:WINDIR\System32\WindowsPowerShell\v1.0\powershell.exe"
535-
$shortcut.Arguments = '-NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Sta -File "{0}" -TrayApp' -f (Get-LauncherScriptPath)
536+
$shortcutArguments = '-NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Sta -File "{0}" -TrayApp' -f (Get-LauncherScriptPath)
537+
if ([bool] $Config.IsConfigured) {
538+
$shortcutArguments += ' -StartListener'
539+
}
540+
$shortcut.Arguments = $shortcutArguments
536541
$shortcut.WorkingDirectory = Get-ScriptRootPath
537-
$shortcut.Description = 'Start GW Router Logger in the notification area'
542+
if ([bool] $Config.IsConfigured) {
543+
$shortcut.Description = 'Start GW Router Logger in the notification area and begin listening'
544+
}
545+
else {
546+
$shortcut.Description = 'Start GW Router Logger in the notification area'
547+
}
538548
$iconPath = Get-AppIconPath
539549
if (Test-Path -LiteralPath $iconPath) {
540550
$shortcut.IconLocation = $iconPath

GW-Router-Logger.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function Get-AppVersionValue {
2929
}
3030
}
3131

32-
return '1.3.3'
32+
return '1.3.4'
3333
}
3434

3535
# GW Router Logger

Install-GWRouterLogger.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Get-AppVersionValue {
2323
}
2424
}
2525

26-
return '1.3.3'
26+
return '1.3.4'
2727
}
2828

2929
$version = Get-AppVersionValue

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`GW Router Logger` is a PowerShell syslog collector for Windows, designed for home labs, residential routers, and small-network troubleshooting.
44

5-
Current release: `v1.3.3`
5+
Current release: `v1.3.4`
66

77
It focuses on the things that usually break first on normal Windows machines: elevation, pathing, firewall access, bind-address selection, log rollover, and clear on-screen status.
88

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.3
1+
1.3.4

0 commit comments

Comments
 (0)