SimulaVR / Simula

Linux VR Desktop
MIT License
2.91k stars 87 forks source link

Simula Requires run.sh to Launch on Ubuntu Bionic #66

Closed georgewsinger closed 4 years ago

georgewsinger commented 5 years ago

Launching Simula directly (via godot --path $(GODOTPROJECT)) fails work for me on Ubuntu, and hence make run fails to launch Simula (more precisely, it fails to launch Simula in VR mode and instead only launches Simula in pancake mode). Launching Simula via ~/.steam/ubuntu12_32/steam-runtime/run.sh godot --path $(GODOTPROJECT) does work, yet this is evidently not the case for everyone.

I would propose that we modify ./addons/godot-haskell-project/Makefile to

run:
        stack --verbosity=error build godot-haskell-plugin $$TELEMETRY
        cp $(LIBFILE) $(PROJECTROOT)
        ~/.steam/ubuntu12_32/steam-runtime/run.sh godot --path $(GODOTPROJECT)

but ~/.steam/ubuntu12_32/steam-runtime/run.sh is not the same for everyone. Our Makefile should detect the location of run.sh and launch accordingly.

lboklin commented 5 years ago

I wonder why you need to launch it via that script but I don't (Kubuntu 18.04). There's no harm in doing so regardless but it is another potential point of failure to depend on that script.

lboklin commented 5 years ago

As far as I know, run.shs possible locations are

~/.steam/{,steam/}ubuntu12_32/steam-runtime/run.sh