mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Copy in pythonlibs.zip as part of the build process if it exists
This commit is contained in:
@@ -318,7 +318,8 @@ namespace renderdocui.Windows.Dialogs
|
||||
if (!m_LibsLoaded)
|
||||
{
|
||||
interactiveOutput.Text = String.Format("!!! pythonlibs.zip not found! Check installation !!!{0}" +
|
||||
"!!! If building locally, ensure you have compiled python libraries and copied to binary folder: !!!{0}" +
|
||||
"!!! If building locally, ensure you have compiled python libraries: !!!{0}" +
|
||||
"!!! Download IronPython-2.7.4 package, run this command and rebuild renderdocui !!!{0}" +
|
||||
"cd renderdocui/3rdparty/ironpython/ && ./compilelibs.sh /path/to/IronPython-2.7.4{0}{0}{1}",
|
||||
Environment.NewLine, interactiveOutput.Text);
|
||||
}
|
||||
@@ -545,6 +546,14 @@ namespace renderdocui.Windows.Dialogs
|
||||
"# The 'renderdoc' module is available, as the matching namespace in C#\n\n",
|
||||
IronPython.CurrentVersion.AssemblyFileVersion);
|
||||
|
||||
if (!m_LibsLoaded)
|
||||
{
|
||||
scriptEditor.Text += "# !!! pythonlibs.zip not found! Check installation !!!\n" +
|
||||
"# !!! If building locally, ensure you have compiled python libraries: !!!\n" +
|
||||
"# !!! Download IronPython-2.7.4 package, run this command and rebuild renderdocui !!!\n" +
|
||||
"# cd renderdocui/3rdparty/ironpython/ && ./compilelibs.sh /path/to/IronPython-2.7.4\n\n";
|
||||
}
|
||||
|
||||
scriptEditor.Text = scriptEditor.Text.Replace("\n", Environment.NewLine);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user