This commit is contained in:
lollipopkit
2023-09-21 10:13:23 +08:00
parent e928a29353
commit 09576285c9
6 changed files with 33 additions and 29 deletions

View File

@@ -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