ridgekuhn / arklone-arkos

rclone cloud syncing utility for ArkOS
GNU General Public License v3.0
18 stars 1 forks source link

Wrong filename for ArkOS Backup Settings on RGB10 #1

Closed huguesmp closed 2 years ago

huguesmp commented 3 years ago

First of all, amazing idea! It works really well.

On my RGB10, I noticed the manual backup/sync of ArkOS Settings fails because the script name is different than on RG351 devices (Backup Settings.sh vs Backup ArkOS Settings.sh).

Here is the log:

======================================================
Started new cloud sync at Sun 06 Jun 2021 01:15:06 PM EDT
------------------------------------------------------
Backing up your ArkOS settings...
bash: /opt/system/Advanced/Backup Settings.sh: No such file or directory

Could not create backup file! Exiting...

Here is what I get on RGB10 via SSH:

ark@rgb10:/opt/system/Advanced$ ls -l
total 48
-rwxrwxrwx 1 ark  ark  1417 Dec 16 00:35 'Backup ArkOS Settings.sh'
-rwxrwxrwx 1 ark  ark   975 May 20 23:03 'Clear Last Played Collection.sh'
-rwxr-xr-x 1 ark  ark   382 May  1 16:12 'Disable Low Battery Warning.sh'
-rwxr-xr-x 1 root root  380 May  1 15:47 'enable low battery warning.sh'
-rwxrwxrwx 1 ark  ark   194 Feb 25 01:16 'ES FullScreen.sh'
-rwxrwxrwx 1 ark  ark   191 Feb 25 01:16 'ES Header.sh'
-rwxrwxrwx 1 ark  ark   122 Nov 11  2020 'Fix ExFat Partition.sh'
-rwxrwxrwx 1 ark  ark   829 Feb  2 03:11 'Reset Retroarch32 Core Settings.sh'
-rwxrwxrwx 1 ark  ark   739 Apr 22 23:33 'Reset Retroarch32 Settings.sh'
-rwxrwxrwx 1 ark  ark   824 Feb  2 03:11 'Reset Retroarch Core Settings.sh'
-rwxrwxrwx 1 ark  ark   734 Apr 22 23:32 'Reset Retroarch Settings.sh'
-rwxrwxrwx 1 ark  ark   753 Nov 29  2020 'Restore ArkOS Settings.sh'
ridgekuhn commented 3 years ago

Hmm. I'm not sure how to proceed with this; I only have an RG351P, so it's impossible for me to test on anything else, but on the other hand, that's the one handheld Christian isn't supporting anymore. (I assume this change probably applies to all the various device distros upstream?)

In the meantime, if you want to change it on your own device, it's called from /opt/arklone/rclone/scripts/arklone-arkos.sh