Skip to content

fix: use new prisma cli in package.json#11

Merged
jamiepine merged 1 commit intospacedriveapp:mainfrom
Brendonovich:main
Apr 21, 2022
Merged

fix: use new prisma cli in package.json#11
jamiepine merged 1 commit intospacedriveapp:mainfrom
Brendonovich:main

Conversation

@Brendonovich
Copy link
Contributor

No description provided.

@jamiepine jamiepine merged commit cba6cc1 into spacedriveapp:main Apr 21, 2022
slvnlrt added a commit to slvnlrt/spacedrive that referenced this pull request Mar 15, 2026
Two places hardcoded Unix-only /tmp paths that break on Windows:

- file_transfer.rs: TransferSession::destination_path defaulted to "/tmp"
  which is not a valid path on Windows. Changed to std::env::temp_dir()
  converted to a String via to_string_lossy().

- file_sharing.rs: SharingOptions::default() used PathBuf::from("/tmp/spacedrive")
  as destination. Changed to std::env::temp_dir().join("spacedrive") which
  correctly resolves to %TEMP%\spacedrive on Windows and /tmp/spacedrive on Unix.

Fixes audit Issue spacedriveapp#11 from memory-bank/windows_audit_2026_03.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants