Remove unnecessary scripts
This commit is contained in:
parent
b6488abed8
commit
f8c4781037
1 changed files with 3 additions and 59 deletions
|
@ -3,70 +3,14 @@ The steps described here allow the creation of a linux system on a Surface Book
|
||||||
|
|
||||||
- Rename host
|
- Rename host
|
||||||
- Install Brave
|
- Install Brave
|
||||||
- ```bash
|
- Using the [installer script](../scripts/PopOS/software/brave.sh)
|
||||||
sudo apt install -y wget unzip jq apt-transport-https curl
|
|
||||||
|
|
||||||
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
|
||||||
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y brave-browser
|
|
||||||
|
|
||||||
archiveName=$(mktemp)
|
|
||||||
wget https://github.com/dougppaz/youtube-music-dl/releases/download/v1.2.1/youtube-music-dl.zip -O $archiveName
|
|
||||||
|
|
||||||
extensionName=youtube-music-dl
|
|
||||||
contextRoot=$(mktemp -d)
|
|
||||||
extensionDir=$contextRoot/$extensionName
|
|
||||||
keyFile=$extensionDir.pem
|
|
||||||
extensionFile=$extensionDir.crx
|
|
||||||
manifestFile=$extensionDir/manifest.json
|
|
||||||
|
|
||||||
extensionRoot=/usr/share/brave-extensions
|
|
||||||
destination=$extensionRoot/$extensionName.crx
|
|
||||||
sudo mkdir -p $extensionRoot
|
|
||||||
|
|
||||||
unzip $archiveName -d $extensionDir
|
|
||||||
brave-browser --pack-extension=$extensionDir
|
|
||||||
manifest="$(cat $manifestFile | jq ". + {key: "'"'"$(openssl rsa -in $keyFile -pubout -outform DER | openssl base64 -A)"'"'"}")"
|
|
||||||
manifest="$(echo $manifest | jq ".background.persistent = false")"
|
|
||||||
echo $manifest > $manifestFile
|
|
||||||
|
|
||||||
extensionID=$(openssl rsa -in $keyFile -pubout -outform DER | shasum -a 256 | head -c32 | tr 0-9a-f a-p)
|
|
||||||
extensionVersion=$(cat $manifestFile | jq -r '.version')
|
|
||||||
brave-browser --pack-extension=$extensionDir --pack-extension-key=$keyFile
|
|
||||||
|
|
||||||
sudo cp $extensionFile $extensionRoot
|
|
||||||
|
|
||||||
configRoot=/opt/brave.com/brave/extensions/
|
|
||||||
|
|
||||||
sudo rm -rf $contextRoot
|
|
||||||
sudo chmod -R a+rx $extensionRoot
|
|
||||||
sudo chmod -R u+w $extensionRoot
|
|
||||||
sudo mkdir -p $configRoot
|
|
||||||
{
|
|
||||||
echo "{"
|
|
||||||
echo ' "external_crx": "'"$destination"'",'
|
|
||||||
echo ' "external_version": "'"$extensionVersion"'"'
|
|
||||||
echo "}"
|
|
||||||
} | sudo tee $configRoot/$extensionID.json
|
|
||||||
```
|
|
||||||
- Install Bitwarden
|
- Install Bitwarden
|
||||||
- Install Xournal++
|
- Install Xournal++
|
||||||
- Install Signal
|
- Install Signal
|
||||||
- Install Steam
|
- Install Steam
|
||||||
- Install Bottles
|
- Install Bottles
|
||||||
- Install codium:
|
- Install codium
|
||||||
```bash
|
- Using [installer script](../scripts/PopOS/software/codium.sh)
|
||||||
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
|
|
||||||
| gpg --dearmor \
|
|
||||||
| sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
|
|
||||||
|
|
||||||
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main'
|
|
||||||
| sudo tee /etc/apt/sources.list.d/vscodium.list
|
|
||||||
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install codium
|
|
||||||
```
|
|
||||||
- Generate SSH-key
|
- Generate SSH-key
|
||||||
- Install `linux-surface`
|
- Install `linux-surface`
|
||||||
See: <https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup>
|
See: <https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup>
|
||||||
|
|
Loading…
Reference in a new issue