Comments (3)
Could you please try going to the functions
directory in the project files, editing the cecho
function in helper.sh
so it calls tput sgr0
instead of tput init
and running the script again? This patch could fix the problem. Let me know if it helped so I can update the code in the repo.
open-android-backup/functions/helper.sh
Lines 13 to 20 in 7237267
from open-android-backup.
I applied
diff --git a/functions/helper.sh b/functions/helper.sh
index c39436b..07a0d7c 100644
--- a/functions/helper.sh
+++ b/functions/helper.sh
@@ -13,7 +13,7 @@ function wait_for_enter() {
# "cecho" makes output messages yellow, if possible
function cecho() {
if tty -s; then
- echo "$(tput setaf 11)$1$(tput init)"
+ echo "$(tput setaf 11)$1$(tput sgr0)"
else
echo "$1"
fi
and it doesn't help.
from open-android-backup.
I have to correct myself – I was fooled by #67. It works, thanks 🙂
from open-android-backup.
Related Issues (20)
- What is READ_PHONE_STATE needed for? HOT 2
- Error to import data HOT 5
- Restoring backup fails HOT 4
- SMS_Messages.csv not received on Fairphone 4 HOT 1
- no timeout defined - if an app will be restored. HOT 1
- backup-windows.ps1 script does not work when CWD of calling PowerShell is different to script directory
- open-android-backup-companion.apk Problem HOT 4
- Can't choose backup directory HOT 3
- [Feature request] Download adb for Windows at runtime
- Not working as is expected - Nothing is getting backed up HOT 2
- "ERROR: CreateProcessParseCommon:711: Failed to translate D:\Documents\Android" At every steps of the scripts. No mention of this on readme, docs or anywhere HOT 1
- Couldn't find hooks.sh, HOT 1
- Errors while running. HOT 2
- Combine open-android-backup with Neo Backup
- Restore on another device possible? HOT 2
- Using on macos getting the following error HOT 6
- Probably messed up with my backup HOT 3
- Syntax error HOT 2
- On MacOS, restoring fails HOT 3
- failed to install open-android-backup-companion.apk HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-android-backup.