now can package ipa, still problems with signing
This commit is contained in:
31
fpc/public/appletool.h
Normal file
31
fpc/public/appletool.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef Apple_TOOL_H
|
||||
#define Apple_TOOL_H
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "legal.h"
|
||||
|
||||
struct AppleManifest_t
|
||||
{
|
||||
public:
|
||||
void SetPackageID( CUtlString szPackageID );
|
||||
void SetPackageName( CUtlString szPackageName );
|
||||
void SetPackageExecutable( CUtlString szPackageExecutable );
|
||||
|
||||
CUtlString BuildManifest();
|
||||
|
||||
CUtlString m_szPackageName;
|
||||
CUtlString m_szPackageID;
|
||||
CUtlString m_szPackageExecutable;
|
||||
};
|
||||
|
||||
abstract_class IAppleTool
|
||||
{
|
||||
public:
|
||||
virtual CUtlString BuildPackage( AppleManifest_t manifest, CUtlString szManifestDir ) = 0;
|
||||
virtual CUtlString SignPackage( const char *szIpa, const char *szPassword ) = 0;
|
||||
};
|
||||
|
||||
IAppleTool *AppleTool();
|
||||
#endif
|
||||
|
||||
0
fpc/public/deploy.h
Normal file
0
fpc/public/deploy.h
Normal file
@@ -121,10 +121,10 @@ protected:
|
||||
virtual void UseDynamicLookup( CUtlVector<CUtlString> &cmd, bool bUse ) = 0;
|
||||
|
||||
// includes whole file
|
||||
virtual void UseFullFile( CUtlVector<CUtlString> &cmd ) = 0;
|
||||
virtual void UseFullFile( CUtlVector<CUtlString> &cmd, LinkProject_t *pProject ) = 0;
|
||||
|
||||
// includes used stuff in a file
|
||||
virtual void UsePartialFile( CUtlVector<CUtlString> &cmd ) = 0;
|
||||
virtual void UsePartialFile( CUtlVector<CUtlString> &cmd, LinkProject_t *pProject ) = 0;
|
||||
|
||||
virtual void LinkFile( CUtlVector<CUtlString> &cmd, const char *szName ) = 0;
|
||||
virtual void LinkLibraryObject( CUtlVector<CUtlString> &cmd, const char *szName ) = 0;
|
||||
|
||||
11
fpc/public/signer.h
Normal file
11
fpc/public/signer.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef SIGNER_H
|
||||
#define SIGNER_H
|
||||
|
||||
#include "c.h"
|
||||
#include "ld.h"
|
||||
#include "helper.h"
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/interface.h"
|
||||
#include "tier0/platform.h"
|
||||
|
||||
#endif
|
||||
3
fpc/public/sysrootfetch.h
Normal file
3
fpc/public/sysrootfetch.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#ifndef SYSROOT_FETCH_H
|
||||
#define SYSROOT_FETCH_H
|
||||
#endif
|
||||
@@ -12,12 +12,18 @@ enum ETargetKernel
|
||||
{
|
||||
TARGET_KERNEL_UNKNOWN = 0,
|
||||
TARGET_KERNEL_LINUX,
|
||||
|
||||
TARGET_KERNEL_WINDOWS_DEVICES = 0x100,
|
||||
TARGET_KERNEL_WINDOWS_MSVC,
|
||||
TARGET_KERNEL_WINDOWS_GNU,
|
||||
TARGET_KERNEL_WINDOWS = TARGET_KERNEL_WINDOWS_GNU,
|
||||
|
||||
TARGET_KERNEL_APPLE_DEVICES = 0x200,
|
||||
TARGET_KERNEL_DARWIN,
|
||||
TARGET_KERNEL_IOS,
|
||||
TARGET_KERNEL_ANDROID,
|
||||
|
||||
TARGET_KERNEL_WEB_DEVICES = 0x400,
|
||||
TARGET_KERNEL_WASI,
|
||||
TARGET_KERNEL_EMSCRIPTEN,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user