Skip to content

Commit

Permalink
Update tizen manifest path
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonghyunCho authored and rookiejava committed Mar 24, 2022
1 parent 3249c6a commit 8072ebc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .nuspec/Microsoft.Maui.Resizetizer.targets
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,12 @@

<!-- WPF -->
<ItemGroup Condition="'$(_ResizetizerIsWPFApp)' == 'True'">

<Resource Include="@(_MauiFontCopied)" Condition="'@(_MauiFontCopied)' != ''">
<LogicalName>$([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity)))</LogicalName>
<Link>$([System.IO.Path]::GetFileName(%(_MauiFontCopied.Identity)))</Link>
</Resource>

</ItemGroup>

<!-- Tizen -->
Expand Down Expand Up @@ -520,8 +522,8 @@
<!-- Tizen - Move splash images to a specific location -->
<TizenSplashUpdator
Condition="'$(_ResizetizerIsTizenApp)' == 'True'"
ManifestFile="$(TizenManifestFile)"
IntermediateOutputPath="$(ResizetizerIntermediateOutputPath)"
ManifestFile="$(TizenManifestFile)"
MauiSplashScreen="@(MauiSplashScreen)" />

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Core/src/Fonts/EmbeddedFontLoader.Tizen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ public partial class EmbeddedFontLoader : IEmbeddedFontLoader
font.ResourceStream.CopyTo(fileStream);
}

#if __TIZEN__
if (DotnetUtil.TizenAPIVersion > 5)
{
Utility.FontReinit();
}
#endif
return name;
}
catch (Exception ex)
Expand Down
5 changes: 2 additions & 3 deletions src/SingleProject/Resizetizer/src/TizenSplashUpdator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ public class TizenSplashUpdator : Task
[Required]
public ITaskItem[] MauiSplashScreen { get; set; }

[Required]
public string ManifestFile { get; set; }

[Required]
public string IntermediateOutputPath { get; set; }

public string ManifestFile { get; set; } = "tizen-manifest.xml";

public ILogger Logger { get; private set; }

public override bool Execute()
Expand Down

0 comments on commit 8072ebc

Please sign in to comment.