diff --git a/assets/translations/zh_CN.ts b/assets/translations/zh_CN.ts index 3ff4cf386..de34004cf 100644 --- a/assets/translations/zh_CN.ts +++ b/assets/translations/zh_CN.ts @@ -5945,7 +5945,7 @@ not exists support files: %0 Keyboard Mapping Scheme (*.kms) - 键盘映射方案 + 键盘映射方案 (*.kms) diff --git a/src/common/util/environment.cpp b/src/common/util/environment.cpp index 9f836bb33..85608bf1b 100644 --- a/src/common/util/environment.cpp +++ b/src/common/util/environment.cpp @@ -74,7 +74,7 @@ Program search(Category category, Kit kit, const Version &version) program + QString::number(executeVersion.major.value()); } - if (executeVersion.major.has_value() && executeVersion.minor.has_value()) + if (executeVersion.major.has_value() && executeVersion.minor.has_value()) { ret.pkgsPath = QDir::homePath() + QDir::separator() + ".local" + QDir::separator() + "lib" + QDir::separator() @@ -83,6 +83,8 @@ Program search(Category category, Kit kit, const Version &version) + QString::number(executeVersion.minor.value()) + QDir::separator() + "site-packages"; + ret.binsPath = QDir::homePath() + "/.local/bin"; + } } } }