Skip to content
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

Please add the ${target} variable #8975

Open
deepshit2025 opened this issue Mar 19, 2025 · 0 comments
Open

Please add the ${target} variable #8975

deepshit2025 opened this issue Mar 19, 2025 · 0 comments

Comments

@deepshit2025
Copy link

"win": { "target": [ "nsis", "portable" ], "icon": "build/win_icon.ico", "artifactName": "${productName}-Setup-${version}-win-${arch}.${ext}" }
The current configuration will generate files with duplicate names (causing overwriting). To resolve this, please add the ${target} variable in the artifactName field:

"artifactName": "${productName}-Setup-${version}-win-${arch}-${target}.${ext}"

This ensures files are uniquely named based on the build target type (e.g., nsis or portable), preventing overwriting conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant