Added "Visual Elements" manifest for Windows 8+ "Start" screen tile.

This commit is contained in:
LoRd_MuldeR 2017-12-12 01:26:41 +01:00
parent a45f4acb3f
commit b6516a1b9b
6 changed files with 17 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,6 +17,7 @@ LameXP Audio-Encoder Front-End – Changelog
* Complete re-write of MediaInfo parsing code, now using XML-based MediaInfo output * Complete re-write of MediaInfo parsing code, now using XML-based MediaInfo output
* Improved auto-detection of max. parallel instances on computers with "fast" (i.e. SSD or similar) drive * Improved auto-detection of max. parallel instances on computers with "fast" (i.e. SSD or similar) drive
* Some improvements to output file name generation code * Some improvements to output file name generation code
* Added "Visual Elements" manifest for Windows 8+ "Start" screen tile
## LameXP v4.15 [2017-05-31] ## {-} ## LameXP v4.15 [2017-05-31] ## {-}

View File

@ -103,6 +103,7 @@ rd /S /Q "%TMP_PATH%" 2> NUL
mkdir "%TMP_PATH%" mkdir "%TMP_PATH%"
call "%~dp0\_copy.bat" "%BIN_PATH%\LameXP.exe" "%TMP_PATH%" call "%~dp0\_copy.bat" "%BIN_PATH%\LameXP.exe" "%TMP_PATH%"
call "%~dp0\_copy.bat" "%~dp0\..\..\etc\Manifest\VisualElements.xml" "%TMP_PATH%\LameXP.VisualElementsManifest.xml"
if "%LAMEXP_REDIST%"=="1" ( if "%LAMEXP_REDIST%"=="1" (
call "%~dp0\_copy.bat" "%BIN_PATH%\LameXP.rcc" "%TMP_PATH%" call "%~dp0\_copy.bat" "%BIN_PATH%\LameXP.rcc" "%TMP_PATH%"
@ -152,6 +153,7 @@ attrib +R "%TMP_PATH%\*.txt"
attrib +R "%TMP_PATH%\*.html" attrib +R "%TMP_PATH%\*.html"
attrib +R "%TMP_PATH%\*.exe" attrib +R "%TMP_PATH%\*.exe"
attrib +R "%TMP_PATH%\*.dll" attrib +R "%TMP_PATH%\*.dll"
attrib +R "%TMP_PATH%\*.xml"
:: --------------------------------------------------------------------------- :: ---------------------------------------------------------------------------
:: BUILD INSTALLER :: BUILD INSTALLER

View File

@ -0,0 +1,8 @@
<Application xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<VisualElements
ShowNameOnSquare150x150Logo='on'
Square150x150Logo='img\lamexp\logo_150x150.png'
Square70x70Logo='img\lamexp\logo_70x70.png'
ForegroundText='light'
BackgroundColor='#0996f8'/>
</Application>

View File

@ -536,6 +536,7 @@ FunctionEnd
Delete ${options} "$INSTDIR\vccorlib*.dll" Delete ${options} "$INSTDIR\vccorlib*.dll"
Delete ${options} "$INSTDIR\api-ms-*.dll" Delete ${options} "$INSTDIR\api-ms-*.dll"
Delete ${options} "$INSTDIR\ucrtbase.dll" Delete ${options} "$INSTDIR\ucrtbase.dll"
Delete ${options} "$INSTDIR\*.VisualElementsManifest.xml"
RMDir /r ${options} "$INSTDIR\cache" RMDir /r ${options} "$INSTDIR\cache"
RMDir /r ${options} "$INSTDIR\img" RMDir /r ${options} "$INSTDIR\img"
@ -573,6 +574,9 @@ Section "!Install Files"
File /a `/oname=$R0` `${LAMEXP_SOURCE_PATH}\LameXP.exe` File /a `/oname=$R0` `${LAMEXP_SOURCE_PATH}\LameXP.exe`
File /nonfatal /a /r `${LAMEXP_SOURCE_PATH}\*.dll` File /nonfatal /a /r `${LAMEXP_SOURCE_PATH}\*.dll`
${StdUtils.GetFileNamePart} $R1 "$R0"
File /a `/oname=$R1.VisualElementsManifest.xml` `${LAMEXP_SOURCE_PATH}\LameXP.VisualElementsManifest.xml`
File /a /r `${LAMEXP_SOURCE_PATH}\*.txt` File /a /r `${LAMEXP_SOURCE_PATH}\*.txt`
File /a /r `${LAMEXP_SOURCE_PATH}\*.html` File /a /r `${LAMEXP_SOURCE_PATH}\*.html`
File /a /r `${LAMEXP_SOURCE_PATH}\*.png` File /a /r `${LAMEXP_SOURCE_PATH}\*.png`

View File

@ -34,7 +34,7 @@
#define VER_LAMEXP_MINOR_HI 1 #define VER_LAMEXP_MINOR_HI 1
#define VER_LAMEXP_MINOR_LO 6 #define VER_LAMEXP_MINOR_LO 6
#define VER_LAMEXP_TYPE Beta #define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 1 #define VER_LAMEXP_PATCH 2
#define VER_LAMEXP_BUILD 2074 #define VER_LAMEXP_BUILD 2074
#define VER_LAMEXP_CONFG 2002 #define VER_LAMEXP_CONFG 2002