-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: correct filename for Windows icon generation in Taskfile #4125
fix: correct filename for Windows icon generation in Taskfile #4125
Conversation
WalkthroughThe pull request updates the Changes
Possibly related PRs
Suggested reviewers
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
v3/internal/commands/build_assets/Taskfile.tmpl.yml
(1 hunks)
🔇 Additional comments (1)
v3/internal/commands/build_assets/Taskfile.tmpl.yml (1)
72-72
: Command Reference Correction VerifiedThe command now correctly uses the updated filename with the appropriate directory:
-windowsfilename windows/icon.ico
This ensures that the generated Windows icon will match the file referenced by the installer configuration. Once the generates list is fixed for consistency, this command is spot on.
Nice one! This must have been missed after a recent refactor. Please could you add an entry to the changelog located at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
docs/src/content/docs/changelog.mdx (1)
111-111
: Clarify the Changelog Entry for Icon Generation FixThe new entry documents the fix by [@robin-samuel] but could be more descriptive. Consider explicitly mentioning that the Windows icon filename was changed from
"icons.ico"
to"icon.ico"
so that readers immediately understand the nature of the fix.🧰 Tools
🪛 LanguageTool
[grammar] ~111-~111: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...esn't exist but[request].html
does - Fixed icon generation paths by [@robin-samuel...(DID_BASEFORM)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/src/content/docs/changelog.mdx
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/src/content/docs/changelog.mdx
[grammar] ~111-~111: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...esn't exist but [request].html
does - Fixed icon generation paths by [@robin-samuel...
(DID_BASEFORM)
done |
Description
I noticed that generate:icons generates the windows icon to the path
windows/icons.ico
but the path used to make the syso and nsis installer iswindows/icon.ico
. This causes the app to always have the same icon if not updated manually. and there will always be an unused icons.ico file in the windows folder.Type of change
Please select the option that is relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration using
wails doctor
.If you checked Linux, please specify the distro and version.
Test Configuration
Wails (v3.0.0-alpha.9) Wails Doctor
System
Name Windows 10 Pro
Version 2009 (Build: 26100)
ID 24H2
Branding Windows 11 Pro
Platform windows
Architecture amd64
Go WebView2Loader true
WebView2 Version 133.0.3065.92
CPU 12th Gen Intel(R) Core(TM) i9-12900K
GPU 1 Intel(R) UHD Graphics 770 (Intel Corporation) - Driver: 32.0.101.6129
GPU 2 NVIDIA GeForce RTX 3090 (NVIDIA) - Driver: 32.0.15.7216
Memory 32GB
Build Environment
Wails CLI v3.0.0-alpha.9
Go Version go1.24.0
-buildmode exe
-compiler gc
CGO_ENABLED 0
DefaultGODEBUG asynctimerchan=1,gotestjsonbuildtext=1,gotypesalias=0,httpservecontentkeepheaders=1,multipathtcp=0,randseednop=0,rsa1024min=0,tls3des=1,tlsmlkem=0,x509keypairleaf=0,x509negativeserial=1,x509rsacrt=0,x509usepolicies=0
GOAMD64 v1
GOARCH amd64
GOOS windows
Dependencies
NSIS v3.10
npm 10.9.2
Diagnosis
SUCCESS Your system is ready for Wails development!
Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit
Chores
Bug Fixes
@robin-samuel
.