Import 2017-06-07 23:51:09: master 9efd5856

Author Committer Branch Timestamp Parent
msmolens msmolens master 2015-08-05 11:56:12 master 63c09f04
Affected Issues 0004027: slicerExtensionWizard creates invalid icon files (Windows)
Changeset

BUG: Fix Extension Wizard to write icon files correctly on Windows

On Windows, slicerExtensionWizard creates invalid icon files for
extensions and modules. This happens because the script treats all
template files as text when opening them to replace the template key,
including the PNG icon files.

This changes the script to open and write files in binary mode.

Fixes 0004027.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24485 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Utilities/Scripts/SlicerWizard/TemplateManager.py Diff File