Ensure you are using Python 3.6 or later. You can check your Python version with:
python3 --version
Then, install the necessary dependencies:
brew install python brew install python3 brew install freerdp
Ensure you have the following packages installed:
sudo apt-get install -y build-essential libssl-dev libffi-dev libqt5svg5 python3-dev qt5-* qtbase5-dev qtchooser qtbase5-dev-tools qttools5-dev-tools python3-pyqt5 python3-pyqt5.*
Clone the Repository:
git clone https://github.com/LaswitchTech/PyRDPConnect.git
Run the Build Script: Use the provided build.sh script to set up the Python environment, install necessary dependencies, and build the application:
./build.sh
The build.sh script will:
Platform-Specific Notes:
sudo apt-get update
.
After building, the application can be run directly from the generated .app
bundle on macOS or from the executable on Linux.
To package the application for distribution, the build.sh
script is used. It handles the entire packaging process and ensures all necessary components are bundled appropriately for the target operating system.