File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ const Terminal = {
382382 rm -rf -- "$item"
383383 done
384384
385- tar -xf "$PREFIX/aterm_backup.tar " -C "$PREFIX"
385+ tar -xf "$PREFIX/aterm_backup.* " -C "$PREFIX"
386386 echo "ok"
387387 ` ;
388388
Original file line number Diff line number Diff line change @@ -325,6 +325,9 @@ export default function terminalSettings() {
325325 */
326326 async function terminalRestore ( ) {
327327 try {
328+ await Executor . execute ( "rm -rf $PREFIX/aterm_backup.tar" ) ;
329+ await Executor . execute ( "rm -rf $PREFIX/aterm_backup.bin" ) ;
330+
328331 sdcard . openDocumentFile (
329332 async ( data ) => {
330333 loader . showTitleLoader ( ) ;
@@ -352,7 +355,7 @@ export default function terminalSettings() {
352355 ) ;
353356 } ,
354357 toast ,
355- "application/octet-stream " ,
358+ "application/x-tar " ,
356359 ) ;
357360 } catch ( error ) {
358361 loader . removeTitleLoader ( ) ;
You can’t perform that action at this time.
0 commit comments