Commit Graph
2 Commits
Author SHA1 Message Date
Claude 689dd74865 fix(portable): SharePoint and Teams libraries OneDrive syncs count as sync roots
A library synced with its Sync button lies beside the account's UserFolder
(%USERPROFILE%\<tenant>\<site> - <library>), so a portable copy unpacked
there kept .\data inside a synchronised folder. OneDriveFolders.SyncRoots
also reads HKCU\Software\SyncEngines\Providers\OneDrive\*\MountPoint, where
OneDrive registers every folder it syncs (the location Office reads), and
takes the registry root as a parameter for tests on a scratch key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 19:00:57 +00:00
Claude 815782a708 fix(app): a portable copy in a OneDrive folder keeps its index outside it
BRIEF §6.2 forbids a SQLite index in a synchronised folder. AppEnvironment.Detect now resolves the data folder
through Core.Windows' AppPaths and OneDriveFolders: a portable copy whose .\data would lie under a OneDrive sync
root (a OneDrive folder, or a Desktop or Documents folder backed up into one) keeps its data in
%LOCALAPPDATA%\Titano and stays portable otherwise; AppEnvironment.SyncedFolder names the OneDrive folder so the
user can be told. The pure choice lives in Core/IO/DataLocation (tested on Linux); reading the OneDrive accounts
key no longer fails start-up when it cannot be read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 16:02:33 +00:00