mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
#168 fix
This commit is contained in:
@@ -231,9 +231,11 @@ userId=\$(id -u)
|
||||
${AppShellFuncType.shellScript}
|
||||
""";
|
||||
|
||||
/// Issue #168
|
||||
/// Use `sh` for compatibility
|
||||
final installShellCmd = """
|
||||
mkdir -p $_serverBoxDir
|
||||
cat << 'EOF' > $_shellPath
|
||||
sh -c cat << 'EOF' > $_shellPath
|
||||
$_shellCmd
|
||||
EOF
|
||||
chmod +x $_shellPath
|
||||
|
||||
Reference in New Issue
Block a user