mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
Asger's suggestion on how to fix the .bat file properly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3e54d8b6bf
commit
94d48adad8
@ -275,7 +275,7 @@ int create_bat_files(std::string const & bin_dir, std::string const & lang)
|
|||||||
<< "if \"%LANG%\"==\"\" SET LANG=" << lang << "\n";
|
<< "if \"%LANG%\"==\"\" SET LANG=" << lang << "\n";
|
||||||
|
|
||||||
std::string const lyx_exe_file = bin_dir + "\\lyx.exe";
|
std::string const lyx_exe_file = bin_dir + "\\lyx.exe";
|
||||||
if (!write_bat(lyx_bat, "\"" + lyx_exe_file + "\""))
|
if (!write_bat(lyx_bat, "start \"LyX\" \"" + lyx_exe_file + "\""))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
std::string const relyx_bat_file = bin_dir + "\\reLyX.bat";
|
std::string const relyx_bat_file = bin_dir + "\\reLyX.bat";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user