Skip to content

Commit

Permalink
FIXED: When publishing new item using content folder for Garry's Mod,…
Browse files Browse the repository at this point in the history
… shows "ERROR: Illegal characters in path.".
  • Loading branch information
ZeqMacaw committed Jan 29, 2020
1 parent 2b220a0 commit b381bf6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Crowbar/Core/SteamAppInfos/GarrysModSteamAppInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ Public Class GarrysModSteamAppInfo
Me.theBackgroundWorker.ReportProgress(0, "Creating GMA file." + vbCrLf)

'NOTE: File name is all lowercase in case Garry's Mod needs that on Linux.
gmaPathFileName = Path.Combine(Me.theTempCrowbarPath, item.ID + "_via_crowbar.gma")
If item.IsDraft Then
gmaPathFileName = Path.Combine(Me.theTempCrowbarPath, "new_item_via_crowbar.gma")
Else
gmaPathFileName = Path.Combine(Me.theTempCrowbarPath, item.ID + "_via_crowbar.gma")
End If

'TODO: Create GMA file without calling gmad.exe.
Dim appInstallPath As String = ""
Expand Down

0 comments on commit b381bf6

Please sign in to comment.