Skip to content

Commit

Permalink
Merge pull request #208 from Muska-Ami/dev
Browse files Browse the repository at this point in the history
Do not out dotenv file not found logs
  • Loading branch information
Muska-Ami authored Oct 3, 2024
2 parents 2a017ad + b6e732b commit 52a70e3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions RELEASE_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@
- 修复一个错误的启动逻辑
- 优化下载返回

[//]: # (### 其他)
### 其他

#### NyaLCF Env

- 禁止输出未找到 `.env` 文件的日志

## 版本信息

- nyalcf_gui: 0.2.3
- nyalcf_cli: 0.0.3
- nyalcf_env: 1.0.0
- nyalcf_env: 1.0.1
- nyalcf_core,nyalcf_inject: 1.2.2

<!-- Some change log here -->
2 changes: 1 addition & 1 deletion nyalcf_env/lib/src/gui.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Package imports:
import 'package:dotenv/dotenv.dart';

final _env = DotEnv(includePlatformEnvironment: true)..load();
final _env = DotEnv(includePlatformEnvironment: true, quiet: true)..load();

bool? ENV_GUI_DISABLE_AUTO_UPDATE_CHECK = bool.tryParse(
_env['NYA_LCF_GUI_DISABLE_AUTO_UPDATE_CHECK'] ?? '',
Expand Down
2 changes: 1 addition & 1 deletion nyalcf_env/lib/src/universal.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Package imports:
import 'package:dotenv/dotenv.dart';

final _env = DotEnv(includePlatformEnvironment: true)..load();
final _env = DotEnv(includePlatformEnvironment: true, quiet: true)..load();

String? ENV_UNIVERSAL_FRPC_PATH = _env['NYA_LCF_FRPC_PATH'];
String? ENV_UNIVERSAL_FRPC_DOWNLOAD_MIRROR_URL =
Expand Down
2 changes: 1 addition & 1 deletion nyalcf_env/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nyalcf_env
description: "Nya LoCyanFrp! env module."
version: 1.0.0
version: 1.0.1
homepage: https://nyalcf.1l1.icu
publish_to: 'none'

Expand Down

0 comments on commit 52a70e3

Please sign in to comment.