From 41963c2593e6d9fe799c6fba14647fe131c02cd6 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 1 Nov 2023 17:15:26 -0400 Subject: [PATCH] Remove fake python from win10 machines --- install-windows.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-windows.sh b/install-windows.sh index 6e47674..a1b0c13 100644 --- a/install-windows.sh +++ b/install-windows.sh @@ -36,6 +36,10 @@ ln -sf $EWCONFIG_ROOT/configs/git/.gitconfig ~/.gitconfig ln -sf $EWCONFIG_ROOT/configs/sssh/allowed_signers ~/.ssh/allowed_signers || true ln -sf $EWCONFIG_ROOT/configs/git/.mailmap ~/.config/git/.mailmap +# Remove Microsoft's fake python executables +rm $LOCALAPPDATA/Microsoft/WindowsApps/python.exe || true +rm $LOCALAPPDATA/Microsoft/WindowsApps/python3.exe || true + # Copy the global mailmap file once if [ ! -f ~/.config/git/config-fragments/global-mailmap.gitconfig ]; then cp $EWCONFIG_ROOT/configs/git/config-fragments/global-mailmap.gitconfig ~/.config/git/config-fragments/global-mailmap.gitconfig