Show full SaveData.zip path in loader card

This commit is contained in:
Justin Oros
2026-09-21 20:49:33 -07:00
parent b9301879e7
commit 044f9779e0
3 changed files with 29 additions and 12 deletions
+1 -3
View File
@@ -10,7 +10,6 @@
loaderStatus: $("loaderStatus"),
browseBtn: $("browseBtn"),
fileInput: $("fileInput"),
savesPath: $("savesPath"),
copyPathBtn: $("copyPathBtn"),
search: $("search"),
category: $("category"),
@@ -345,11 +344,10 @@
}
function bind() {
els.savesPath.textContent = SAVES_PATH;
els.copyPathBtn.addEventListener("click", async () => {
try {
await navigator.clipboard.writeText(SAVES_PATH);
toast("Path copied. Paste it into the file dialog's address bar.");
toast("Saves folder path copied. Paste it into the file dialog's address bar, then open your SteamID and save folders.");
} catch {
toast("Couldn't copy. Select the path and copy it manually.", true);
}