mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
fix: 修复资源更新器
This commit is contained in:
31
tools/ResourceUpdater/ResourceUpdater.sln
Normal file
31
tools/ResourceUpdater/ResourceUpdater.sln
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.33530.505
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResourceUpdater", "ResourceUpdater.vcxproj", "{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
Debug|x64 = Debug|x64
|
||||
Release|ARM64 = Release|ARM64
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Debug|x64.Build.0 = Debug|x64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Release|x64.ActiveCfg = Release|x64
|
||||
{C9EA2837-0A4B-488F-A289-643B9D0BFCEB}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {EE6B1D07-0BBE-4694-A199-3AFE98F2F1F4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -181,7 +181,9 @@ int main([[maybe_unused]] int argc, char** argv)
|
||||
return -1;
|
||||
}
|
||||
auto zhtw_gamedata_dir = game_data_dir / "zh_TW" / "gamedata";
|
||||
std::filesystem::remove_all(zhtw_gamedata_dir);
|
||||
if (std::filesystem::exists(zhtw_gamedata_dir)) {
|
||||
std::filesystem::remove_all(zhtw_gamedata_dir);
|
||||
}
|
||||
std::filesystem::rename(cur_path / "data" / "gamedata", zhtw_gamedata_dir);
|
||||
|
||||
/* Update recruitment data from ArknightsGameData*/
|
||||
|
||||
Reference in New Issue
Block a user