forked from abearcodes/Valheim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployAll.ps1
More file actions
23 lines (18 loc) · 725 Bytes
/
deployAll.ps1
File metadata and controls
23 lines (18 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$dlls = @(
".\ABearCodes.Valheim.SimpleAutoGameStart\bin\Debug\ABearCodes.Valheim.SimpleAutoGameStart.dll",
".\ABearCodes.Valheim.CraftingWithContainers\bin\Debug\ABearCodes.Valheim.CraftingWithContainers.dll"
# ".\ABearCodes.Valheim.SimpleRecycling\bin\Debug\ABearCodes.Valheim.SimpleRecycling.dll"
)
$targets = @(
"E:\Games\SteamLibrary\steamapps\common\Valheim\BepInEx\plugins",
"E:\Games\SteamLibrary\steamapps\common\ValheimNoSteam\BepInEx\plugins",
"E:\Games\SteamLibrary\steamapps\common\ValheimNoSteam2\BepInEx\plugins"
)
taskkill /IM "valheim.exe" /F /FI "STATUS eq RUNNING"
Start-Sleep -s 1
foreach ($dll in $dlls){
foreach($target in $targets){
copy $dll $target
}
}