Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Ability to load snapshot? #202

Open
BrianVallelunga opened this issue Nov 17, 2020 · 1 comment
Open

Ability to load snapshot? #202

BrianVallelunga opened this issue Nov 17, 2020 · 1 comment

Comments

@BrianVallelunga
Copy link

I was hoping I could use ExecuteRemoteCommand to run the following "emu avd snapshot load MySnapshot" but ExecuteRemoteCommand prepends everything with "shell:"

socket.SendAdbRequest($"shell:{command}");

Is there an easy way to add this functionality? I'm happy to work on the feature if it will get merged.

@byronbytes
Copy link

byronbytes commented Feb 28, 2022

Does that mean there is no way to get the superuser using this method since it starts as shell: ?

Just an idea, you could fork the project and make another bool for removeshellprefix and if it's set to true, it just runs the command without the shell: prefix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants