Changeset 33ff7ee in tol


Ignore:
Timestamp:
Oct 18, 2010, 7:40:31 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e5be4f1
Parents:
3a14843
Message:

Decompress the package if necessary

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2595 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/lang/language.cpp

    r3a14843 r33ff7ee  
    4343#include <tol/tol_bvmatgra.h>
    4444#include <tol/tol_oiscreator.h>
     45#include <tol/tol_StoreZipArchive.h>
    4546
    4647#ifdef __USE_TC__
    … …  
    13741375  {
    13751376    ok=dirPath.Exist();
     1377    if(!ok)
     1378    {
     1379      BDir zipPath = path+".zip";
     1380      if(zipPath.Exist())
     1381      {
     1382        StoreZipArchive zip;
     1383        zip.Open(zipPath.Name(),'r');
     1384        zip.DirExtract("*",dirPath.Name());
     1385        zip.Close();
     1386      }
     1387      ok=dirPath.Exist();
     1388    }
    13761389  //Std(BText("\nTRACE BPackage::Load 4 ok=")+ok);
    13771390    if(!ok)
Note: See TracChangeset for help on using the changeset viewer.