Skip to content

Commit

Permalink
AppXManifest: add
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Sep 1, 2016
1 parent 9ac9457 commit 51aa7fb
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ obj/
/LogAnalyzer/py2exe/build
/LogAnalyzer/LogAnalyzer64.zip
/gstream
/MissionPlanner.appx
3 changes: 3 additions & 0 deletions MissionPlanner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3427,6 +3427,9 @@
<Content Include="aircraft.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="appxmanifest.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="ArduCopterConfig.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down
25 changes: 25 additions & 0 deletions appxmanifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name="MissionPlanner" Version="1.3.39.0" Publisher="CN=Michael Oborne" />
<Properties>
<DisplayName>Mission Planner</DisplayName>
<PublisherDisplayName>Michael Oborne</PublisherDisplayName>
<Logo>splashdark.jpg</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.2.1</OSMinVersion>
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="en-us" />
</Resources>
<Applications>
<Application Id="MPApp" StartPage="MissionPlanner.exe">
<VisualElements DisplayName="Mission Planner" Description="ground control station"
Logo="splashdark.jpg" SmallLogo="splashdark.jpg"
ForegroundText="dark" BackgroundColor="#FFFFFF">
<SplashScreen Image="splashdark.jpg" />
</VisualElements>
</Application>
</Applications>
</Package>
6 changes: 6 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" MissionPlanner.sln /m /p:Configuration=Release /p:Mavlink10=true

del bin\release\MissionPlannerBeta.zip

"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\makeappx" pack /d bin\Release /p MissionPlanner.appx

"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\signtool" sign /a /v /fd SHA256 /t http://timestamp.verisign.com/scripts/timestamp.dll /n "Michael Oborne" MissionPlanner.appx

pause

0 comments on commit 51aa7fb

Please sign in to comment.