From 6038bb31f784290a531b0a23c518ea5a66db2b61 Mon Sep 17 00:00:00 2001 From: bonbon Date: Mon, 19 Aug 2024 02:08:32 +0900 Subject: [PATCH 1/2] bug fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit URLを間違えた… --- .../Config/Views/TimelineManagerView.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => From 2194c08da9b5825d4c8757b38582bbc8ea726281 Mon Sep 17 00:00:00 2001 From: bonbon Date: Mon, 19 Aug 2024 02:19:47 +0900 Subject: [PATCH 2/2] bug fix --- source/ACT.Hojoring.Common/split.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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