Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions _msbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,12 @@ def mainw_exe(name):
PACKAGE = Package('python-manager',
PyprojectTomlFile('pyproject.toml'),
# MSIX manifest
File('src/pymanager/appxmanifest.xml', name='appxmanifest.xml'),
File('src/pymanager/pymanager.appinstaller', name='pymanager.appinstaller'),
File('src/pymanager/appxmanifest.xml'),
File('src/pymanager/pymanager.appinstaller'),
Package(
'MSIX.AppInstaller.Data',
File('src/pymanager/MSIXAppInstallerData.xml'),
),

# Default settings
File('src/pymanager.json'),
Expand Down
18 changes: 18 additions & 0 deletions src/pymanager/MsixAppInstallerData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<AppInstallerUX xmlns="http://schemas.microsoft.com/msix/appinstallerux"
Version="1.0.0">
<!-- Using the blue and grey from python.org - dark mode users always get black -->
<UX AccentColor="#3776AB" BackgroundColor="#FCFCFC">
<Icon HorizontalAlignment="right" Logo="_resources\setupx150.png" Size="medium" />
<Buttons Text="Python" IsSecondaryButtonAccent="false"/>
<HyperLinks TopMargin="1">
<!-- Undocumented limit of two links - choose wisely! -->
<HyperLink Text="Python website"
Url="https://www.python.org/"
HorizontalAlignment="left" />
<HyperLink Text="Get help with this installer"
Url="https://docs.python.org/dev/using/windows.html"
HorizontalAlignment="left" />
</HyperLinks>
</UX>
</AppInstallerUX>