Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update now that ARM64 packages are natively supported by Visual Studio and the Microsoft Store. #52

Merged
merged 1 commit into from
Nov 20, 2018
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
11 changes: 10 additions & 1 deletion DistroLauncher-Appx/DistroLauncher-Appx.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@
<PropertyGroup>
<PackageCertificateKeyFile>DistroLauncher-Appx_TemporaryKey.pfx</PackageCertificateKeyFile>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxBundle>Never</AppxBundle>
<AppxBundle>Always</AppxBundle>
<PackageCertificateThumbprint>9AA4CA850308B67D8F3536434BF4224C5CAC519F</PackageCertificateThumbprint>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxBundlePlatforms>x64|arm64</AppxBundlePlatforms>
<AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency>
<AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency>
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
Expand All @@ -89,6 +94,7 @@
<AppxManifest Include="MyDistro.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="DistroLauncher-Appx_StoreKey.pfx" />
<None Include="DistroLauncher-Appx_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='x64'">
Expand Down Expand Up @@ -164,4 +170,7 @@
<Outputs>$(targetname).exe</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<None Include="Package.StoreAssociation.xml" />
</ItemGroup>
</Project>
4 changes: 3 additions & 1 deletion DistroLauncher-Appx/DistroLauncher-Appx.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,11 @@
<AppxManifest Include="MyDistro.appxmanifest" />
</ItemGroup>
<ItemGroup>
<None Include="DistroLauncher-Appx_TemporaryKey.pfx" />
<None Include="..\ARM64\install.tar.gz" />
<None Include="..\x64\install.tar.gz" />
<None Include="DistroLauncher-Appx_TemporaryKey.pfx" />
<None Include="Package.StoreAssociation.xml" />
<None Include="DistroLauncher-Appx_StoreKey.pfx" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="$(targetname)" />
Expand Down
10 changes: 5 additions & 5 deletions DistroLauncher-Appx/MyDistro.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp uap2 uap3 rescap desktop">
<Identity Name="DistroName.1.0" Version="1.0.0.0" Publisher="CN=DistroOwner" ProcessorArchitecture="x64" />
<mp:PhoneIdentity PhoneProductId="00000000-0000-0000-0000-000000000000" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Identity Name="WSL-DistroLauncher" Version="1.0.0.0" Publisher="CN=Windows Console Dev Team" ProcessorArchitecture="x64" />
<mp:PhoneIdentity PhoneProductId="160867c6-4e75-4e36-85c6-1543de07d5f3" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>My Linux Distro</DisplayName>
<PublisherDisplayName>DistroOwner</PublisherDisplayName>
<DisplayName>WSL-DistroLauncher</DisplayName>
<PublisherDisplayName>Windows Console Dev Team</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
Expand All @@ -18,7 +18,7 @@
</Resources>
<Applications>
<Application Id="mydistro" Executable="mydistro.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements DisplayName="My Linux Distro" Description="My Own Distro Launcher" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" BackgroundColor="transparent">
<uap:VisualElements DisplayName="WSL-DistroLauncher" Description="My Own Distro Launcher" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png">
</uap:DefaultTile>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,6 @@ You'll also need to change a few small things in your project to prepare your di

2. You will either need to run `build rel` from the command line to generate the Release version of your appx or use Visual Studio directly to upload your package to the store. You can do this by right-clicking on "DistroLauncher-Appx (Universal Windows)" in the solution explorer and clicking on "Store... Create App Packages..." and following the wizard.

3. How to publish ARM64 appx:
1. In Visual Studio Project > Store > Create App Packages
2. Select No for "Do you want to build packages to upload to the Window Store?" and click Next.
3. Ensure only the ARM64 Architecture is selected with "Release (ARM64)" as the Solution Configuration and click Next.
4. Launch "Developer Command Prompt for VS 2017" and navigate to the root of your solution.
5. Run "PowerShell.exe .\createARM64Package.ps1". You will need to update the appxPath and pfxFile variables at the top of the PowerShell script.
6. In Visual Studio Project > Store > Upload App Packages
7. Sign in with your developer.microsoft.com account and select the appx file that was created in step v.

Also, make sure to check out the [Notes for uploading to the Store](https://github.com/Microsoft/WSL-DistroLauncher/wiki/Notes-for-uploading-to-the-Store) page on our wiki for more information.

# Issues & Contact
Expand Down
20 changes: 0 additions & 20 deletions createARM64Package.ps1

This file was deleted.