new: github actions
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user