From 416759047a60b6ca4b72c4461c5cb28ad76e4aa9 Mon Sep 17 00:00:00 2001 From: Lunya-sh Date: Mon, 2 Feb 2026 17:57:42 +0100 Subject: [PATCH] Added App.config --- UplinkSE.sln | 1 - ...opening-solution.bat => create-symlink.bat | 0 create-symlink.sh | 1 + deploy.ps1 | 34 ------------------- install.sh | 2 +- 5 files changed, 2 insertions(+), 36 deletions(-) rename Edit-and-run-before-opening-solution.bat => create-symlink.bat (100%) create mode 100644 create-symlink.sh delete mode 100644 deploy.ps1 diff --git a/UplinkSE.sln b/UplinkSE.sln index 340055f..b0f0cc6 100644 --- a/UplinkSE.sln +++ b/UplinkSE.sln @@ -37,7 +37,6 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {2534AAEB-1F27-43F9-86C5-A1726DACB98D} = {F9D624C2-7460-4672-AA31-1E8887084041} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {BCA57FA1-2E0B-4DEA-9C70-E3A9914D76C7} diff --git a/Edit-and-run-before-opening-solution.bat b/create-symlink.bat similarity index 100% rename from Edit-and-run-before-opening-solution.bat rename to create-symlink.bat diff --git a/create-symlink.sh b/create-symlink.sh new file mode 100644 index 0000000..215af9a --- /dev/null +++ b/create-symlink.sh @@ -0,0 +1 @@ +ln -s /mnt/c/Users/Lunar/Games/Steam/steamapps/common/SpaceEngineers/Bin64 ./ \ No newline at end of file diff --git a/deploy.ps1 b/deploy.ps1 deleted file mode 100644 index 450c208..0000000 --- a/deploy.ps1 +++ /dev/null @@ -1,34 +0,0 @@ -$SE_PATH = "" - -#DETECT SE INSTALLATION - function DetectGamepath{ - #CHECK FOR STEAM INSTALLATION - if(Test-Path -Path HKLM:\SOFTWARE\WOW6432Node\Valve\Steam) - { - #GET STEAM PATH FROM REGISTRY - $SteamInstallPath = Get-ItemPropertyValue -Path HKLM:\SOFTWARE\WOW6432Node\Valve\Steam -Name InstallPath - #READ .vdf WITH GAME DRIVE LOCATIONS - $libraryfolders = ("{`n" + ((Get-Content -Path $SteamInstallPath'\steamapps\libraryfolders.vdf' | Out-String) ` - <#COMMIT REGEXAGE TO CONVERT VALVE FORMAT TO JSON#> ` - -replace '"\t\t"', '": "' <# "KEY": "VALUE" #> ` - -replace '"\r\n\s*{', '": {' <# "OBJECT": { #> ` - -replace '"\r\n', "`",`n" <# "VALUE", #> ` - -replace '",\n(\t+)\}', "`"`n`$1}" <# "VALUE" #> ` - -replace '}(\r\n\s*")','},$1') <# }, #> ` - + "}" | ConvertFrom-Json).libraryfolders - #FIND A DRIVE THAT CONTAINS APPID OF 244850 WHICH IS SPACE ENGINEERS AS WE ALL KNOW - foreach ($drive in $libraryfolders.psobject.Properties) - { - if($drive.Value.apps.PSobject.Properties.name -contains "244850") - { - $SE_PATH = $drive.Value.path + '\steamapps\common\SpaceEngineers\Bin64' - } - } - ValidateGamepath - }else{ - #STEAM LIKELY NOT INSTALLED - Write-Output "Steam not detected" - } - } - -Copy-Item \ No newline at end of file diff --git a/install.sh b/install.sh index c8ba714..3a2237b 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash set -eo pipefail # symlink to ???/SpaceEngineers/Bin64