Skip to content

Commit 85cbe78

Browse files
committed
Install vscode from an RPM instead of the flatpak
1 parent 1b4c630 commit 85cbe78

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

files/scripts/10-base.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,23 @@ dnf install -y \
1717
libcamera{,-{v4l2,gstreamer,tools}} \
1818
jetbrains-mono-fonts-all
1919

20+
# Set up repo for Visual Studio Code
21+
rpm --import https://packages.microsoft.com/keys/microsoft.asc
22+
cat << 'EOF' >> /etc/yum.repos.d/vscode.repo
23+
# Visual Studio Code repository
24+
[code]
25+
name=Visual Studio Code
26+
baseurl=https://packages.microsoft.com/yumrepos/vscode
27+
enabled=1
28+
gpgcheck=1
29+
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
30+
EOF
31+
2032
# Now let's go for the main packages
2133
dnf -y install \
2234
distrobox \
23-
buildah
35+
buildah \
36+
code
2437

2538
systemctl enable rpm-ostree-countme.service
2639

files/scripts/40-flatpaks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ io.github.flattool.Warehouse
1010
com.google.Chrome
1111
org.mozilla.Thunderbird
1212
io.github.dvlv.boxbuddyrs
13-
com.visualstudio.code
1413
org.libreoffice.LibreOffice
1514
EOF

0 commit comments

Comments
 (0)