1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +00:00

Version UWP

This commit is contained in:
Yan Maniez 2018-10-14 18:59:22 +02:00
parent 0f6c47f2da
commit ac9a066ff6
2 changed files with 3 additions and 3 deletions

View file

@ -109,9 +109,9 @@
<AppxManifest Include="Package.appxmanifest"> <AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</AppxManifest> </AppxManifest>
<Content Include="..\..\Data\database.db"> <EmbeddedResource Include="..\..\Data\database.db">
<Link>database.db</Link> <Link>database.db</Link>
</Content> </EmbeddedResource>
<None Include="AideDeJeu.UWP_StoreKey.pfx" /> <None Include="AideDeJeu.UWP_StoreKey.pfx" />
<None Include="AideDeJeu.UWP_TemporaryKey.pfx" /> <None Include="AideDeJeu.UWP_TemporaryKey.pfx" />
<Content Include="Assets\Fonts\LinLibertine_R.ttf" /> <Content Include="Assets\Fonts\LinLibertine_R.ttf" />

View file

@ -30,7 +30,7 @@ namespace AideDeJeu.UWP
if (!File.Exists(path)) if (!File.Exists(path))
{ {
var assembly = typeof(Version_UWP).GetTypeInfo().Assembly; var assembly = typeof(Version_UWP).GetTypeInfo().Assembly;
using (var inStream = assembly.GetManifestResourceStream("AideDeJeu.UWP.Assets." + databaseName)) using (var inStream = assembly.GetManifestResourceStream("AideDeJeu.UWP." + databaseName))
{ {
using (var outStream = new FileStream(path, FileMode.Create)) using (var outStream = new FileStream(path, FileMode.Create))
{ {