Skip to content

Commit

Permalink
feat: update check deepin-manual path
Browse files Browse the repository at this point in the history
Change-Id: I3f964b37e61f58f93be87223b823ebe1ea7206a7
  • Loading branch information
haruyukilxz committed Oct 17, 2018
1 parent 67f6772 commit ec41a75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/dapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ bool DApplicationPrivate::isUserManualExists()
} else {
const QString appName = qApp->applicationName();
bool dmanAppExists = QFile::exists("/usr/bin/dman");
bool dmanDataExists = QFile::exists("/usr/share/dman/" + appName) ||
QFile::exists("/app/share/dman/" + appName);
bool dmanDataExists = QFile::exists("/usr/share/deepin-manual/manual/" + appName) ||
QFile::exists("/app/share/deepin-manual/manual/" + appName);
return dmanAppExists && dmanDataExists;
}
#else
Expand Down

0 comments on commit ec41a75

Please sign in to comment.