Skip to content

Commit 38c0cb9

Browse files
committed
Last very small edit
1 parent 7bfb7e5 commit 38c0cb9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/Winget-AutoUpdate/WAU-Settings-GUI.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,6 +1393,7 @@ if (Test-Path $wauIconPath) {
13931393
$systemTemp = [System.Environment]::GetEnvironmentVariable("TEMP", [System.EnvironmentVariableTarget]::Machine)
13941394
if (-not $systemTemp) { $systemTemp = "$env:SystemRoot\Temp" }
13951395
$iconDest = Join-Path $systemTemp "icon.ico"
1396+
# Only extract if the icon doesn't already exist
13961397
if (-not (Test-Path $iconDest)) {
13971398
$icon = [System.Drawing.Icon]::ExtractAssociatedIcon($iconSource)
13981399
$fs = [System.IO.File]::Open($iconDest, [System.IO.FileMode]::Create)

Sources/Winget-AutoUpdate/config/settings-window.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
<TextBlock>
172172
Create/delete Start menu shortcuts:
173173
<LineBreak/>
174-
'$Script:WAU_TITLE' Shortcut will be created on active User Desktop if deleted.
174+
'$Script:WAU_TITLE' shortcut will be created on active User Desktop if deleted.
175175
</TextBlock>
176176
</CheckBox.ToolTip>
177177
</CheckBox>

0 commit comments

Comments
 (0)