new: github actions

This commit is contained in:
lollipopkit
2024-05-25 19:29:18 +08:00
parent ee5f4d10ea
commit ccab4040b1
12 changed files with 138 additions and 336 deletions

View File

@@ -1,10 +1,10 @@
// This file is generated by ./make.dart
// This file is generated by make script. Do not edit.
class BuildData {
static const String name = "ServerBox";
static const int build = 912;
static const String engine = "3.22.0";
static const String buildAt = "2024-05-24 16:29:39";
static const int modifications = 3;
static const int build = 918;
static const String engine = "3.22.1";
static const String buildAt = "2024-05-25 19:17:18";
static const int modifications = 2;
static const int script = 48;
}

View File

@@ -72,5 +72,6 @@ abstract final class GithubIds {
'pgs666',
'FHU-yezi',
'ZRY233',
'Jasonzhu1207',
};
}

View File

@@ -70,8 +70,8 @@ class BackupPage extends StatelessWidget {
/// Issue #188
switch (Pfs.type) {
case Pfs.windows:
final backslashPath = path.replaceAll('/', '\\');
await Process.run('explorer', ['/select,$backslashPath']);
final backslashPath = path.replaceAll('/', '\\');
await Process.run('explorer', ['/select,$backslashPath']);
case Pfs.linux:
await Process.run('xdg-open', [path]);
default:

View File

@@ -25,7 +25,9 @@ final class _AppBar extends CustomAppBar {
return ValBuilder(
listenable: selectIndex,
builder: (idx) {
if (idx == AppTab.ssh.index && !isWindows && !isLinux) return placeholder;
if (idx == AppTab.ssh.index && !isWindows && !isLinux) {
return placeholder;
}
return super.build(context);
},
);