GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Disambiguate icon for daily builds on Windows by bergmeister · Pull Request #5467 · PowerShell/PowerShell Conversation
|
| } | ||
|
|
||
| # Edit icon to disambiguate daily builds. | ||
| if ($IsWinEnv -and $Daily.IsPresent) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you please move this section up to before the line of if (-not $IsWinEnv) { chmod 755 $Destination/pwsh }? In this way, all manipulations of the executable are grouped together :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ok. Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # Edit icon to disambiguate daily builds. | ||
| if ($IsWinEnv -and $Daily.IsPresent) { | ||
| if (-not (Test-Path "~/.rcedit/rcedit-x64.exe")) { | ||
| Write-Verbose "Install RCEdit for modifying exe resources" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you please add -Verbose? We use write-verbose -verbose in this file as a way to log useful messages to users. This is a useful message for users to see.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ok. Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| Invoke-WebRequest -OutFile "~/.rcedit/rcedit-x64.exe" -Uri $rceditUrl | ||
| } | ||
|
|
||
| Write-Verbose "Change icon to disambiguate it from a released installation" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same here. Please add -Verbose.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done as well now.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…s together. Re-tested that it still works (WMF 5.1, Win10 Fall Creators Update)
|
Steve Lee (@SteveL-MSFT) Can you please take a look? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Disambiguate icon for daily builds on Windows. Some code had to be borrowed from build.psm1 because this script has to be self contained in case it gets executed by only downloading this file via the published download link https://twitter.com/Steve_MSFT/status/930585082451992576
* Disambiguate icon for daily builds on Windows. Some code had to be borrowed from build.psm1 because this script has to be self contained in case it gets executed by only downloading this file via the published download link https://twitter.com/Steve_MSFT/status/930585082451992576
* Disambiguate icon for daily builds on Windows. Some code had to be borrowed from build.psm1 because this script has to be self contained in case it gets executed by only downloading this file via the published download link https://twitter.com/Steve_MSFT/status/930585082451992576
* Disambiguate icon for daily builds on Windows. Some code had to be borrowed from build.psm1 because this script has to be self contained in case it gets executed by only downloading this file via the published download link https://twitter.com/Steve_MSFT/status/930585082451992576
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.