Skip to content

Find a save folder on another drive letter; a drive this PC lacks is no warning - #24

Open
ChakraFusion wants to merge 1 commit into
Liquid-co:mainfrom
ChakraFusion:pr/save-on-other-drive
Open

ChakraFusion wants to merge 1 commit into
Liquid-co:mainfrom
ChakraFusion:pr/save-on-other-drive

Conversation

@ChakraFusion

Copy link
Copy Markdown

Part of #21.

Why

A save inside a game's install folder (most often a Steam library) is on whichever drive that library is on, and that differs between PCs: D: on one, E: on another. A game tracked on one PC arrives on the other with the first PC's drive letter. There it shows as "missing" with a warning, even though the folder is right there on another drive.

What

  • Relocation: a missing save folder is looked for at the identical path on every other drive letter.
    • Exactly one match is adopted for this device and logged.
    • No match, or several, is logged once.
    • The search runs at most once an hour per game.
  • No false warning: a save folder on a drive this PC doesn't have at all is shown as "Not on this device" (muted). It stays out of the warning headline and the notification bell. A folder gone from a drive that does exist is still a warning.

Tests

  • relocate_test.go and missing_test.go: a save recorded on an unmounted drive letter is found at the same path on the drive it really is on, and not warned about. These tests skip on non-Windows systems.
  • gamestatus.test.js and notifications.test.js.
  • CI on the fork (all jobs green): https://github.com/ChakraFusion/OpenSave/actions/runs/37163184185

🤖 Generated with Claude Code

…no warning

- A missing save folder is looked for at the identical path on every
  other drive letter (a Steam library on D: on one PC and E: on another).
  Exactly one match is adopted for this device and logged; none or
  several are logged once. Searched at most once an hour.
- A save folder on a drive this device does not have is shown as "Not
  on this device" (muted) instead of a warning, kept out of the warning
  headline and the notification bell. A folder gone from a drive that
  exists is still a warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 4, 2026

Copy link
Copy Markdown

@ChakraFusion is attempting to deploy a commit to the sivadaboi's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant