0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
Arthur Milchior
613f6597c8 ensure scripts prints escaped character
On my desktop, running `./tools/storage/set_scopde_storage.sh` led to

> Alienware% ./tools/storage/set_scoped_storage.sh
> First argument missing.
> \nPossible arguments:
> limited\t\tEquivalent to a fresh install. /AnkiDroid/ is inaccessible
> full\t\tEquivalent to an upgrade from targetSdkVersion 29 to 30. /AnkiDroid/ is accessible\n

Adding `-e` ensures the characters are printed as expected.
2023-04-15 14:38:14 -03:00
Arthur Milchior
6ce32a5a50 Use shebang in set_scoped_storage
Otherwise, bash is not used. Instead, I get
> ./tools/storage/set_scoped_storage.sh: 5: Syntax error: "(" unexpected

because `function` is not basic shell I guess.
2023-04-15 14:37:22 -03:00
David Allison
ec78dee928 add tool: enable/disable scoped storage
A script to enable/disable scoped storage without the need to
uninstall/upgrade from `targetSdkVersion 29`

Makes testing of the disable/enable routine quicker

Issue #5304
2023-03-05 15:16:57 -05:00