Skip to content

Commit

Permalink
[*]
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Dec 26, 2023
1 parent da15daa commit 2d1dcd2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ jobs:
- name: Pack DEB Installer
run: |-
flutter_distributor package --platform linux --target deb
echo "Coming"
#flutter_distributor package --platform linux --target deb
- name: Upload Dist Artifact
uses: actions/upload-artifact@v4
Expand Down
24 changes: 12 additions & 12 deletions lib/ui/model/ProcessListDialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ class ProcessListDialogX {
final ConsoleController c_c = Get.find();

Widget build() {
return SimpleDialog(
title: const Text('Frpc进程列表'),
children: <Widget>[
DataTable(
columns: [
DataColumn(label: Text('进程PID')),
DataColumn(label: Text('隧道ID')),
DataColumn(label: Text('操作')),
return Obx(() => SimpleDialog(
title: const Text('Frpc进程列表'),
children: <Widget>[
DataTable(
columns: <DataColumn>[
DataColumn(label: Text('进程PID')),
DataColumn(label: Text('隧道ID')),
DataColumn(label: Text('操作')),
],
rows: c_c.widgets,
),
],
rows: c_c.widgets,
),
],
);
));
}
}
3 changes: 1 addition & 2 deletions lib/ui/panel/console.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ class PanelConsole extends StatelessWidget {
showDialog(
context: context,
builder: (x) {
return Obx(() =>
ProcessListDialogX(context: context).build());
return ProcessListDialogX(context: context).build();
});
},
child: Text('查看进程列表'),
Expand Down

0 comments on commit 2d1dcd2

Please sign in to comment.