Skip to content

Instantly share code, notes, and snippets.

@DuckSoft
Created October 11, 2020 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuckSoft/6f3b5bb7809ff1632c1a9bc64e432cd6 to your computer and use it in GitHub Desktop.
Save DuckSoft/6f3b5bb7809ff1632c1a9bc64e432cd6 to your computer and use it in GitHub Desktop.
Qv2ray Codespaces Setup Script
#!/bin/bash
sudo apt remove azure-cli -y
sudo sed -i 's/stretch/buster/g;s/main$/main contrib non-free/g' /etc/apt/sources.list
sudo rm -rf /etc/apt/preferences.d/*
sudo apt update && sudo bash -c "yes '' | env DEBIAN_FRONTEND=noninteractive apt full-upgrade -y"
sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential devscripts reprepro debhelper ninja-build libgrpc++-dev libprotobuf-dev protobuf-compiler-grpc qtbase5-dev qttools5-dev cmake pkg-config qtdeclarative5-dev libcurl4-openssl-dev libqt5svg5-dev
/usr/bin/git submodule update --init --recursive
dpkg-buildpackage -us -uc -i -b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment