Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

(Add info for Optimus users)
Line 219: Line 219:
After having installed required tools (Bumblebee) you just need to run this command line in your FG installation directory (where you executed ./download_and_compile.sh) :  
After having installed required tools (Bumblebee) you just need to run this command line in your FG installation directory (where you executed ./download_and_compile.sh) :  
<pre>
<pre>
sed  's|./fgfs|optirun ./fgfs|' run_fgfs.sh > run_fgfs_optirun.sh && chmod +x run_fgfs_optirun.sh
sed  's|\./fgfs|optirun ./fgfs|' run_fgfs.sh > run_fgfs_optirun.sh && chmod +x run_fgfs_optirun.sh
</pre>
</pre>
Now you can run FG with ./run_fgfs_optirun.sh
Now you can run FG with ./run_fgfs_optirun.sh
577

edits