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

vm.common: add -iconLocation param to VM-Install-From-Zip #1202

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fariss
Copy link
Contributor

@fariss fariss commented Dec 12, 2024

closes #1187

@fariss fariss force-pushed the add-iconLocation-param branch 3 times, most recently from 777a5c4 to 3cc8135 Compare December 12, 2024 15:58
Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for sending a PR to add the iconLocation parameter to VM-Install-From-Zip! 💖

As documented in the wiki:

The version needs to be increased every time you modify an existing package

Otherwise the package can't be pushed to MyGet, GH actions push it when merging the PR. So you need to modify the version in packages/common.vm/common.vm.nuspec to be 0.0.0.20241212. This is also the reason the linter is not happy.

I recommend to also modify the capa-explorer-web.vm package in the same PR that you add the parameter (if you wish in a different commit) as then we can test that the new modification is working. 😉

@fariss fariss force-pushed the add-iconLocation-param branch from 3cc8135 to aaaa28b Compare December 18, 2024 12:54
@fariss fariss force-pushed the add-iconLocation-param branch 2 times, most recently from c927837 to 111a5b4 Compare December 18, 2024 13:08
@fariss fariss force-pushed the add-iconLocation-param branch 3 times, most recently from 53e44d3 to aaa0cab Compare December 18, 2024 13:25
Comment on lines +10 to +11
$iconName = "favicon.ico"
VM-Install-From-Zip $toolName $category $zipUrl $zipSha256 -executableName $executableName -iconLocation $iconName -withoutBinFile -innerFolder $true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ana06 please let me know if this works out for you.

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

Successfully merging this pull request may close these issues.

Add iconLocation to VM-Install-From-Zip
2 participants