Skip to content

Commit

Permalink
Merge pull request #417 from wbonbon/master
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
wbonbon authored Aug 18, 2024
2 parents 3b2850b + 2194c08 commit 67a8bd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/ACT.Hojoring.Common/split.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand Down

0 comments on commit 67a8bd4

Please sign in to comment.