Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Limiana committed Sep 5, 2022
1 parent ccaa226 commit 345dedf
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 6 deletions.
18 changes: 17 additions & 1 deletion SelectString.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,34 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31612.314
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SelectString", "SelectString\SelectString.csproj", "{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SelectString", "SelectString\SelectString.csproj", "{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClickLib", "ClickLib\ClickLib\ClickLib.csproj", "{24518BF4-A308-4DD6-9E57-C76A8D02072A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Debug|Any CPU.ActiveCfg = Release|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Debug|Any CPU.Build.0 = Release|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Debug|x64.ActiveCfg = Debug|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Debug|x64.Build.0 = Debug|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Release|Any CPU.ActiveCfg = Release|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Release|Any CPU.Build.0 = Release|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Release|x64.ActiveCfg = Release|x64
{8AA8EC7C-5D05-4584-9BEF-C4BB87F5A0F1}.Release|x64.Build.0 = Release|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Debug|Any CPU.ActiveCfg = Debug|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Debug|Any CPU.Build.0 = Debug|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Debug|x64.ActiveCfg = Debug|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Debug|x64.Build.0 = Debug|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Release|Any CPU.ActiveCfg = Release|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Release|Any CPU.Build.0 = Release|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Release|x64.ActiveCfg = Release|x64
{24518BF4-A308-4DD6-9E57-C76A8D02072A}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
28 changes: 24 additions & 4 deletions SelectString/SelectString.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>Eternita</Authors>
<Version>1.0.0.2</Version>
<Version>1.0.0.4</Version>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<Platforms>x64</Platforms>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand All @@ -22,13 +22,27 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup>
<PostBuildEvent>
rmdir .\Release /s /q
ping localhost -n 2 &gt;nul
powershell "(Get-Content .\$(MSBuildProjectName).json) -Replace '9.0.0.0', '$(Version)' | Set-Content .\$(MSBuildProjectName).json"
powershell Compress-Archive .\* ..\$(MSBuildProjectName)-$(Version).zip
mkdir .\Release
move ..\$(MSBuildProjectName)-$(Version).zip .\release\$(MSBuildProjectName).zip
copy .\$(MSBuildProjectName).json .\release\.\$(MSBuildProjectName).json
</PostBuildEvent>
</PropertyGroup>

<PropertyGroup>
<DalamudLibPath>$(appdata)\XIVLauncher\addon\Hooks\dev\</DalamudLibPath>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\repos\ClickLib\ClickLib\ClickLib.csproj" />
<PackageReference Include="DalamudPackager" Version="2.1.6" />
<ProjectReference Include="..\ClickLib\ClickLib\ClickLib.csproj" />
</ItemGroup>

<ItemGroup>
<Reference Include="Newtonsoft.Json">
<HintPath>$(DalamudLibPath)Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
Expand All @@ -54,4 +68,10 @@
<Private>False</Private>
</Reference>
</ItemGroup>

<ItemGroup>
<None Update="SelectString.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
6 changes: 5 additions & 1 deletion SelectString/SelectString.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"Author": "Eternita",
"Punchline": "Select items in menus via 0-9 keys rather than mouse.",
"Description": "Numpad is also supported. Note: some menus, like World Visit, are not supported, and whether they will be in future or not remains a question.",
"RepoUrl": "https://github.com/Eternita-S/SelectString"
"RepoUrl": "https://github.com/Eternita-S/SelectString",
"DalamudApiLevel": 7,
"LoadPriority": 0,
"InternalName": "SelectString",
"ApplicableVersion": "any"
}

0 comments on commit 345dedf

Please sign in to comment.