Comments (5)
Auto setup has been added for Ubuntu--based systems (Ubuntu, Xubuntu, Linux Mint, etc.).
from scrcpy-gui.
What I just added should fix things for Debian-based systems! I'm going to see if I can find some way to detect if we're running Crostini, because Crostini doesn't play nice with running PySimpleGUI as root and we need to alert the user through GUI whether or not to install adb, scrcpy, etc.
from scrcpy-gui.
By check for the presence of the CrosAdapta theme, I was able to detect Crostini. Without running a certain command, Crostini can't run GUI apps as root, so if we fail to connect to a display and we're running under Crostini, we can throw an error accordingly to run the hack (since calling it from our Python script fails).
from scrcpy-gui.
At the moment, Debian-based systems can install adb and scrcpy through apt and snap respectively. Problematically, many systems don't have snap. The current implementation is to install snap, however, there should be an optional method to install adb and scrcpy through direct downloading. This would also allow support to vastly expand to pretty much any Linux distro!
NOTE: Installations through things such as apt, snap, etc. will be used if the package manager is already installed on the system since they can keep scrcpy and adb up to date.
from scrcpy-gui.
It looks to be direct downloading would require compiling scrcpy, which would just move back the problem to downloading the tools for compilation. Maybe at some point, I'll let scrcpy-gui compile scrcpy, but for now, I'm going to leave it as is. This commit adds (UNTESTED!) support for installing adb and scrcpy through pacman
and yum
, so hopefully that should cover enough operating systems that most of them will support automatic setup out of the box. I'm going to close this issue now, it's been long-standing, and functionality was (hopefully added correctly) in the previously mentioned commit.
from scrcpy-gui.
Related Issues (15)
- Failed to execute script main HOT 1
- Skip Initial Wi-Fi Setup if Possible
- Save Settings HOT 1
- "distro" install has dumb check HOT 1
- requirements.txt HOT 1
- Stop Using snap HOT 1
- Modern ADB Wi-Fi Support
- Catch up with modern scrcpy HOT 1
- Install scrcpy/ADB HOT 1
- Custom Port HOT 1
- Semi-Automatic Pip Installs HOT 1
- Add images to your readme? HOT 1
- Text Corrections HOT 1
- Get Device Authorized
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrcpy-gui.