Remove unnecessary scripts
This commit is contained in:
parent
6628b73911
commit
090397a59b
2 changed files with 0 additions and 36 deletions
|
@ -1,18 +0,0 @@
|
|||
#!/bin/bash
|
||||
ROOT=$1
|
||||
|
||||
if [[ "$1" == "" ]]; then
|
||||
echo "Usage: $(basename "$0") <signal-profile-path>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while true
|
||||
do
|
||||
echo -n "$(date -u +"%Y-%m-%dT%H:%M:%SZ ")"
|
||||
du -sm "$ROOT/attachments.noindex"
|
||||
|
||||
echo -n "$(date -u +"%Y-%m-%dT%H:%M:%SZ ")"
|
||||
du -sm "$ROOT/IndexedDB"
|
||||
|
||||
sleep 1
|
||||
done
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ "$BACKUP" == "" ]]; then
|
||||
echo "BACKUP environment variable is required"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$PROFILE" == "" ]]; then
|
||||
echo "PROFILE environment variable is required"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
backupPath="$HOME/Library/Application Support/Signal-$BACKUP"
|
||||
profilePath="$HOME/Library/Application Support/Signal-$PROFILE"
|
||||
|
||||
rm -rf "$profilePath" && \
|
||||
cp -R "$backupPath" "$profilePath" && \
|
||||
NODE_APP_INSTANCE="$PROFILE" yarn start
|
Loading…
Reference in a new issue