Ticket #2014: expander.diff

File expander.diff, 717 bytes (added by scottmc, 17 years ago)

7za x -y %s should expand and force y to any overwrites

  • src/apps/expander/ExpanderRules.cpp

     
    4848    fList.AddItem(new ExpanderRule("application/zip",               ".zip",     "unzip -l %s",                  "unzip -o %s"));
    4949    fList.AddItem(new ExpanderRule("application/x-zip-compressed",  ".zip",     "unzip -l %s",                  "unzip -o %s"));
    5050    fList.AddItem(new ExpanderRule("application/x-rar",             ".rar",     "unrar v %s",                   "unrar x -y %s"));
     51    fList.AddItem(new ExpanderRule("application/x-7z-compressed",  ".7z",       "7za l %s",                     "7za x -y %s"));                   
    5152
    5253    BFile file;
    5354    if (Open(&file) != B_OK)