mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
new & opt.
- new: support suspend and WOL #172 - opt.: `execWithPwd` when cancel - opt.: extentions
This commit is contained in:
@@ -31,12 +31,13 @@ class SnippetProvider extends ChangeNotifier {
|
||||
}
|
||||
|
||||
void _addInternal() {
|
||||
if (!Stores.setting.fTISBM.fetch() || _snippets.isNotEmpty) {
|
||||
if (!Stores.first.iSSBM.fetch() ||
|
||||
_snippets.any((e) => e.name == installSBM.name)) {
|
||||
return;
|
||||
}
|
||||
_snippets.add(installSBM);
|
||||
Stores.snippet.put(installSBM);
|
||||
Stores.setting.fTISBM.put(false);
|
||||
Stores.first.iSSBM.put(false);
|
||||
}
|
||||
|
||||
void _updateTags() {
|
||||
|
||||
Reference in New Issue
Block a user