Revert "lunux client"

This reverts commit 8142887644.
This commit is contained in:
lzx
2026-01-29 10:45:20 +08:00
parent 8142887644
commit 7f86327a96
3 changed files with 83 additions and 107 deletions

View File

@@ -348,16 +348,6 @@ class ClientProvider with ChangeNotifier {
await _initialize();
}
/// 优雅关闭客户端(用于退出应用)
Future<void> shutdown() async {
_clientCore.stop();
await _miningManager.stopMining();
await _sustainMiner.stop();
_refreshTimer?.cancel();
_refreshTimer = null;
}
/// 获取支持的挖矿软件列表(辅助方法)
List<String> _getMiningSofts(MiningConfig? miningConfig) {
final miningSofts = <String>[];