Also search for app.asar when starting app.
This commit is contained in:
parent
e0c469183d
commit
e5e1e207b6
2 changed files with 10 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue