-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Downloaded addon binaries get renamed #99
Comments
The file name is only created when installing as there's no way to know what the file is supposed to be called until downloading. When it comes to updating addons, it will always keep the name of the current dll. This might be fixed as part of the loader rewrite, but it would require knowing the name of the .dll before downloading, which adds another API call. Not something I'd willingly do at 60 requests per hour. Adding a field The upcoming changes to nexus will also have some better dev tooling regarding addon versions, so that might also help. |
ok, I'll update the issue after I'll have a look post update. |
I just hope I conveyed my issue clearly - as a dev, I'd be WAY happier with warning |
The problem is that there is no "expected" name. The name is created during installation, because the alternative would be to use the signature or something else that's not really user friendly. Users can rename the DLL to whatever they want. Nexus does not care. Equally, I have no control over your build output name or whether you even directly compile into /addons. Nexus CANNOT give a warning like that, because it has no knowledge of what the addon should be named. The signature check does precisely that. |
Describe the bug
No matter what the name of a binary attached to a release is, after downloading it seems to be renamed to addon name with spaces replaced by underscores. This causes duplicate addon issues when trying to run a version build locally, eg: addon dir will contain
TrueWorldCompletion.dll
built locally and available in github releases andTrue_World_Completion.dll
which is what nexus creates after download.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect
AddonDefinition::Name
name field to be a display name exclusively, with file name handled separately. If there is need to have clear and well defined relation between display name and file name, I'd like the loader (or updater) to issue a warning that downloaded file name mismatches expected one. As third alternative, new fieldAddonDefinition::FileName
in addition to existingAddonDefinition::Name
.The text was updated successfully, but these errors were encountered: