mirror of
https://gitea.tendokyu.moe/moegrid/sega-mount.git
synced 2026-09-30 02:27:56 +03:00
更改默认config.ini和overlay.vhd路径
This commit is contained in:
+2
-4
@@ -104,8 +104,7 @@ namespace icf_mount {
|
||||
// overlay.vhd已存在 → 直接挂载(数据已在里面,无需重新拷贝)
|
||||
if (all_ok && !app_entries.empty()) {
|
||||
auto *last = app_entries.back();
|
||||
std::wstring exe_dir = utils::get_exe_dir();
|
||||
std::wstring overlay_vhd = std::format(L"{}\\overlay.vhd", exe_dir);
|
||||
std::wstring overlay_vhd = std::format(L"{}\\overlay.vhd", utils::get_cwd());
|
||||
std::wstring last_tag = std::format(L"APP_{}", last->part_index);
|
||||
std::wstring parent_for_create = std::format(L"\\\\?\\FscryptDisk_{}\\internal_{}.vhd", last_tag,
|
||||
last->part_index);
|
||||
@@ -318,8 +317,7 @@ namespace icf_mount {
|
||||
}
|
||||
|
||||
// 3) overlay.vhd:移除盘符 + detach(保留文件供下次沿用)
|
||||
std::wstring exe_dir = utils::get_exe_dir();
|
||||
std::wstring overlay_vhd = std::format(L"{}\\overlay.vhd", exe_dir);
|
||||
std::wstring overlay_vhd = std::format(L"{}\\overlay.vhd", utils::get_cwd());
|
||||
{
|
||||
char drive = static_cast<char>(cfg.mount_letter);
|
||||
std::wstring mount_point = std::format(L"{}:\\", cfg.mount_letter);
|
||||
|
||||
Reference in New Issue
Block a user