mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-25 10:05:49 +08:00
补充km+shell
This commit is contained in:
@@ -1558,7 +1558,7 @@ public partial class ScriptControlViewModel : ViewModel
|
||||
|
||||
private List<FileInfo> LoadAllKmScripts()
|
||||
{
|
||||
var folder = Global.Absolute(@"User\KeyMouseScript");
|
||||
var folder = KeyMouseRecordPageViewModel.ScriptPath;
|
||||
// 获取所有脚本项目
|
||||
var files = Directory.GetFiles(folder, "*.*",
|
||||
SearchOption.AllDirectories);
|
||||
@@ -1742,7 +1742,7 @@ public partial class ScriptControlViewModel : ViewModel
|
||||
path = Path.Combine(Global.ScriptPath(), item.FolderName);
|
||||
break;
|
||||
case "KeyMouse":
|
||||
path = Global.Absolute(@"User\KeyMouseScript");
|
||||
path = KeyMouseRecordPageViewModel.ScriptPath;
|
||||
break;
|
||||
case "Pathing":
|
||||
path = Path.Combine(MapPathingViewModel.PathJsonPath, item.FolderName);
|
||||
|
||||
Reference in New Issue
Block a user