mirror of
https://github.com/SpeedBreakerProject/speedbreaker.git
synced 2026-10-28 11:02:03 +01:00
SpeedBreaker v0.1.9 Windows beta 1
Co-authored-by: rafidwayne <117944293+rafidwayne@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
57b0c69334
commit
61365bd067
99 files changed
+7457
-431
No files matched your search
@@ -2,6 +2,7 @@
|
||||
#include <stdafx.h>
|
||||
#include "paths.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
namespace
|
||||
{
|
||||
namespace fs = std::filesystem;
|
||||
@@ -35,10 +36,15 @@ namespace
|
||||
linkEc ? std::format("; no link at the old name ({})", linkEc.message()) : ", the old name now a link to it");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
std::string MigrateUserFolders()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return {}; // no nfsmw-recomp build ever ran on Windows: nothing to rename
|
||||
#else
|
||||
if (portable::Current().Active())
|
||||
return {}; // the home folder's data isn't SpeedBreaker's in portable mode: leave it as it is
|
||||
return MigrateFolder(UserDataBase(), DataFolderName()) + MigrateFolder(CacheBase(), CacheFolderName());
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user