mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
* chore: update uno sample app with latest * Cleaning up UnoSample to use SampleHelper Updated the top level Directory.Build.targets to support samples with solutions and nested directories. Added build scripts. * Adding Uno sample to GHA * Remove framework bootstrap * Fixing mainExe name on non-windows --------- Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
12 lines
336 B
C#
12 lines
336 B
C#
using System.Linq;
|
|
using System.Reflection;
|
|
|
|
#nullable enable
|
|
internal static class SampleHelper
|
|
{
|
|
public static string? GetReleasesDir() => Assembly.GetEntryAssembly()?
|
|
.GetCustomAttributes<AssemblyMetadataAttribute>()
|
|
.Where(x => x.Key == "VelopackSampleReleaseDir")
|
|
.Single().Value;
|
|
}
|
|
#nullable restore |