Skip to content

Commit

Permalink
fix: Mount script causes build to fail (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Dec 31, 2023
1 parent 3f96608 commit f3c78c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/services/root_api.dart
Expand Up @@ -145,9 +145,9 @@ class RootAPI {
final String mountScript = '''
#!/system/bin/sh
# Mount using Magisk mirror, if available.
MAGISKTMP="$( magisk --path )" || MAGISKTMP=/sbin
MIRROR="${'$'}MAGISKTMP/.magisk/mirror"
if [ ! -f ${'$'}MIRROR ]; then
MAGISKTMP="\$( magisk --path )" || MAGISKTMP=/sbin
MIRROR="\$MAGISKTMP/.magisk/mirror"
if [ ! -f \$MIRROR ]; then
MIRROR=""
fi
Expand Down

0 comments on commit f3c78c2

Please sign in to comment.