Clone this repo:
git clone https://github.com/BHznJNs/InputShare
cd InputShareInstall the requirements with:
pip install -r requirements.txtRun the entry script:
python main.pyIf you want to build this project by yourself, go on:
Install the pyinstaller:
pip install pyinstallerGet the customtkinter library path
pip show customtkinterA Location will be shown, for example: c:\users\<user_name>\appdata\local\programs\python\python310\lib\site-packages
Use this command to build (replace <CustomTkinter Location> with customtkinter library path got above):
For Bash:
pyinstaller \
--windowed \
--icon=ui/icon.ico \
--add-data "./ui/icon.ico;ui/" \
--add-data "./ui/icon.png;ui/" \
--add-data "./adb-bin/;adb-bin/" \
--add-data "./server/scrcpy-server;server/" \
--add-data "./server/reporter.apk;server/" \
--add-data "./build_venv/Lib/site-packages/customtkinter;customtkinter/" \
--noconfirm main.pyFor PowerShell:
pyinstaller `
--windowed `
--icon=ui/icon.ico `
--add-data "./ui/icon.ico;ui/" `
--add-data "./ui/icon.png;ui/" `
--add-data "./adb-bin/;adb-bin/" `
--add-data "./server/scrcpy-server;server/" `
--add-data "./server/reporter.apk;server/" `
--add-data "./build_venv/Lib/site-packages/customtkinter;customtkinter/" `
--noconfirm main.py