From de665f57d070f6d802ee354fd6574ba46dc12cee Mon Sep 17 00:00:00 2001 From: StalkR Date: Wed, 27 Dec 2023 23:18:27 +0100 Subject: [PATCH] setup.bat: junctions to SE Bin64 for portability --- Setup (run before opening solution).bat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 Setup (run before opening solution).bat diff --git a/Setup (run before opening solution).bat b/Setup (run before opening solution).bat new file mode 100755 index 0000000..7ec5a75 --- /dev/null +++ b/Setup (run before opening solution).bat @@ -0,0 +1,20 @@ +:: This script creates a symlink to the game binaries to account for different installation directories on different systems. + +@echo off +set /p path="Please enter the folder location of your SpaceEngineers.exe or SpaceEngineersDedicated.exe: " + +cd %~dp0 +rmdir GameBinaries > nul 2>&1 +mklink /J GameBinaries "%path%" +if errorlevel 1 goto Error +echo Done! + +echo You can now open the plugin without issue. +goto EndFinal + +:Error +echo An error occured creating the symlink. +goto EndFinal + +:EndFinal +pause