Skip to content

Commit

Permalink
chore: 抽出maatouch默认包名
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Nov 28, 2023
1 parent 04a791c commit 2ec7e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/MaaAdbControlUnit/Input/MaatouchInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ MAA_CTRL_UNIT_NS_BEGIN

bool MaatouchInput::parse(const json::value& config)
{
package_name_ = config.get("prebuilt", "maatouch", "package", "com.shxyke.MaaTouch.App");
static const std::string kDefaultPackage = "com.shxyke.MaaTouch.App";
package_name_ = config.get("prebuilt", "maatouch", "package", kDefaultPackage);

return invoke_app_->parse(config);
}
Expand Down

0 comments on commit 2ec7e11

Please sign in to comment.