I am developing a custom app of Slicer and I need to setup the splash screen defined by user’s choice.
I’ve read this post :change-the-splash-screen-of-slicer-upon-launch, noticed that there are two splash screen during launch. I replaced the second splash screen successfully but I don’t know how to disable the first splash screen in my own code.
I know that I can modify the XXXLauncherSettings.ini
but it is under the Slicer-build
directory which can’t (and shouldn’t) be tracked by git.
And from this post:modify-value-in-slicerlaunchersettings-ini-from-application I know I can modify the .ini
file in application but at that time the application is already launched. What I need is to modify the value before launching the program.