fixes
This commit is contained in:
@@ -139,9 +139,13 @@ DECLARE_BUILD_STAGE(install)
|
||||
CUtlString szTier0 = GET_PROJECT_LIBRARY(tier0, "tier0");
|
||||
CUtlString szTier1 = GET_PROJECT_LIBRARY(tier1, "tier1");
|
||||
CUtlString szTier2 = GET_PROJECT_LIBRARY(tier2, "tier2");
|
||||
CUtlString szHttp = GET_PROJECT_LIBRARY(funnyhttp, "funnyhttp");
|
||||
CUtlString szAppleAuth = GET_PROJECT_LIBRARY(appleauth, "appleauth");
|
||||
|
||||
filesystem2->CopyFile("build/fpc_temp", szExe);
|
||||
filesystem2->CopyFile("build/libfpc_temp.so", szLibFpc);
|
||||
filesystem2->CopyFile("build", szHttp);
|
||||
filesystem2->CopyFile("build", szAppleAuth);
|
||||
|
||||
/*
|
||||
filesystem2->CopyFile("build/libtier1.a", szTier1);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "appletool.h"
|
||||
#include "helper.h"
|
||||
#include "runner.h"
|
||||
#include "appleauth/iauth.h"
|
||||
|
||||
void AppleManifest_t::SetPackageID( CUtlString szPackageID )
|
||||
{
|
||||
@@ -79,14 +80,14 @@ CUtlString CAppleTool::BuildPackage( AppleManifest_t manifest, CUtlString szMani
|
||||
return CUtlString("../%s.ipa", manifest.m_szPackageName.GetString());
|
||||
}
|
||||
|
||||
static IAppleDaemon *appledaemon;
|
||||
static IAppleAuth *g_pAppleAuth;
|
||||
CUtlString CAppleTool::SignPackage( const char *szIpa, const char *szPassword )
|
||||
{
|
||||
CreateInterfaceFn fnFactory = Sys_GetFactory("xtool");
|
||||
CreateInterfaceFn fnFactory = Sys_GetFactory("appleauth");
|
||||
if (fnFactory == NULL)
|
||||
Plat_FatalErrorFunc("Couldn't get xtool\n");
|
||||
appledaemon = (IAppleDaemon*)fnFactory(APPLE_DAEMON_INTERFACE_VERSION, NULL);
|
||||
appledaemon->SignPackage(szIpa);
|
||||
g_pAppleAuth = (IAppleAuth*)fnFactory(APPLE_AUTH_INTERFACE_VERSION, NULL);
|
||||
g_pAppleAuth->Init();
|
||||
return szIpa;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,13 +26,6 @@ public:
|
||||
virtual CUtlString SignPackage( const char *szIpa, const char *szPassword ) = 0;
|
||||
};
|
||||
|
||||
abstract_class IAppleDaemon
|
||||
{
|
||||
public:
|
||||
virtual void SignPackage( const char *szIpa ) = 0;
|
||||
};
|
||||
|
||||
#define APPLE_DAEMON_INTERFACE_VERSION "AppleDaemon001"
|
||||
|
||||
IAppleTool *AppleTool();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user