mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-02 15:49:52 -04:00
[misc] try to make that darn Appx taskbar icon transparent
* Still doesn't work though :( * Also some minor .sln and _pre-commit.sh improvements
This commit is contained in:
parent
3d1b3bac40
commit
09181454dd
5 changed files with 33 additions and 22 deletions
|
@ -8,14 +8,14 @@
|
|||
for an interesting struggle, when you also happen to have a comma in one of the fields... -->
|
||||
<Identity
|
||||
Name="Rufus"
|
||||
Version="2.15.1091.0"
|
||||
Version="2.15.1112.0"
|
||||
ProcessorArchitecture="x86"
|
||||
Publisher='CN=Akeo Consulting, O=Akeo Consulting, STREET="24, Grey Rock", L=Milford, S=Co Donegal, PostalCode=Co Donegal, C=IE' />
|
||||
<Properties>
|
||||
<DisplayName>Rufus</DisplayName>
|
||||
<PublisherDisplayName>Akeo Consulting</PublisherDisplayName>
|
||||
<Description>Rufus</Description>
|
||||
<Logo>Assets\Rufus-48.png</Logo>
|
||||
<Logo>Assets\Square44x44Logo.png</Logo>
|
||||
</Properties>
|
||||
<Resources>
|
||||
<Resource Language="en-US" />
|
||||
|
@ -37,8 +37,8 @@
|
|||
<uap:VisualElements
|
||||
BackgroundColor="transparent"
|
||||
DisplayName="Rufus"
|
||||
Square150x150Logo="Assets\Rufus-150.png"
|
||||
Square44x44Logo="Assets\Rufus-44.png"
|
||||
Square150x150Logo="Assets\Square150x150Logo.png"
|
||||
Square44x44Logo="Assets\Square44x44Logo.png"
|
||||
Description="Rufus">
|
||||
<uap:DefaultTile>
|
||||
<uap:ShowNameOnTiles>
|
||||
|
|
|
@ -1,15 +1,26 @@
|
|||
@echo off
|
||||
set VERSION=2.15
|
||||
echo [Files]>mappings.lst
|
||||
echo "..\icon-set\rufus-44.png" "Assets\Rufus-44.png">>mappings.lst
|
||||
echo "..\icon-set\rufus-48.png" "Assets\Rufus-48.png">>mappings.lst
|
||||
echo "..\icon-set\rufus-150.png" "Assets\Rufus-150.png">>mappings.lst
|
||||
echo "..\..\rufus-%VERSION%.exe" "rufus.exe">>mappings.lst
|
||||
echo "AppxManifest.xml" "AppxManifest.xml">>mappings.lst
|
||||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakeAppx" pack /o /f mappings.lst /p Rufus-%VERSION%.appx
|
||||
|
||||
rem Make sure you don't have anything you don't want included in the package, as anything residing in the
|
||||
rem current directory will be included, including any previous .appx, which makes for nice recursion...
|
||||
del /q *.appx >NUL 2>&1
|
||||
|
||||
rem According to the link below, you need "altform-unplated" icons and run MakePri to get transparent icons
|
||||
rem on the taskbar... Still doesn't seem to work though :(
|
||||
rem https://social.msdn.microsoft.com/Forums/windowsapps/en-US/dc505f68-d120-43e3-a9e1-d7c77746d588/uwpdesktop-bridgeunplated-taskbar-icons-in-desktop-bridge-apps
|
||||
mkdir Assets >NUL 2>&1
|
||||
copy "..\icon-set\rufus-44.png" "Assets\Square44x44Logo.png"
|
||||
copy "..\icon-set\rufus-48.png" "Assets\Square44x44Logo_targetsize-48.png"
|
||||
copy "..\icon-set\rufus-48.png" "Assets\Square44x44Logo_targetsize-48_altform-unplated.png"
|
||||
copy "..\icon-set\rufus-150.png" "Assets\Square150x150Logo.png"
|
||||
copy "..\..\rufus-%VERSION%.exe" "rufus.exe"
|
||||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakePri" createconfig /o /dq en-US /cf priconfig.xml
|
||||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakePri" new /o /pr . /cf priconfig.xml
|
||||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakeAppx" pack /o /d . /p Rufus-%VERSION%.appx
|
||||
if ERRORLEVEL 1 goto out
|
||||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\SignTool" sign /v /sha1 5759b23dc8f45e9120a7317f306e5b6890b612f0 /fd SHA256 /tr http://timestamp.comodoca.com/rfc3161 /td SHA256 Rufus-%VERSION%.appx
|
||||
:out
|
||||
del mappings.lst
|
||||
del /q rufus.exe
|
||||
rmdir /s /q Assets
|
||||
pause
|
||||
exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue