mirror of
https://github.com/rfvgyhn/min-ed-launcher.git
synced 2025-10-29 19:45:29 +00:00
bundle missing steam lib
This commit is contained in:
parent
d786e797e9
commit
5787f5a70b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
investigation/
|
||||
src/EdLauncher/epic-sdk-details.txt
|
||||
lib/*
|
||||
!lib/libsteam_api.so
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
##
|
||||
|
||||
BIN
lib/libsteam_api.so
Executable file
BIN
lib/libsteam_api.so
Executable file
Binary file not shown.
@ -52,6 +52,10 @@
|
||||
<Compile Include="App.fs" />
|
||||
<Compile Include="Program.fs" />
|
||||
<EmbeddedResource Include="settings.json" />
|
||||
<Content Include="..\..\lib\libsteam_api.so" Condition=" '$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Release' ">
|
||||
<Link>libsteam_api.so</Link>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -98,8 +98,7 @@ type Steam() =
|
||||
|> Hex.toString
|
||||
|
||||
let init() =
|
||||
if not <| File.Exists(SteamLib) then
|
||||
Error <| sprintf "Unable to find steam library '%s'" SteamLib
|
||||
if initialized then Ok ()
|
||||
elif SteamAPI_Init() then
|
||||
initialized <- true
|
||||
Ok ()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user