iagd icon indicating copy to clipboard operation
iagd copied to clipboard

Detect invalid paths

Open marius00 opened this issue 2 years ago • 1 comments

If the path to GD is on A:\ or B:, display some kind of error.

Apparantly mapping local drives to floppy-partitions is a thing, and .net will throw an "invalid path" error.

marius00 avatar Nov 21 '23 09:11 marius00

Also: Is this a problem that should even exist? It appears to happen in Path.Combine... but the path is being passed off to a 3rd party tool, if we just use "+" to concat the paths, we might avoid this all together.

marius00 avatar Jan 17 '24 19:01 marius00