-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep server apk installed instead of pushing each time #1722
Comments
Correct. The reason why it is always push is that:
I didn't thing about flash memory degradation though. But a priori, I would say that the write frequency is very low (it's not like a log file which could be written several times per second). I'm not against an option to avoid it. |
What about the alternative, pushing to ramfs/tmpfs? I don't know Android well enough, is there a standard/default path that can be used in alternative? |
|
Please check #3517. |
Hi,
I tried searching for a similar feature request without success, hopefully it's not a duplicate
Is your feature request related to a problem? Please describe.
I start & stop scrcpy very frequently, and I was wondering if this could lead to useless flash memory degradation on my android device.
From my understanding, the file is pushed to /data/local/tmp/scrcpy-server.jar
Describe the solution you'd like
Option to persist the server instead of pushing and deleting it each time. Maybe comparing the shasum with something like
adb shell sha2sum /data/local/tmp/scrcpy-server.jar
before pushing.
Describe alternatives you've considered
Always pushing to a tmpfs to avoid writing on persistent storage.
The text was updated successfully, but these errors were encountered: