Skip to content

Commit

Permalink
Fix SDL detection on Linux (#86)
Browse files Browse the repository at this point in the history
* Improved Linux SDL Installer

* Forgot to import appData

* Fixed package-lock.json and removed symlinking in favor of custom MonoGame.Framework.dll.config

* Fixed macextras.js

* Fixed macextras.js

* Added linebreaks to Arm MonoGame.Framework.dll.config

* Fix macextras.js

* Fix constants.js

* Finished linting macextras.js

* Add linuxLibPath to module.export

* Fix SDL detection on Linux
  • Loading branch information
dark-steveneq committed May 10, 2024
1 parent 2020e9d commit 2d0fa0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/fsolauncher/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const registry = {
'OpenAL': 'HKLM\\SOFTWARE\\OpenAL',
'NET': 'HKLM\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP',
'Mono': process.platform === 'darwin' ? '/Library/Frameworks/Mono.framework' : '/usr/bin/mono',
'SDL': process.platform === 'darwin' ? '/Library/Frameworks/SDL2.framework' : `${linuxLibPath}/libSDL2.so`
'SDL': process.platform === 'darwin' ? '/Library/Frameworks/SDL2.framework' : `${linuxLibPath}/libSDL2-2.0.so.0`
},
fallbacks: process.platform === 'win32' ? {
// Windows fallbacks
Expand Down

0 comments on commit 2d0fa0d

Please sign in to comment.