diff --git a/source/ACT.Hojoring.Common/split.ps1 b/source/ACT.Hojoring.Common/split.ps1 index 6d7bf3af..69fd2a61 100644 --- a/source/ACT.Hojoring.Common/split.ps1 +++ b/source/ACT.Hojoring.Common/split.ps1 @@ -15,8 +15,8 @@ try { if ($line -match "00:0039::戦闘開始!") { $copying = $true - $fileName = $inputFile.Substring(10, 10) + "_" + $line.Substring(1, 2) + $line.Substring(4, 2) + $line.Substring(7, 2) + ".log" - $outputFile = ".\" + $fileName + $fileName = $inputFile.Substring(0, $inputFile.Length-4) + "." + $line.Substring(1, 2) + $line.Substring(4, 2) + $line.Substring(7, 2) + ".log" + $outputFile = $fileName Write-Host $outputFile Write-Host $line diff --git a/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml.cs b/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml.cs index 5ae8b35f..9133ecf3 100644 --- a/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml.cs +++ b/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml.cs @@ -212,7 +212,7 @@ private async void LoadTimelineModels() this.reloadTimelineFolderCommand ?? (this.reloadTimelineFolderCommand = new DelegateCommand(() => this.LoadTimelineModels())); - private static readonly string SplitScriptUrl = "https://raw.githubusercontent.com/anoyetta/ACT.Hojoring/master/source/ACT.Hojoring.Common/resources/split.ps1"; + private static readonly string SplitScriptUrl = "https://raw.githubusercontent.com/anoyetta/ACT.Hojoring/master/source/ACT.Hojoring.Common/split.ps1"; private ICommand splitParsedLogCommand; public ICommand SplitParsedLogCommand =>