From 3565c894a0d56214b22ac8b5138943947260c1b4 Mon Sep 17 00:00:00 2001 From: KizKizz Date: Sun, 1 Sep 2024 21:09:39 -0700 Subject: [PATCH] prep --- app_version_check/app_version.json | 4 +--- lib/itemsSwapper/items_swapper_la_homepage.dart | 2 +- lib/itemsSwapper/items_swapper_wp_homepage.dart | 5 +++-- windows/runner/Runner.rc | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app_version_check/app_version.json b/app_version_check/app_version.json index f381af3..e1b21ee 100644 --- a/app_version_check/app_version.json +++ b/app_version_check/app_version.json @@ -1,10 +1,8 @@ { "name": "PSO2NGS Mod Manager", - "version": "2.8.18", + "version": "2.8.19", "description": [ - "Removed Gameguard anticheat option when launching PSO2 with Mod Manager (JP version only)", "More bug fixes", - "PSO2をMODマネージャーで起動する際、Gameguardのアンチヒートオプションを削除(JP版のみ)", "その他のバグ修正" ], "windows_file": "", diff --git a/lib/itemsSwapper/items_swapper_la_homepage.dart b/lib/itemsSwapper/items_swapper_la_homepage.dart index 1454aa0..95e7920 100644 --- a/lib/itemsSwapper/items_swapper_la_homepage.dart +++ b/lib/itemsSwapper/items_swapper_la_homepage.dart @@ -570,7 +570,7 @@ class _ItemsSwapperEmotesHomePageState extends State height: 92, child: ListTile( minVerticalPadding: 15, - title: Text(curLangText!.uiChooseAnItemBellowToSwap), + title: Text(curLangText!.uiSelectAnItemToBeReplaced), subtitle: Padding( padding: const EdgeInsets.only(top: 10), child: SizedBox( diff --git a/lib/itemsSwapper/items_swapper_wp_homepage.dart b/lib/itemsSwapper/items_swapper_wp_homepage.dart index e9b91f0..4d0a762 100644 --- a/lib/itemsSwapper/items_swapper_wp_homepage.dart +++ b/lib/itemsSwapper/items_swapper_wp_homepage.dart @@ -550,7 +550,7 @@ class _ItemsSwapperWeaponHomePageState extends State height: 92, child: ListTile( minVerticalPadding: 15, - title: Text(curLangText!.uiChooseAnItemBellowToSwap), + title: Text(curLangText!.uiSelectAnItemToBeReplaced), subtitle: Padding( padding: const EdgeInsets.only(top: 10), child: SizedBox( @@ -1394,11 +1394,12 @@ Future modsSwapperWpSwap(context, SubMod fromSubmod, String fromItemAvai Directory(modManSwapperFromItemDirPath).createSync(recursive: true); Directory(modManSwapperToItemDirPath).createSync(recursive: true); Directory(modManSwapperOutputDirPath).createSync(recursive: true); + toItemName = toItemName.replaceAll(RegExp(charToReplace), '_').trim(); String renamedItemPath = Uri.file('$modManSwapperOutputDirPath/$toItemName').toFilePath(); for (var modFile in fromSubmod.modFiles) { File curFile = File(modFile.location); if (fromItemAvailableIce == modFile.modFileName && curFile.existsSync()) { - toItemName = toItemName.replaceAll(RegExp(charToReplace), '_').trim(); + // toItemName = toItemName.replaceAll(RegExp(charToReplace), '_').trim(); String packDirPath = ''; if (fromSubmod.modName == fromSubmod.submodName) { packDirPath = Uri.file('$modManSwapperOutputDirPath/$toItemName/${fromSubmod.modName.replaceAll(RegExp(charToReplace), '_')}').toFilePath(); diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc index 2ba1b11..1324c64 100644 --- a/windows/runner/Runner.rc +++ b/windows/runner/Runner.rc @@ -63,13 +63,13 @@ IDI_APP_ICON ICON "resources\\app_icon.ico" #ifdef FLUTTER_BUILD_NUMBER #define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER #else -#define VERSION_AS_NUMBER 2,8,18 +#define VERSION_AS_NUMBER 2,8,19 #endif #ifdef FLUTTER_BUILD_NAME #define VERSION_AS_STRING #FLUTTER_BUILD_NAME #else -#define VERSION_AS_STRING "2.8.18" +#define VERSION_AS_STRING "2.8.19" #endif VS_VERSION_INFO VERSIONINFO