Updated the samples
This commit is contained in:
Родитель
69cf89c880
Коммит
06374125e2
|
@ -25,7 +25,7 @@ namespace Skia.Forms.Demo.Droid
|
|||
}
|
||||
SkiaSharp.Demos.CustomFontPath = fontPath;
|
||||
|
||||
var dir = Path.Combine(ExternalCacheDir.AbsolutePath, "SkiaSharp.Demos");
|
||||
var dir = Path.Combine(Android.OS.Environment.ExternalStorageDirectory.AbsolutePath, "SkiaSharp.Demos");
|
||||
if (!Directory.Exists(dir))
|
||||
{
|
||||
Directory.CreateDirectory(dir);
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
<Reference Include="System.Core" />
|
||||
<Reference Include="Xamarin.Mac" />
|
||||
<Reference Include="SkiaSharp">
|
||||
<HintPath>packages\SkiaSharp.1.49.3.0-beta\lib\XamarinMac\SkiaSharp.dll</HintPath>
|
||||
<HintPath>packages\SkiaSharp.1.49.4.0-beta\lib\XamarinMac\SkiaSharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
@ -115,5 +115,5 @@
|
|||
</BundleResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" />
|
||||
<Import Project="packages\SkiaSharp.1.49.3.0-beta\build\XamarinMac\SkiaSharp.targets" Condition="Exists('packages\SkiaSharp.1.49.3.0-beta\build\XamarinMac\SkiaSharp.targets')" />
|
||||
<Import Project="packages\SkiaSharp.1.49.4.0-beta\build\XamarinMac\SkiaSharp.targets" Condition="Exists('packages\SkiaSharp.1.49.4.0-beta\build\XamarinMac\SkiaSharp.targets')" />
|
||||
</Project>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SkiaSharp" version="1.49.3.0-beta" targetFramework="xamarinmac20" />
|
||||
<package id="SkiaSharp" version="1.49.4.0-beta" targetFramework="xamarinmac20" />
|
||||
</packages>
|
Загрузка…
Ссылка в новой задаче