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

Extract HVIF Data from the HPKG on Import #110

Closed
andponlin opened this issue Oct 28, 2016 · 2 comments
Closed

Extract HVIF Data from the HPKG on Import #110

andponlin opened this issue Oct 28, 2016 · 2 comments

Comments

@andponlin
Copy link
Collaborator

When a package is imported from HPGR, the main binary will typically have an attribute (see B_HPKG_ATTRIBUTE_ID_FILE_ATTRIBUTE here with value "BEOS:ICON". This can be extracted to obtain the HVIF data to load against the package. This would eliminate the need for a person to manually copy those HVIF data files into the package in the web interface.

@diversys
Copy link
Contributor

diversys commented Mar 1, 2017

How would it choose which one to use if there are several binaries with "BEOS:ICON" inside?

@andponlin
Copy link
Collaborator Author

In this case, it would be ambiguous and the package would be left with no icon. This situation would require manual intervention, but for many cases, being able to pickup the HVIF data automatically would save some time.

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

No branches or pull requests

2 participants