mirror of
https://github.com/logos-co/velopack.git
synced 2026-08-30 21:21:09 +00:00
Rework solution structure to allow more types of library projects (#196)
* Rename avalonia & wpf samples * Rename rest of samples * fix sample readme * Fix compat util tests * rename / move all src projects * remove package lock files and move libC# again * Add rust lib and cargo workspace * Replace locksmith lib with new filelocksmith-rs library * Deprecated type * fix setup compile * Use thiserror for error handling * Rename some enums and formatting * Add missing SHA256 * wip c++ library * cpp wip * alphabetize readme * Try to get build working again * Fix some conditionally compiled bits * cross config should be in workspace root * Fix PathHelper for new rust target dir * Missed one old path to velopack.csproj * remove obsolete coverage code * testawareapp.exe no longer exists
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#include "PrecompiledHeader.h"
|
||||
#include "..\UnityPlayerStub\Exports.h"
|
||||
|
||||
//for Velopack
|
||||
#include "..\Velopack.hpp"
|
||||
#include "Windows.h"
|
||||
#include <shellapi.h>
|
||||
//for Velopack
|
||||
|
||||
// Hint that the discrete gpu should be enabled on optimus/enduro systems
|
||||
// NVIDIA docs: http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf
|
||||
// AMD forum post: http://devgurus.amd.com/thread/169965
|
||||
extern "C"
|
||||
{
|
||||
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
|
||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd)
|
||||
{
|
||||
//for Velopack
|
||||
int pNumArgs = 0;
|
||||
wchar_t** args = CommandLineToArgvW(lpCmdLine, &pNumArgs);
|
||||
Velopack::startup(args, pNumArgs);
|
||||
//for Velopack
|
||||
return UnityMain(hInstance, hPrevInstance, lpCmdLine, nShowCmd);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
#include "PrecompiledHeader.h"
|
||||
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#define NOMINMAX
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
||||
#include <Windows.h>
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
// Generated by build script, do not edit!
|
||||
#ifndef RC_INVOKED
|
||||
|
||||
#include "Configuration/IntegerDefinitions.h"
|
||||
#include "Runtime/Testing/Fakeable.h"
|
||||
|
||||
namespace UnityConfig
|
||||
{
|
||||
extern const char* const UnityCompany = "Unity Technologies ApS";
|
||||
extern const char* const UnityCopyright = "(c) 2022 Unity Technologies ApS. All rights reserved.";
|
||||
extern const bool HardwareStatsEnabled = 1;
|
||||
extern const char* const BuildRoot = "C:/buildslave/unity/build";
|
||||
|
||||
extern const char* const UnityVersion = "2021.3.4f1";
|
||||
extern const char* const UnityVersionDigits = "2021.3.4";
|
||||
extern const char* const UnityVersionSuffix = "f1";
|
||||
extern const UInt32 UnityVersionVer = 2021;
|
||||
extern const UInt32 UnityVersionMajor = 3;
|
||||
extern const UInt32 UnityVersionMinor = 4;
|
||||
extern const bool UnityVersionIsBeta = 0;
|
||||
|
||||
extern const char* const UnityVersionUnderHash = "2021.3.4f1_cb45f9cae8b7";
|
||||
extern const char* const UnityVersionUnderHash_Verbose = "2021.3.4f1_cb45f9cae8b7";
|
||||
extern const char* const UnityVersionUnderHash_WithParens = "2021.3.4f1 (cb45f9cae8b7)";
|
||||
|
||||
// A numeric representation of the version control hash
|
||||
extern const UInt64 UnityVersionBuild = 13321721;
|
||||
|
||||
extern const UInt64 UnityVersionDate = 1653503040;
|
||||
extern const char* const UnityVersionBranch = "2021.3/staging";
|
||||
extern const char* const UnityVersionDisplay = "2021.3.4f1";
|
||||
extern const char* const UnityVersionDisplay_Verbose = "2021.3.4f1.243";
|
||||
extern const char* const UnityVersionRevision = "cb45f9cae8b7";
|
||||
|
||||
// Wide strings
|
||||
extern const wchar_t* const L_UnityVersionUnderHash_WithParens = L"2021.3.4f1 (cb45f9cae8b7)";
|
||||
extern const wchar_t* const L_UnityVersion = L"2021.3.4f1";
|
||||
}
|
||||
|
||||
#else // Generated by build script for sole use by the Windows resource compiler, do not use for anything else
|
||||
|
||||
#define UNITY_COMPANY "Unity Technologies ApS"
|
||||
#define UNITY_COPYRIGHT "(c) 2022 Unity Technologies ApS. All rights reserved."
|
||||
#define UNITY_VERSION_VER 2021
|
||||
#define UNITY_VERSION_MAJ 3
|
||||
#define UNITY_VERSION_MIN 4
|
||||
#define UNITY_IS_BETA 0
|
||||
#define UNITY_VERSION_UNDER_HASH "2021.3.4f1_cb45f9cae8b7"
|
||||
#define UNITY_VERSION_PARENS_HASH "2021.3.4f1 (cb45f9cae8b7)"
|
||||
#define UNITY_VERSION_BLD 13321721
|
||||
#define UNITY_VERSION_WIN "2021.3.4.13321721"
|
||||
|
||||
#endif // !RC_INVOKED
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(SolutionDir)UnityCommon.props" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<CodeSharingProject>E9D46EAF-A320-49FB-A167-2CBA56F910B2</CodeSharingProject>
|
||||
<ItemsProjectGuid>{9CC07CB0-D6B5-4B2E-990C-F644CBC7AE58}</ItemsProjectGuid>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)UnityConfiguration.gen.cpp"></ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="SourceItemsFromImports" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Master|Win32">
|
||||
<Configuration>Master</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Master|x64">
|
||||
<Configuration>Master</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="MasterWithLTCG|Win32">
|
||||
<Configuration>MasterWithLTCG</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="MasterWithLTCG|x64">
|
||||
<Configuration>MasterWithLTCG</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="DebugServer|Win32">
|
||||
<Configuration>DebugServer</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="MasterServer|Win32">
|
||||
<Configuration>MasterServer</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="MasterServer|x64">
|
||||
<Configuration>MasterServer</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="MasterServerWithLTCG|Win32">
|
||||
<Configuration>MasterServerWithLTCG</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="MasterServerWithLTCG|x64">
|
||||
<Configuration>MasterServerWithLTCG</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="ReleaseServer|Win32">
|
||||
<Configuration>ReleaseServer</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="DebugServer|x64">
|
||||
<Configuration>DebugServer</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="ReleaseServer|x64">
|
||||
<Configuration>ReleaseServer</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{57571793-BF11-47DB-A9BA-049C9AA938C7}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>$(ProjectName)</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<Choose>
|
||||
<When Condition="'$(Configuration)'=='DebugServer'">
|
||||
<PropertyGroup>
|
||||
<ConfigurationBuildDir>Debug</ConfigurationBuildDir>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="'$(Configuration)'=='ReleaseServer'">
|
||||
<PropertyGroup>
|
||||
<ConfigurationBuildDir>Release</ConfigurationBuildDir>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="'$(Configuration)'=='MasterServer'">
|
||||
<PropertyGroup>
|
||||
<ConfigurationBuildDir>Master</ConfigurationBuildDir>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="'$(Configuration)'=='MasterServerWithLTCG'">
|
||||
<PropertyGroup>
|
||||
<ConfigurationBuildDir>MasterWithLTCG</ConfigurationBuildDir>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<ConfigurationBuildDir>$(Configuration)</ConfigurationBuildDir>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
<PropertyGroup Label="UserMacros">
|
||||
<ArtifactsDir>$(SolutionDir)build\obj\$(PlatformShortName)\$(ConfigurationBuildDir)\</ArtifactsDir>
|
||||
<PlayerOutputDir>$(SolutionDir)build\bin\$(PlatformShortName)\$(ConfigurationBuildDir)\</PlayerOutputDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug' OR '$(Configuration)'=='DebugServer'">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'!='Debug' AND '$(Configuration)'!='DebugServer'">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug' OR '$(Configuration)'=='Release' OR '$(Configuration)'=='DebugServer' OR '$(Configuration)'=='ReleaseServer'" Label="Configuration">
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Master' OR '$(Configuration)'=='MasterWithLTCG' OR '$(Configuration)'=='MasterServer' OR '$(Configuration)'=='MasterServerWithLTCG'" Label="Configuration">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OutDir>$(PlayerOutputDir)</OutDir>
|
||||
<IntDir>$(ArtifactsDir)WindowsPlayer\</IntDir>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<CommonDefines>UNITY_WIN=1;UNITY_STANDALONE=1;UNITY_STANDALONE_WIN=1;WIN32;_WINDOWS</CommonDefines>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeaderFile>PrecompiledHeader.h</PrecompiledHeaderFile>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem Condition="'$(Configuration)'=='Debug' OR '$(Configuration)'=='Release' OR '$(Configuration)'=='Master' OR '$(Configuration)'=='MasterWithLTCG'">Windows</SubSystem>
|
||||
<SubSystem Condition="'$(Configuration)'=='DebugServer' OR '$(Configuration)'=='ReleaseServer' OR '$(Configuration)'=='MasterServer' OR '$(Configuration)'=='MasterServerWithLTCG'">Console</SubSystem>
|
||||
<EntryPointSymbol Condition="'$(Configuration)'=='DebugServer' OR '$(Configuration)'=='ReleaseServer' OR '$(Configuration)'=='MasterServer' OR '$(Configuration)'=='MasterServerWithLTCG'">wWinMainCRTStartup</EntryPointSymbol>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>$(OutDir)$(TargetName)_$(PlatformShortName)_$(Configuration)_$(ScriptingBackend).pdb</ProgramDatabaseFile>
|
||||
<AdditionalOptions>"$(ArtifactsDir)UnityPlayerStub\bin\UnityPlayerStub.lib" %(AdditionalOptions)</AdditionalOptions>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug' OR '$(Configuration)'=='DebugServer'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>$(CommonDefines);ENABLE_PROFILER=1;DEBUGMODE=1;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='DebugServer|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdcpp20</LanguageStandard>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='DebugServer|x64'">stdcpp20</LanguageStandard>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'!='Debug' AND '$(Configuration)'!='DebugServer'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release' OR '$(Configuration)'=='ReleaseServer'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>$(CommonDefines);ENABLE_PROFILER=1;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='Release|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='ReleaseServer|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|x64'">stdcpp20</LanguageStandard>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='ReleaseServer|x64'">stdcpp20</LanguageStandard>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Master' OR '$(Configuration)'=='MasterWithLTCG' OR '$(Configuration)'=='MasterServer' OR '$(Configuration)'=='MasterServerWithLTCG'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>$(CommonDefines);NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='Master|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='MasterServer|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='MasterServerWithLTCG|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='MasterWithLTCG|x64'">stdc11</LanguageStandard_C>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Master|x64'">stdcpp20</LanguageStandard>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='MasterServer|x64'">stdcpp20</LanguageStandard>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='MasterServerWithLTCG|x64'">stdcpp20</LanguageStandard>
|
||||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='MasterWithLTCG|x64'">stdcpp20</LanguageStandard>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Velopack.cpp" />
|
||||
<ClCompile Include="Main.cpp" />
|
||||
<ClCompile Include="PrecompiledHeader.cpp">
|
||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\Velopack.hpp" />
|
||||
<ClInclude Include="PrecompiledHeader.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="WindowsPlayer.rc">
|
||||
<AdditionalIncludeDirectories>$(VersionInfoResourceDir)</AdditionalIncludeDirectories>
|
||||
</ResourceCompile>
|
||||
<Manifest Include="WindowsPlayer.manifest" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="UnityData.vcxitems" Label="UnityData" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 550 KiB |
+43
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="UnityTechnologies.Unity.UnityPlayer" type="win32"/>
|
||||
<description>Unity</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32" name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel
|
||||
level="asInvoker"
|
||||
uiAccess="false"
|
||||
/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<!-- From MSDN: Note that Windows XP and Windows Vista ignore this manifest section and it has no impact on them. -->
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- Windows 10 -->
|
||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
|
||||
<!-- Windows 8.1 -->
|
||||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
|
||||
<!-- Windows 8 -->
|
||||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
|
||||
<!-- Windows 7 -->
|
||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
||||
</application>
|
||||
</compatibility>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True/PM</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
||||
@@ -0,0 +1,81 @@
|
||||
// Microsoft Visual C++ generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#include "winres.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (United States) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_LTH)
|
||||
|
||||
LANGUAGE 9, 1
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE
|
||||
BEGIN
|
||||
"#include ""winres.h""\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE
|
||||
BEGIN
|
||||
"#include ""WinPlayerVersion.rc""\0"
|
||||
END
|
||||
|
||||
4 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // English (United States) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_APP_ICON ICON "WindowsPlayer.ico"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// RT_MANIFEST
|
||||
//
|
||||
|
||||
1 RT_MANIFEST "WindowsPlayer.manifest"
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
|
||||
#include "WindowsPlayerVersion.rc"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
#include <windows.h>
|
||||
#include "UnityConfiguration.gen.cpp"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION UNITY_VERSION_VER,UNITY_VERSION_MAJ,UNITY_VERSION_MIN,UNITY_VERSION_BLD
|
||||
PRODUCTVERSION UNITY_VERSION_VER,UNITY_VERSION_MAJ,UNITY_VERSION_MIN,UNITY_VERSION_BLD
|
||||
FILEFLAGSMASK 0x17L
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x4L
|
||||
FILETYPE 0x0L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "FileVersion", UNITY_VERSION_WIN
|
||||
VALUE "ProductVersion", UNITY_VERSION_WIN
|
||||
VALUE "Unity Version", UNITY_VERSION_UNDER_HASH
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,17 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by WindowsPlayer.rc
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
|
||||
#define IDI_APP_ICON 103
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user