How does it work in Lazarus trunk?
There are not awfully many revisions between 2.0.10 and 2.0.12. You could bisect to find the guilty revision.
Yeah, I thought about checking that but I don't have much time (neither a trunk install, TBH
), which is why I thought about asking here first, in case someone had seen something similar and had some clue why before resorting to that.
Incidentally I am now implementing a configurable project template selection for Lazarus startup. See :
https://bugs.freepascal.org/view.php?id=38105
I have not tested any command line parameter stuff. I don't really use them myself.
Soon I will ask volunteers to test it.
[Edit] Committed in r64781. Please test. It should not change any cmd line parameter behavior.
See my comment there. The GUI may need improvements later.
Fun fact, that's the other part of our pre-Lazarus launch tool-chain: we have yet another tool to do that, kind of like the actual "New project ..." dialog but on steroids allowing us to select from tens of templates (i.e "type of application") and applying to it specific info, like who's the initial creator, which license should apply, etc.
And then I have a personal app (
gentest) that creates a "test" application for either internal testing of something (say, "let's see how a TNotebook works for X") or for example programs for this forum. The problem about which this thread is meant is that until now creating a new program could be as easy as launching (e.g. for a test):
gentest --forum --gui /some/path/ && sendtolaz /some/path/
where
gentest creates the project from (kind of) a template and
sendtolaz launchs Lazarus with(/out) several options, most important of which is the primary config. path; but now this last (using a method like the one in the OP) doesn't work :-(