Update readme; update build to package server

This commit is contained in:
Tyfon
2024-05-28 11:15:01 -07:00
parent 5eb1d7850e
commit e5f18ec25d
3 changed files with 18 additions and 7 deletions

View File

@@ -13,12 +13,17 @@ Tarkov is full of annoyances but we can fix them! Sometimes.
- Allow found in raid money and ammo automatically stack with non-found-in-raid items (stops containers making extra stacks!)
- Option to synchronize stash scroll position everywhere your stash is visible
## Flea market ✨
-Filter history remembers previous searches and filters, and adds a new BACK button to return to the previous results.
-Auto-expand categories when there's space to do so
## Traders
-Autoswitch between buy and sell when you click trader items or control-click your own items
-Insure items directly from the context menu
- ✨ Autoselect quest items when turning in
## Flea market
- Filter history remembers previous searches and filters, and adds a new BACK button to return to the previous results.
- Auto-expand categories when there's space to do so
- ✨ Locked trader item tooltip reveals which specific quest will unlock it
- Option to keep the Add Offer window open after placing your offer
- Set prices in the Add Offer window by clicking the min/avg/max market prices
- Option to keep the Add Offer window open after placing your offer
- Set prices in the Add Offer window by clicking the min/avg/max market prices
## Doors
- Remove the unimplemented actions like "Bang & clear" that, lets face it, are never going to happen anyway.
@@ -39,7 +44,7 @@ Tarkov is full of annoyances but we can fix them! Sometimes.
- Auto-expand descriptions when possible (great for showing extra text from mods like Item Info)
## Hideout
- Remember search text when you leave hideout without closing (e.g. when searching for a recipe item on flea)
- Remember window state when you leave hideout without closing (e.g. when searching for a recipe item on flea)
## Mail
- Skips "You can return to this later" warnings when not transferring all items (optional, defaults ON)

View File

@@ -67,6 +67,6 @@
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(ConfigurationName) == Debug (&#xD;&#xA; xcopy /F /Y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)\$(PathToSPT)\BepInEx\plugins\&quot;&#xD;&#xA; xcopy /F /Y &quot;$(ProjectDir)$(OutDir)$(TargetName).pdb&quot; &quot;$(ProjectDir)\$(PathToSPT)\BepInEx\plugins\&quot;&#xD;&#xA;) &#xD;&#xA;if $(ConfigurationName) == Release (&#xD;&#xA; xcopy /F /Y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)\$(PathToSPT)\BepInEx\plugins\&quot;&#xD;&#xA;)&#xD;&#xA;if $(Configurationname) == Dist (&#xD;&#xA; mkdir &quot;$(ProjectDir)\dist\BepInEx\plugins&quot;&#xD;&#xA; xcopy /F /Y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)\dist\BepInEx\plugins\&quot;&#xD;&#xA; 7z a -t7z Tyfon-UIFixes-$(Version).7z $(ProjectDir)\dist\BepInEx&#xD;&#xA; move /Y Tyfon-UIFixes-$(Version).7z dist\&#xD;&#xA;)" />
<Exec Command="if $(ConfigurationName) == Debug (&#xD;&#xA; xcopy /F /Y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)\$(PathToSPT)\BepInEx\plugins\&quot;&#xD;&#xA; xcopy /F /Y &quot;$(ProjectDir)$(OutDir)$(TargetName).pdb&quot; &quot;$(ProjectDir)\$(PathToSPT)\BepInEx\plugins\&quot;&#xD;&#xA;) &#xD;&#xA;if $(ConfigurationName) == Release (&#xD;&#xA; xcopy /F /Y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)\$(PathToSPT)\BepInEx\plugins\&quot;&#xD;&#xA;)&#xD;&#xA;if $(Configurationname) == Dist (&#xD;&#xA; mkdir &quot;$(ProjectDir)\dist\BepInEx\plugins&quot;&#xD;&#xA; xcopy /F /Y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)\dist\BepInEx\plugins\&quot;&#xD;&#xA; 7z a -t7z Tyfon-UIFixes-$(Version).7z $(ProjectDir)\dist\BepInEx $(ProjectDir)\dist\user&#xD;&#xA; move /Y Tyfon-UIFixes-$(Version).7z dist\&#xD;&#xA;)" />
</Target>
</Project>

View File

@@ -121,6 +121,12 @@ async function main() {
await fs.copy(projectDir, sptModPath);
logger.log("success", `Files successfully copied to ${sptModPath}`);
// Copy output to parent dist folder
logger.log("info", "Copying output to SPT installation");
const parentDistPath = path.join(currentDir, "../dist/user/mods/", projectShortName);
await fs.copy(projectDir, parentDistPath);
logger.log("success", `Files successfully copied to ${parentDistPath}`);
// Create a zip archive of the project files.
logger.log("info", "Beginning folder compression...");
const zipFilePath = path.join(path.dirname(projectDir), `${projectName}.zip`);