mirror of
https://github.com/Mediosmanufactory/bigger-concrete-stack.git
synced 2026-01-11 10:48:42 +01:00
Return from the dead update!
This commit is contained in:
21
mklink.ps1
Normal file
21
mklink.ps1
Normal file
@ -0,0 +1,21 @@
|
||||
#Paths
|
||||
$factorio_path = "C:\BARTL\Factorio_ModDev\"
|
||||
$mods_folder = "$factorio_path\mods"
|
||||
$curr_path = Get-Location
|
||||
|
||||
#Mods
|
||||
$mod1 = "bigger-concrete-stack"
|
||||
|
||||
# Wiązania
|
||||
$link1 = "$mods_folder\$mod1"
|
||||
|
||||
# Ścieżki źródłowe
|
||||
$src1 = "$curr_path\$mod1"
|
||||
|
||||
# Tworzenie linków (jeśli jeszcze nie istnieją)
|
||||
if (-not (Test-Path $link1)) {
|
||||
New-Item -ItemType SymbolicLink -Path $link1 -Target $src1
|
||||
Write-Output "Symlink dla $mod1 został utworzony."
|
||||
} else {
|
||||
Write-Output "Symlink dla $mod1 już istnieje."
|
||||
}
|
||||
Reference in New Issue
Block a user