From 054d7c98ec5373aa55a8d22b447ec7b184aea934 Mon Sep 17 00:00:00 2001 From: Nyako <24845294+nyakowint@users.noreply.github.com> Date: Wed, 29 Nov 2023 04:24:30 -0500 Subject: [PATCH] Force overwrite (who has these files already anyways) --- install.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.ps1 b/install.ps1 index 8e7210f..8bdf41a 100644 --- a/install.ps1 +++ b/install.ps1 @@ -9,11 +9,11 @@ Write-Host "Downloading BepInEx..." Invoke-WebRequest -Uri $bepInExUrl -OutFile "./BepInEx.zip" Write-Host "Extracting into current directory..." -Expand-Archive -Path "./BepInEx.zip" -DestinationPath "./" +Expand-Archive -Path "./BepInEx.zip" -DestinationPath "./" -Force Remove-Item -Path "./BepInEx.zip" -New-Item -ItemType Directory -Path "./BepInEx/config" -New-Item -ItemType Directory -Path "./BepInEx/plugins" +New-Item -ItemType Directory -Path "./BepInEx/config" -Force +New-Item -ItemType Directory -Path "./BepInEx/plugins" -Force Write-Host "Downloading KeyboardOSC..." Invoke-WebRequest -Uri $cfgUrl -OutFile "./BepInEx/config/BepInEx.cfg"