| Line 52... |
Line 52... |
| 52 |
continue;
|
52 |
continue;
|
| 53 |
if ( package->pFile->GetIcon() )
|
53 |
if ( package->pFile->GetIcon() )
|
| 54 |
{
|
54 |
{
|
| 55 |
package->pFile->ReadIconFileToMemory();
|
55 |
package->pFile->ReadIconFileToMemory();
|
| 56 |
CyString sIconFile = CyStringFromSystemString(IO::Path::GetTempPath()) + "\\" + CFileIO(package->sName).baseName() + "." + package->pFile->GetIconExt();
|
56 |
CyString sIconFile = CyStringFromSystemString(IO::Path::GetTempPath()) + "\\" + CFileIO(package->sName).baseName() + "." + package->pFile->GetIconExt();
|
| 57 |
if ( package->pFile->ExtractFile(package->pFile->GetIcon(), CFileIO(sIconFile).GetFullFilename(), false) )
|
57 |
if ( package->pFile->ExtractFile(package->pFile->GetIcon(), CFileIO(sIconFile).fullFilename(), false) )
|
| 58 |
{
|
58 |
{
|
| 59 |
String ^iconFile = SystemStringFromCyString(sIconFile);
|
59 |
String ^iconFile = SystemStringFromCyString(sIconFile);
|
| 60 |
if ( IO::File::Exists(iconFile) )
|
60 |
if ( IO::File::Exists(iconFile) )
|
| 61 |
{
|
61 |
{
|
| 62 |
String ^file = SystemStringFromCyString(package->sName);
|
62 |
String ^file = SystemStringFromCyString(package->sName);
|