opt.: android only arm64 & ssh tab page

This commit is contained in:
lollipopkit
2023-12-02 00:21:07 +08:00
parent 90403b655b
commit fc0c9b3a49
14 changed files with 55 additions and 54 deletions

View File

@@ -33,8 +33,7 @@ enum ShellFunc {
/// Issue #168
/// Use `sh` for compatibility
static final installShellCmd =
"""
static final installShellCmd = """
mkdir -p $_homeVar/$_srvBoxDir
cat << 'EOF' > $_installShellPath
${ShellFunc.allScript}
@@ -135,8 +134,7 @@ fi''';
static final String allScript = () {
final sb = StringBuffer();
sb.write(
'''
sb.write('''
#!/bin/sh
# Script for ServerBox app v1.0.${BuildData.build}
# DO NOT delete this file while app is running
@@ -155,8 +153,7 @@ userId=\$(id -u)
''');
// Write each func
for (final func in values) {
sb.write(
'''
sb.write('''
${func.name}() {
${func._cmd.split('\n').map((e) => '\t$e').join('\n')}
}

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 649;
static const int build = 653;
static const String engine = "3.16.0";
static const String buildAt = "2023-11-23 22:29:30";
static const int modifications = 11;
static const int script = 29;
static const String buildAt = "2023-11-27 19:18:56";
static const int modifications = 3;
static const int script = 30;
}

View File

@@ -226,7 +226,7 @@ class SettingStore extends PersistentStore {
/// Server func btns display name
late final serverFuncBtnsDisplayName =
StoreProperty(box, 'serverFuncBtnsDisplayName', true);
StoreProperty(box, 'serverFuncBtnsDisplayName', false);
// Never show these settings for users
//