mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-07 07:47:30 +09:00
Fix installer
This commit is contained in:
parent
67052bd6bb
commit
ce73865643
8 changed files with 18 additions and 17 deletions
|
|
@ -43,10 +43,10 @@
|
|||
#ifdef HAVE_64BIT_BUILD
|
||||
!define HAVE_64BIT_BUILD
|
||||
!define ARCH "x64"
|
||||
!define MinSupportedVer "Microsoft Windows 7 x64"
|
||||
!define MinSupportedVer "Microsoft Windows XP x64"
|
||||
#else
|
||||
!define ARCH "x86"
|
||||
!define MinSupportedVer "Microsoft Windows XP SP2"
|
||||
!define MinSupportedVer "Microsoft Windows XP"
|
||||
#endif
|
||||
|
||||
!define MinSupportedCPU "SSE2"
|
||||
|
|
|
|||
|
|
@ -1042,10 +1042,8 @@ Function .onInit
|
|||
; SSE2 instruction set is available.
|
||||
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"
|
||||
|
||||
!ifdef HAVE_64BIT_BUILD
|
||||
; Restrict x64 builds from being installed on x86 and pre Win7
|
||||
${Unless} ${RunningX64}
|
||||
${OrUnless} ${AtLeastWin7}
|
||||
; Windows NT 5.0 and lower are not supported on any architecture.
|
||||
${Unless} ${AtLeastWinXP}
|
||||
${If} "$R7" == "0"
|
||||
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
|
||||
${Else}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@ DEFINES += -DMOZ_ANGLE_RENDERER=$(MOZ_ANGLE_RENDERER)
|
|||
ifdef MOZ_D3DCOMPILER_VISTA_DLL
|
||||
DEFINES += -DMOZ_D3DCOMPILER_VISTA_DLL=$(MOZ_D3DCOMPILER_VISTA_DLL)
|
||||
endif
|
||||
ifdef MOZ_D3DCOMPILER_XP_DLL
|
||||
DEFINES += -DMOZ_D3DCOMPILER_XP_DLL=$(MOZ_D3DCOMPILER_XP_DLL)
|
||||
endif
|
||||
endif
|
||||
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
||||
|
|
|
|||
|
|
@ -174,6 +174,10 @@
|
|||
#ifdef MOZ_D3DCOMPILER_VISTA_DLL
|
||||
@BINPATH@/@MOZ_D3DCOMPILER_VISTA_DLL@
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_D3DCOMPILER_XP_DLL
|
||||
@BINPATH@/@MOZ_D3DCOMPILER_XP_DLL@
|
||||
#endif
|
||||
#endif # MOZ_ANGLE_RENDERER
|
||||
|
||||
; [Browser Chrome Files]
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@
|
|||
#ifdef HAVE_64BIT_BUILD
|
||||
!define HAVE_64BIT_BUILD
|
||||
!define ARCH "x64"
|
||||
!define MinSupportedVer "Microsoft Windows 7 x64"
|
||||
!define MinSupportedVer "Microsoft Windows XP x64"
|
||||
#else
|
||||
!define ARCH "x86"
|
||||
!define MinSupportedVer "Microsoft Windows 7"
|
||||
!define MinSupportedVer "Microsoft Windows XP"
|
||||
#endif
|
||||
|
||||
!define MinSupportedCPU "SSE2"
|
||||
|
|
|
|||
|
|
@ -1036,8 +1036,8 @@ Function .onInit
|
|||
; SSE2 instruction set is available. Result returned in $R7.
|
||||
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"
|
||||
|
||||
; Windows NT 6.0 and lower are not supported on any architecture.
|
||||
${Unless} ${AtLeastWin7}
|
||||
; Windows NT 5.0 and lower are not supported on any architecture.
|
||||
${Unless} ${AtLeastWinXP}
|
||||
${If} "$R7" == "0"
|
||||
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
|
||||
${Else}
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ def valid_ucrt_sdk_dir(windows_sdk_dir, windows_sdk_dir_env):
|
|||
# contain the Universal CRT SDK. When the main SDK is 8.1, there
|
||||
# is, however, supposed to be a reduced install of the SDK 10
|
||||
# with the UCRT.
|
||||
if version != 'include':
|
||||
#if version != 'include':
|
||||
sdks[d] = Version(version), sdk
|
||||
continue
|
||||
if d == windows_sdk_dir_env:
|
||||
|
|
|
|||
|
|
@ -3233,9 +3233,6 @@ if test -n "$MOZ_ANGLE_RENDERER"; then
|
|||
######################################
|
||||
# Find _43 for use by XP.
|
||||
|
||||
if test "$HAVE_64BIT_BUILD"; then
|
||||
AC_MSG_RESULT([We are building a 64-bit binary, skip checking d3dcompiler_43.])
|
||||
else
|
||||
# Get the SDK path from the registry.
|
||||
# First try to get the June 2010 SDK
|
||||
MOZ_DIRECTX_SDK_REG_KEY=`reg query 'HKLM\Software\Microsoft\DirectX' //s | grep 'Microsoft DirectX SDK (June 2010)' | head -n 1`
|
||||
|
|
@ -3283,7 +3280,6 @@ if test -n "$MOZ_ANGLE_RENDERER"; then
|
|||
else
|
||||
AC_MSG_RESULT([Couldn't find an acceptable DirectX SDK for ANGLE, needed for d3dcompiler_43.])
|
||||
fi
|
||||
fi
|
||||
|
||||
######################################
|
||||
# Check that we found what we needed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue