modify build security
This commit is contained in:
parent
cdfc39b75e
commit
70ef783018
1 changed files with 4 additions and 4 deletions
|
|
@ -1,14 +1,14 @@
|
|||
import 'dart:async';
|
||||
|
||||
import 'package:dart_framework/utils/system_util.dart';
|
||||
import 'package:oto_cli/oto/commands/build/build_dart.dart';
|
||||
import 'package:oto_cli/oto/commands/command.dart';
|
||||
import 'package:oto_cli/oto/data/command_data.dart';
|
||||
|
||||
class BuildSecurity extends BuildDart {
|
||||
class BuildSecurity extends Command {
|
||||
@override
|
||||
Future<StringBuffer> appendShell(
|
||||
StringBuffer shell, DataCommand command) async {
|
||||
Future execute(DataCommand command) async {
|
||||
var data = DataBuildSecurity.fromJson(command.param);
|
||||
var shell = StringBuffer();
|
||||
shell.write('security unlock-keychain -p${data.macPassword}');
|
||||
return dataFutrue(shell);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue