Commit 501e71de authored by shrabbit's avatar shrabbit
Browse files

创建启动类和核心类。

parent 2fa09058
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
namespace Seek.Common.Application;

public interface IAppInfo
{
    string Name { get; set; }
    string VersionString { get; set; }
    Version Version { get; }
    
}
 No newline at end of file

Seek.Core/Class1.cs

0 → 100644
+5 −0
Original line number Diff line number Diff line
namespace Seek.Core;

public class Class1
{
}
 No newline at end of file
+9 −0
Original line number Diff line number Diff line
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net10.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

</Project>
+10 −0
Original line number Diff line number Diff line
namespace Seek.Launcher;

sealed class Program
{
    // Initialization code. Don't use any Avalonia, third-party APIs or any
    // SynchronizationContext-reliant code before AppMain is called: things aren't initialized
    // yet and stuff might break.
    [STAThread]
    public static void Main(string[] args) => Startup.StartupSeek(args);
}
 No newline at end of file
+14 −0
Original line number Diff line number Diff line
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>net10.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

    <ItemGroup>
      <ProjectReference Include="..\Seek\Seek.csproj" />
    </ItemGroup>

</Project>
Loading