KoBeWi / Godot-Project-Builds

Graphical automation tool for building and publishing Godot games.
https://godotengine.org/asset-library/asset/2925
MIT License
171 stars 3 forks source link

Error "The provided source directory does not exist" when using upload itch task #18

Open AdilDevStuff opened 1 day ago

AdilDevStuff commented 1 day ago

I created this simple routine to upload my games to itch.io. (see screenshot) image

But it returns the error when I execute the routine image

Im on Nobara OS and the path im using is on my hard drive. (Other directories like home etc also doesnt work)

KoBeWi commented 1 day ago

The Source Folder is relative to project's directory, not absolute path.

AdilDevStuff commented 1 day ago

Oh, okay that works. Is that mentioned somewhere? I might have missed it! But thanks!

KoBeWi commented 1 day ago

It's not really mentioned, but the FileDialog when you are picking path operates in local mode. To use a global path you'd have to paste it in to the textbox, which I assumed most people wouldn't do.

AdilDevStuff commented 1 day ago

It's not really mentioned, but the FileDialog when you are picking path operates in local mode. To use a global path you'd have to paste it in to the textbox, which I assumed most people wouldn't do.

I didn't paste the path tho, I used the file dialog, so i think it sets global path for some reasons. I had to manually add those ../ image

KoBeWi commented 1 day ago

The FileDialog works in global mode, but once you pick the path, it will trim the project path, so the resulting path is relative. However it only works if the build folder is inside project's directory, it won't work for folders outside the project. Not sure if there is a way to get a relative path to a parent folder.

AdilDevStuff commented 12 hours ago

Alright, that is cleared for me now, maybe mention that in the readme. Also I have another question. Where should I keep my app build vdf file for steam? So that it shows in the vdf list in the builder. Cuz even if I put that in the project folder, it doesn't show in the vdf list.

KoBeWi commented 11 hours ago

If you added VDF file after creating Project Builder configuration, you need to run a manual scan. In Config tab, click the "Run Project Scan" button at the bottom. Project Builder performs a scan automatically on first launch, but subsequent scans need to be started manually, for performance reasons.