Onion-Desktop-Tools
Onion-Desktop-Tools copied to clipboard
Issue with Stock SD card migrate option
Was working on making a YouTube video for this tool but ran into an issue with the Migrate option.
When trying the option to "Migrate stock SD card to a new SD card with Onion" It will not let me do the backup of the SD card. I get this instead
This is the info from the console.
Selected option in 'Install or Update Onion': System.Windows.Forms.RadioButton, Checked: True.text
C:\Onion-Desktop-Tools-0.0.9
Title: Select stock SD card
Drive Number: 7
Drive Size: 58.9GiB
Drive Description: Generic STORAGE DEVICE
Drive Letter: K
--------------------------
Disk Number: 7
Disk Letter: K
Disk Number: 7
Disk Letter: K
Selected Tag: 7,K
-Drive_Number:\miyoo\app\.tmp_update\onion.pak
--- (unknown version)
Local backup folder : C:\Onion-Desktop-Tools-0.0.9\backups\2024-03-25 11.56.15__(unknown version)
**************************************=-=-=-= C:\Onion-Desktop-Tools-0.0.9\backups\2024-03-25 11.56.15__(unknown version)
Form result : OK
Join-Path : Cannot find drive. A drive with the name '-Drive_Number' does not exist.
At C:\Onion-Desktop-Tools-0.0.9\Onion_Save_Backup.ps1:284 char:23
+ ... $RomsSource = Join-Path -Path ${Drive_Letter}:\ -ChildPath 'Roms'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-Drive_Number:String) [Join-Path], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.JoinPathCommand
Looks like It is trying to use "-Drive_Number" instead of the actual driver number. I tried another stock SD card same issue. When trying to just use the backup tool and not the migrate tool it lets me back up without issue.