Skip to content

Commit 1df7a66

Browse files
committed
Add icon for windows terminal
1 parent 9e06439 commit 1df7a66

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ rootfs: base.tar
4040
sudo bsdtar -zxpf base.tar -C rootfs
4141
@echo "# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line." | sudo tee rootfs/etc/resolv.conf > /dev/null
4242
sudo cp wsl.conf rootfs/etc/wsl.conf
43+
sudo cp wsl-distribution.conf rootfs/etc/wsl-distribution.conf
44+
sudo cp linuxmint.ico rootfs/usr/lib/wsl/linuxmint.ico
4345
sudo cp bash_profile rootfs/root/.bash_profile
4446
sudo cp wslg-init.service rootfs/usr/lib/systemd/system/wslg-init.service
4547
sudo cp info rootfs/etc/linuxmint/info
@@ -51,7 +53,7 @@ rootfs: base.tar
5153

5254
base.tar:
5355
@echo -e '\e[1;31mExporting base.tar using docker...\e[m'
54-
docker run --net=host --name mintwsl linuxmintd/mint22.1-amd64 /bin/bash -c "mkdir -p /etc/linuxmint; echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections; apt-get install apt-utils -y -q; apt-get update; apt-get full-upgrade -y -q; apt-get install -y -q apt-transport-https apt-utils aria2 bash-completion build-essential ca-certificates curl dialog figlet htop iputils-ping lolcat software-properties-common tree; apt-get autoremove -y; apt-get clean;"
56+
docker run --net=host --name mintwsl linuxmintd/mint22.1-amd64 /bin/bash -c "mkdir -p /etc/linuxmint; echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections; apt-get install apt-utils -y -q; apt-get update; apt-get full-upgrade -y -q; apt-get install -y -q apt-transport-https apt-utils aria2 bash-completion build-essential ca-certificates curl dialog figlet htop iputils-ping lolcat software-properties-common tree; apt-get autoremove -y; apt-get clean; mkdir -p /usr/lib/wsl"
5557
docker export --output=base.tar mintwsl
5658
docker rm -f mintwsl
5759

linuxmint.ico

4.19 KB
Binary file not shown.

wsl-distribution.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[shortcut]
2+
icon = /usr/lib/wsl/linuxmint.ico

0 commit comments

Comments
 (0)