mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: pve cert ignore (#317)
This commit is contained in:
@@ -263,6 +263,10 @@ Future<void> changeAppleVersion() async {
|
||||
}
|
||||
|
||||
Future<void> killJava() async {
|
||||
/// Due to the high cost of Mac memory,
|
||||
/// terminate Java processes to free up memory.
|
||||
/// :)
|
||||
if (!Platform.isMacOS) return;
|
||||
final result = await Process.run('ps', ['-A']);
|
||||
final lines = (result.stdout as String).split('\n');
|
||||
for (final line in lines) {
|
||||
|
||||
Reference in New Issue
Block a user