mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2025-03-14 14:49:57 -04:00
decode uris for paths with spaces
This commit is contained in:
parent
001e62fe4f
commit
b89265185d
1 changed files with 2 additions and 1 deletions
|
@ -50,6 +50,7 @@ namespace Rebuilder
|
|||
};
|
||||
|
||||
Rebuilder() {
|
||||
|
||||
Text = "LEGO Island Rebuilder";
|
||||
MaximizeBox = false;
|
||||
Icon = Icon.ExtractAssociatedIcon(System.Reflection.Assembly.GetExecutingAssembly().Location);
|
||||
|
@ -394,7 +395,7 @@ namespace Rebuilder
|
|||
|
||||
Uri uri2 = new Uri(source_dir + "/ISLE.EXE");
|
||||
Uri relative = uri2.MakeRelativeUri(uri1);
|
||||
string jukebox_path = "\\" + relative.ToString().Replace("/", "\\");
|
||||
string jukebox_path = "\\" + Uri.UnescapeDataString(relative.ToString()).Replace("/", "\\");
|
||||
|
||||
if (aug_build)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue