Move Copy Path next to save file label with copy icon

This commit is contained in:
Justin Oros
2026-09-21 21:12:10 -07:00
parent b667da52f7
commit 325965aa56
2 changed files with 24 additions and 2 deletions
+3 -2
View File
@@ -29,10 +29,11 @@
<input type="file" id="fileInput" accept=".zip,.json" hidden>
</div>
<div class="path-hint">
<span class="path-label">Your save file is here</span>
<span class="path-label">Your save file is here
<button type="button" class="btn-link copy-btn" id="copyPathBtn"><svg viewBox="0 0 16 16" width="13" height="13" aria-hidden="true"><rect x="5" y="5" width="9" height="9" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M11 5V3.5A1.5 1.5 0 0 0 9.5 2h-6A1.5 1.5 0 0 0 2 3.5v6A1.5 1.5 0 0 0 3.5 11H5" fill="none" stroke="currentColor" stroke-width="1.5"/></svg><span>Copy Path</span></button>
</span>
<code class="path"><span>%USERPROFILE%\AppData\LocalLow\Endnight\SonsOfTheForest\Saves\</span><var>SteamID</var><span>\SinglePlayer\</span><var>SaveID</var><span>\SaveData.zip</span></code>
<p class="path-note"><var>SteamID</var> is the long number folder. <var>SaveID</var> is one folder per save; sort by date modified to find your latest. Hosted co-op saves are under Multiplayer instead of SinglePlayer.</p>
<button type="button" class="btn-link" id="copyPathBtn">Copy Saves folder path</button>
</div>
</section>