Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
-
Windows
Description
plugman + wp8 has support for adding/removing dll resources to the project, although there are multiple potential issues with string comparison in filesnames.
Code like this:
var parts = relative_path.split('\\'); var dll_name = parts[parts.length - 1].substr(0, parts[parts.length - 1].length - 4);
Can easily be replaced with this :
var dll_name = path.basename(relative_path, '.dll');
I fear there are also latent bugs here, so more tests should also be added.