bf::create_symlink(bf::path(kWRTPath), exec_path, error);
} else if (strcmp(app->component_type, "widgetapp") == 0) {
bf::create_symlink(kWebWidgetRuntimeBinaryPath, exec_path, error);
- } else if (!service_app_type[app->appid].empty()) {
- bf::create_symlink(kWrtServiceLauncherBinaryPath, exec_path, error);
- } else {
+ } else if (service_app_type[app->appid] == "standalone") {
bf::create_symlink(kWrtServiceBinaryPath, exec_path, error);
+ } else {
+ bf::create_symlink(kWrtServiceLauncherBinaryPath, exec_path, error);
}
if (error) {
LOG(ERROR) << "Failed to set symbolic link "