初步实现功能

This commit is contained in:
shell committed 2026-07-30 03:08:08 +08:00
1 parent f23c6a3fbb
commit f0b6efb126
15 files changed
+783 -708

No files matched your search

-7
View File
@@ -1,6 +1,5 @@
#include <winfsp/winfsp.h>
#include "seafile/fs/seafile_store.hpp"
#include "seafile/fs/winfsp_adapter.hpp"
using namespace seafile::fs;
@@ -11,12 +10,6 @@ auto wmain(int argc, wchar_t** argv) -> int
return ERROR_DELAY_LOAD_FAILED;
FspDebugLogSetHandle(GetStdHandle(STD_ERROR_HANDLE));
SeafileStore store{SeafileStore::storePath().string(),"https://pan.hanwangsoft.com","asypost@yeah.net","Shell0805@china"};
const auto result = store.init();
if (!result)
{
std::wcout << result.error().what() << std::endl;
}
return FspServiceRun(const_cast<PWSTR>(L"SeaDisk"), WinFSPAdapter::SvcStart, WinFSPAdapter::SvcStop, nullptr);
}