Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with folder names containing spaces failing move. #31

Merged
merged 1 commit into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ private void Form1_Load(object sender, EventArgs e)
LogAppend("GTA5-Mods links must look like this: ");
LogAppend("https://files.gta5-mods.com/uploads/XXXCARNAMEXXXX/XXXCARNAMEXXXX.zip");
LogAppend("Links must be DIRECT link else they won't download!");
LogAppend("");

if (!Directory.Exists("./NConvert"))
{
Expand Down Expand Up @@ -802,7 +803,7 @@ public async Task startConversion(bool folder, string resource, string saferesou

LogAppend("[Worker] Moving selected archive to cache...");
//File.Move(resource, @"./cache/" + saferesource);
HideShellCmd(@"move " + resource + " cache");
HideShellCmd("move \"" + resource + "\" cache");

LogAppend("[Worker] Setting up resource folder structure...");
SetupStructureFolders(SingleEnviromentFolder, "", false);
Expand Down
Loading