|
#ifndef __HGUPGRADE_H__
|
|
#define __HGUPGRADE_H__
|
|
|
|
#include <string>
|
|
|
|
// 判断app是否在运行
|
|
bool AppIsRun(const std::string& appName);
|
|
|
|
// 升级安装, 使用之前的安装路径
|
|
bool Upgrade(const std::string& pkgPath);
|
|
|
|
// 运行app
|
|
void RunApp(const std::string& appName);
|
|
|
|
#endif /* __HGUPGRADE_H__ */
|