Merge remote-tracking branch 'origin/master'

This commit is contained in:
2023-04-13 18:22:38 -04:00
5 changed files with 57 additions and 16 deletions

View File

@@ -7,10 +7,11 @@ on:
jobs:
build:
name: Build Launcher
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-dotnet@v3
@@ -22,18 +23,43 @@ jobs:
- run: dotnet restore CringeLauncher/CringeLauncher.csproj --locked-mode
name: Restore Project
- name: Git Version
id: version
uses: codacy/git-version@2.7.1
- run: dotnet publish -c Release -o ./pub CringeLauncher/CringeLauncher.csproj --no-restore /p:PackageVersion="${{ steps.version.outputs.version }}" /p:AssemblyVersion="${{ steps.version.outputs.version }}"
- run: dotnet publish -c Release -o ./pub CringeLauncher/CringeLauncher.csproj --no-restore -p:Version="${{ steps.version.outputs.version }}"
id: publish
name: Build Project
- run: rm ./pub/CringeLauncher.deps.json
- run: 7z a ../pub.zip ./
- run: zip -qq -r ../pub.zip ./
working-directory: ./pub
name: Zip Results
- uses: actions/upload-artifact@v3
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: launcher
path: pub.zip
tag_name: ${{ steps.version.outputs.version }}
release_name: Launcher Release
draft: true
prerelease: false
- uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./pub.zip
asset_name: CringeLauncher.zip
asset_content_type: application/zip
- uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.create_release.outputs.id }}

View File

@@ -9,6 +9,7 @@
<LangVersion>preview</LangVersion>
<TieredPGO>true</TieredPGO>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<PropertyGroup>
@@ -21,10 +22,6 @@
<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.10.2-prerelease.4" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" />
<PackageReference Include="MinVer" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NLog" Version="5.1.1" />
<PackageReference Include="SpaceEngineersDedicated.ReferenceAssemblies" Version="1.202.66" IncludeAssets="compile" PrivateAssets="all" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="7.0.0" />

View File

@@ -20,12 +20,6 @@
"Microsoft.CodeAnalysis.Common": "[4.4.0]"
}
},
"MinVer": {
"type": "Direct",
"requested": "[4.3.0, )",
"resolved": "4.3.0",
"contentHash": "YNVAW3loCFW4kTwensApaZUl+7xREK75QQNOFSbsbXx2sCSm9/IHBjUHsJGn3u0UA5r/sAqrdYBNUlOFfLhUrA=="
},
"NLog": {
"type": "Direct",
"requested": "[5.1.1, )",

View File

@@ -5,6 +5,7 @@
<ImplicitUsings>true</ImplicitUsings>
<UseWindowsForms>true</UseWindowsForms>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<ItemGroup>

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# se-launcher
the most retarded way to use net7 on client side
1. Расспаковать архив с заменой файлов в корневую папку Bin64
![image](https://user-images.githubusercontent.com/93855389/230826463-0001fad7-a2bd-4444-ac8f-a09d3eef5915.png)
2. Прописываем в аргументах steam "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\CringeLauncher.exe" %command%
3. Запускаем лаунчер
\\\\\\\\\\\\\\\\\\\\\\\\\\\\
1. Unzip the archive, replacing the files in the root folder Bin64
![image](https://user-images.githubusercontent.com/93855389/230826463-0001fad7-a2bd-4444-ac8f-a09d3eef5915.png)
2. Put it in the steam arguments "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\CringeLauncher.exe" %command%
3. Launching SE