Remove unnecessary scripts

pull/27/head^2
Scott Nonnenberg 7 years ago
parent 6628b73911
commit 090397a59b

@ -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…
Cancel
Save