File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed
BepInEx.SplashScreen.Patcher Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 1717 <DebugSymbols >true</DebugSymbols >
1818 <DebugType >embedded</DebugType >
1919 <Optimize >false</Optimize >
20- <OutputPath >..\bin\</OutputPath >
20+ <OutputPath >..\bin\BepInEx\patchers\BepInEx.SplashScreen\ </OutputPath >
2121 <DefineConstants >DEBUG;TRACE</DefineConstants >
2222 <ErrorReport >prompt</ErrorReport >
2323 <WarningLevel >4</WarningLevel >
2626 <PlatformTarget >AnyCPU</PlatformTarget >
2727 <DebugType >embedded</DebugType >
2828 <Optimize >true</Optimize >
29- <OutputPath >..\bin\</OutputPath >
29+ <OutputPath >..\bin\BepInEx\patchers\BepInEx.SplashScreen\ </OutputPath >
3030 <DefineConstants >TRACE</DefineConstants >
3131 <ErrorReport >prompt</ErrorReport >
3232 <WarningLevel >4</WarningLevel >
7171 </ProjectReference >
7272 </ItemGroup >
7373 <ItemGroup >
74+ <None Include =" ..\LICENSE" >
75+ <Link >LICENSE</Link >
76+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
77+ </None >
78+ <None Include =" ..\README.md" >
79+ <Link >README.md</Link >
80+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
81+ </None >
7482 <None Include =" App.config" />
7583 </ItemGroup >
7684 <ItemGroup >
Original file line number Diff line number Diff line change 1919 <DebugSymbols >true</DebugSymbols >
2020 <DebugType >embedded</DebugType >
2121 <Optimize >false</Optimize >
22- <OutputPath >..\bin\</OutputPath >
22+ <OutputPath >..\bin\BepInEx\patchers\BepInEx.SplashScreen\ </OutputPath >
2323 <DefineConstants >DEBUG;TRACE</DefineConstants >
2424 <ErrorReport >prompt</ErrorReport >
2525 <WarningLevel >4</WarningLevel >
2626 </PropertyGroup >
2727 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
2828 <DebugType >embedded</DebugType >
2929 <Optimize >true</Optimize >
30- <OutputPath >..\bin\</OutputPath >
30+ <OutputPath >..\bin\BepInEx\patchers\BepInEx.SplashScreen\ </OutputPath >
3131 <DefineConstants >TRACE</DefineConstants >
3232 <ErrorReport >prompt</ErrorReport >
3333 <WarningLevel >4</WarningLevel >
Original file line number Diff line number Diff line change 1+ if ($PSScriptRoot -match ' .+?\\bin\\?' ) {
2+ $dir = $PSScriptRoot + " \"
3+ }
4+ else {
5+ $dir = $PSScriptRoot + " \bin\"
6+ }
7+
8+ $BIEdir = $dir + " BepInEx\"
9+
10+ $ver = " v" + (Get-ChildItem - Path ($BIEdir ) - Filter (" *.dll" ) - Recurse - Force)[0 ].VersionInfo.FileVersion.ToString() -replace " ([\d+\.]+?\d+)[\.0]*$" , ' ${1}'
11+
12+ Compress-Archive - Path ($BIEdir ) - Force - CompressionLevel " Optimal" - DestinationPath ($dir + " BepInEx.SplashScreen_" + $ver + " .zip" )
You can’t perform that action at this time.
0 commit comments