#ifndef NO_TIZEN
#include <dlog.h>
+#define LOGX(fmt, arg...) \
+ ({ do { \
+ dlog_print(DLOG_ERROR, LOG_TAG, fmt, ##arg); \
+ } while (0); })
+
#else
#include <stdio.h>
#define LOGE(fmt, args...) printf(fmt, ##args)
#define LOGD(fmt, args...) printf(fmt, ##args)
#define LOGI(fmt, args...) printf(fmt, ##args)
+#define LOGX(fmt, args...) printf(fmt, ##args)
#endif
#ifdef LOG_TAG
#define _INFO(fmt, args...) LOGI(fmt "\n", ##args)
#endif
+#ifndef _ERRX
+#define _ERRX(fmt, args...) LOGX(fmt "\n", ##args)
+#endif
+
#endif /* __LOG_H__ */
bool success = false;
if (launchFunction != nullptr) {
- std::string cppPath(path);
-
- if (isManagedAssembly(cppPath) && !isNativeImage(cppPath)) {
- size_t extindex = cppPath.size() - 4;
- cppPath = cppPath.substr(0, extindex) + ".ni" + cppPath.substr(extindex, 4);
- if (!fileNotExist(cppPath))
- path = cppPath.c_str();
- }
-
success = launchFunction(root, path, argc, argv);
if (!success)
_ERR("Failed to launch Application %s", path);
%if %{use_managed_launcher}
%{_bindir}/Tizen.Runtime.dll
%endif
-%caps(cap_sys_admin,cap_setgid=ei) %{_bindir}/dotnet-launcher
+%{_bindir}/dotnet-launcher
+