Skip to content

Commit d6a8322

Browse files
exclude alpine/public while backup (#1450)
1 parent 595c27c commit d6a8322

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/terminal/www/Terminal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const Terminal = {
127127
throw new Error(`Unsupported architecture: ${arch}`);
128128
}
129129

130-
130+
131131
logger("⬇️ Downloading sandbox filesystem...");
132132
await new Promise((resolve, reject) => {
133133
cordova.plugin.http.downloadFile(
@@ -278,7 +278,7 @@ const Terminal = {
278278
INCLUDE_FILES="$INCLUDE_FILES libtalloc.so.2 libproot-xed.so"
279279
fi
280280
281-
EXCLUDE="--exclude=alpine/data --exclude=alpine/system --exclude=alpine/vendor --exclude=alpine/sdcard --exclude=alpine/storage"
281+
EXCLUDE="--exclude=alpine/data --exclude=alpine/system --exclude=alpine/vendor --exclude=alpine/sdcard --exclude=alpine/storage --exclude=alpine/public"
282282
283283
tar -cf "$PREFIX/aterm_backup.tar" -C "$PREFIX" $EXCLUDE $INCLUDE_FILES
284284
echo "ok"
@@ -402,4 +402,4 @@ function readAsset(assetPath, callback) {
402402
}, console.error);
403403
}
404404

405-
module.exports = Terminal;
405+
module.exports = Terminal;

0 commit comments

Comments
 (0)