From 3fc2b3602f09675c67fc37f1f7f1a8536caf7116 Mon Sep 17 00:00:00 2001 From: Skyline300 Date: Sat, 9 Nov 2024 18:01:35 +0800 Subject: [PATCH] stuff --- src/main/scala/com/skyline/warlangmod/App.scala | 2 +- src/main/scala/com/skyline/warlangmod/Main.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/com/skyline/warlangmod/App.scala b/src/main/scala/com/skyline/warlangmod/App.scala index 2905edb..b252f90 100644 --- a/src/main/scala/com/skyline/warlangmod/App.scala +++ b/src/main/scala/com/skyline/warlangmod/App.scala @@ -1,7 +1,7 @@ package com.skyline.warlangmod object App { - def run(inputFileName: String, originalFile: String, outputFileName: String): Unit = { + def runOffline(inputFileName: String, originalFile: String, outputFileName: String): Unit = { val parsingService = ParsingService.instance val translationOverwrite = TranslationOverwriteService.instance diff --git a/src/main/scala/com/skyline/warlangmod/Main.scala b/src/main/scala/com/skyline/warlangmod/Main.scala index ca6bf2e..7440035 100644 --- a/src/main/scala/com/skyline/warlangmod/Main.scala +++ b/src/main/scala/com/skyline/warlangmod/Main.scala @@ -27,7 +27,7 @@ object Main extends CommandApp( help = s"The output file to be written to, defaults $defaultOutFile when not provided").withDefault(defaultOutFile) (inFile, originalFile, outFile).mapN { - (inputFileName, originalFileName, outputFileName) => App.run(inputFileName, originalFileName, outputFileName) + (inputFileName, originalFileName, outputFileName) => App.runOffline(inputFileName, originalFileName, outputFileName) } } ) \ No newline at end of file