mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
进入系统改为自动进入用户文件夹
This commit is contained in:
@@ -14,6 +14,18 @@ namespace CMLeonOS
|
||||
currentDirectory = @"0:\";
|
||||
}
|
||||
|
||||
public FileSystem(string initialPath)
|
||||
{
|
||||
if (string.IsNullOrEmpty(initialPath))
|
||||
{
|
||||
currentDirectory = @"0:\";
|
||||
}
|
||||
else
|
||||
{
|
||||
currentDirectory = initialPath;
|
||||
}
|
||||
}
|
||||
|
||||
public string CurrentDirectory
|
||||
{
|
||||
get { return currentDirectory; }
|
||||
|
||||
Reference in New Issue
Block a user