-
Notifications
You must be signed in to change notification settings - Fork 0
/
OCM Installer V2.csproj
83 lines (68 loc) · 3.08 KB
/
OCM Installer V2.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<RootNamespace>OCM_Installer_V2</RootNamespace>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<ApplicationIcon>icono.ico</ApplicationIcon>
<AssemblyName>Otako Craft Launcher</AssemblyName>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<None Remove="images/btnbkg.png" />
<None Remove="images/mnbkg.png" />
<None Remove="images/navbkgrnd.png" />
<None Remove="images/ocmlogomenu.png" />
<None Remove="images/udbkg.png" />
<None Remove="images\splash.png" />
</ItemGroup>
<ItemGroup>
<Content Include="icono.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Clowd.Squirrel" Version="2.9.42" />
<PackageReference Include="CmlLib.Core" Version="3.3.5" />
<PackageReference Include="CmlLib.Core.Auth.Microsoft.UI.WinForm" Version="2.1.0" />
<PackageReference Include="Downloader" Version="2.4.1" />
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.4" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NuGet.CommandLine" Version="6.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="WPF-UI" Version="2.0.2" />
</ItemGroup>
<ItemGroup>
<Reference Include="Wpf.Ui">
<HintPath>..\..\..\..\.nuget\packages\wpf-ui\2.0.2\lib\net6.0-windows7.0\Wpf.Ui.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Resource Include="images/mnbkg.png" />
<Resource Include="images/btnbkg.png" />
<Resource Include="images/udbkg.png" />
<Resource Include="images/navbkgrnd.png" />
<Resource Include="images/ocmlogomenu.png" />
</ItemGroup>
<ItemGroup>
<SplashScreen Include="images\splash.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</SplashScreen>
</ItemGroup>
<PropertyGroup>
<NugetTools>$(PkgNuGet_CommandLine)\tools</NugetTools>
<SquirrelTools>$(PkgClowd_Squirrel)\tools</SquirrelTools>
<Version>1.2.1</Version>
<NuspecFile>$(SolutionDir)OCMInstallerV2.nuspec</NuspecFile>
<PlatformTarget>AnyCPU</PlatformTarget>
<Copyright></Copyright>
</PropertyGroup>
<Target Name="GenerateRelease" AfterTargets="AfterBuild" Condition="$(Configuration) == Release">
<XmlPeek XmlInputPath="$(NuspecFile)" Query="/package/metadata/id/text()">
<Output TaskParameter="Result" ItemName="ID" />
</XmlPeek>
<Exec Command="$(NugetTools)\NuGet.exe pack "$(NuspecFile)" -Version $(Version) -Properties Configuration=Release -OutputDirectory "$(SolutionDir)Deployment\GeneratedNugets"" />
<Exec Command="$(SquirrelTools)\Squirrel.exe releasify --package="$(SolutionDir)Deployment\GeneratedNugets\@(ID).$(Version).nupkg" --releaseDir="$(SolutionDir)Deployment\Releases" --framework net6.0.2 --icon "icono.ico" --splashImage "images/inslogo.png"" />
</Target>
</Project>