Also search for app.asar when starting app.

This commit is contained in:
Cheng Zhao 2014-09-24 20:09:41 +08:00
parent e0c469183d
commit e5e1e207b6
2 changed files with 10 additions and 11 deletions

View file

@ -77,10 +77,8 @@ Archive::~Archive() {
bool Archive::Init() {
base::File file(path_, base::File::FLAG_OPEN | base::File::FLAG_READ);
if (!file.IsValid()) {
PLOG(ERROR) << "Unable to open " << path_.value();
if (!file.IsValid())
return false;
}
std::vector<char> buf;
int len;