#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20130510.1]"
+#define OSP_INSTALLER_VERSION "version=[20130510.2]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
InstallerUtil::ChangeMode(appRootPath, PERM_BASE | PERM_EXECUTE);
smackManager.AddLabelDir(packageId, appRootPath, true);
+ if (pContext->__isPreloaded == true)
+ {
+ String preloadedAppPath(PATH_USR_APPS);
+ preloadedAppPath += L"/";
+ preloadedAppPath += packageId;
+
+ smackManager.AddLabelDir(L"_", preloadedAppPath, true);
+ }
+
// appRoot/bin
destPath = appRootPath + DIR_BIN;
InstallerUtil::ChangeDirectoryPermission(destPath, PERM_BASE | PERM_EXECUTE, false);
__pWriter->WriteAttribute("hw-acceleration", glFrame);
__pWriter->WriteAttribute("mainapp", mainapp);
+ if (pAppData->__pLaunchConditionList->GetCount() > 0)
+ {
+ __pWriter->WriteAttribute("launchcondition", "true");
+ }
+
if (pAppData->__permissionType.IsEmpty() == false)
{
String type = pAppData->__permissionType;