Closed boombatower closed 9 years ago
The game just spams output to stdout, apart from the terminal demo, i don't see any reason why the program should relay on the terminal. Any idea why the terminal is required somehow?
maybe the termios settings on fds.cpp?
i'll take a shot on this
umm, if i doubleclick openage on my file manager after this fix https://github.com/franciscod/openage/tree/without-terminal it runs okay!
hmmm
demo: https://github.com/franciscod/openage/tree/desktopfile-demo
navigate to openage/etc and doubleclick openage.desktop
the only error that desktop-file-validate
throws is because of the relative paths lol
I created a wrapper script that launches openage with the data parameter and started it using dmenu. That worked fine. Keep in mind that it might take a while until the map is properly rendered, see #70.
Hmm, clicking on openage.desktop does not work with Terminal
option removed or set to false
.
Either way seems to be fixed by dropping ~/ on path...appears .desktop files default to working dir of current users home directory...which is exactly what we want.
Probably still want terminal set to true while in early dev stages since output may be useful? Easier than asking people to rerun and recreate bugs.
Still not sure exactly what causes this, to only occur with .desktop file. seems like something to do with ~/
Currently it appears that if one starts openage without a terminal it does not work. For example using a .desktop file without setting
the game will not load. Making that change and all is happy.