Skip to content

Commit d084b99

Browse files
committed
update vice setup instructions
1 parent 487e270 commit d084b99

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.devcontainer/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:bookworm
22

33
RUN sed -i '0,/Components: main/{s/^Components: main/Components: main contrib non-free/}' /etc/apt/sources.list.d/debian.sources
44

5-
RUN apt-get update && apt-get -y install --no-install-recommends vice cc65 emacs vim
5+
RUN apt-get update && apt-get -y install --no-install-recommends vice cc65 emacs vim xpra
6+
7+
ADD vice-setup.sh /vice-setup.sh
8+
RUN bash -x /vice-setup.sh

.devcontainer/vice-setup.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
VICEVERSION=$(x128 --version | sed -e 's,x128 (VICE ,,g;s,),,g')
4+
wget https://downloads.sourceforge.net/project/vice-emu/releases/vice-${VICEVERSION?}.tar.gz
5+
mkdir -p ~/.local/share/vice
6+
tar xf vice-${VICEVERSION?}.tar.gz -C ~/.local/share/vice/ vice-${VICEVERSION?}/data --strip-components=2

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ Then, install the ROMs, which are not included in the Debian package (they are
2323
however included in the `vice` package on Arch Linux, for example):
2424

2525
```
26-
wget https://downloads.sourceforge.net/project/vice-emu/releases/vice-3.6.1.tar.gz
26+
VICEVERSION=$(x128 --version | sed -e 's,x128 (VICE ,,g;s,),,g')
27+
wget https://downloads.sourceforge.net/project/vice-emu/releases/vice-${VICEVERSION?}.tar.gz
2728
mkdir -p ~/.local/share/vice
28-
tar xf vice-3.6.1.tar.gz -C ~/.local/share/vice/ vice-3.6.1/data --strip-components=2
29+
tar xf vice-${VICEVERSION?}.tar.gz -C ~/.local/share/vice/ vice-${VICEVERSION?}/data --strip-components=2
2930
```
3031

3132
### Compiling the software into an image

0 commit comments

Comments
 (0)