fix windows store package project for upload

This commit is contained in:
2018-10-02 02:19:57 +02:00
parent 4696342421
commit c9aecf885d
4 changed files with 6 additions and 4 deletions

3
.gitignore vendored
View File

@@ -23,3 +23,6 @@ frames/
src/version.gen.h src/version.gen.h
com_omixlab_panopainter_MainActivity.h com_omixlab_panopainter_MainActivity.h
android/release android/release
PanoPainterPackage/_pkginfo.txt
PanoPainterPackage/AppPackages/
PanoPainterPackage/BundleArtifacts/

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?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:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp rescap"> <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:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp rescap">
<Identity Name="OmixLabLtd.PanoPainter" Publisher="CN=A7839FC0-1534-49A5-BD18-1D5AF8852B9B" Version="0.1.3.360" /> <Identity Name="OmixLabLtd.PanoPainter" Publisher="CN=A7839FC0-1534-49A5-BD18-1D5AF8852B9B" Version="0.1.4.0" />
<Properties> <Properties>
<DisplayName>PanoPainter</DisplayName> <DisplayName>PanoPainter</DisplayName>
<PublisherDisplayName>OmixLab Ltd</PublisherDisplayName> <PublisherDisplayName>OmixLab Ltd</PublisherDisplayName>
@@ -23,7 +23,6 @@
</Application> </Application>
</Applications> </Applications>
<Capabilities> <Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" /> <rescap:Capability Name="runFullTrust" />
</Capabilities> </Capabilities>
</Package> </Package>

View File

@@ -42,7 +42,7 @@
<PropertyGroup> <PropertyGroup>
<ProjectGuid>3a716fb6-de62-439f-83b6-3c40915d6678</ProjectGuid> <ProjectGuid>3a716fb6-de62-439f-83b6-3c40915d6678</ProjectGuid>
<TargetPlatformVersion>10.0.17134.0</TargetPlatformVersion> <TargetPlatformVersion>10.0.17134.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion> <TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion>
<DefaultLanguage>en-US</DefaultLanguage> <DefaultLanguage>en-US</DefaultLanguage>
<PackageCertificateKeyFile>PanoPainterPackage_StoreKey.pfx</PackageCertificateKeyFile> <PackageCertificateKeyFile>PanoPainterPackage_StoreKey.pfx</PackageCertificateKeyFile>
<EntryPointProjectUniqueName>..\PanoPainter.vcxproj</EntryPointProjectUniqueName> <EntryPointProjectUniqueName>..\PanoPainter.vcxproj</EntryPointProjectUniqueName>

View File

@@ -24,7 +24,7 @@ regex = re.compile(r'(.*<Identity[^>]+Version=)("\d+\.\d+\.\d+\.\d+")')
with open(abs_path,'w') as new_file: with open(abs_path,'w') as new_file:
with open(file_path) as old_file: with open(file_path) as old_file:
for line in old_file: for line in old_file:
new_line = regex.sub(r'\1"%s"' % version_number, line) new_line = regex.sub(r'\1"%s.0"' % tag, line)
new_file.write(new_line) new_file.write(new_line)
close(fh) close(fh)
#Remove original file #Remove original file