Right now launching a profile requires opening up Cogfly first, but it would be convenient to create a desktop shortcut that can launch BepInEx with the correct options directly. If this is a feature you guys want, I'd be willing to submit a PR, but figured I should check first.
If yes, I think the main question that'd need to be resolved is: what type of shortcut should be created?
- Create a batch file on Windows and shell script on Linux/Mac. This should be very simple, but does have the downside of the script needing to launch a terminal and not having any icon.
- Create platform-specific shortcuts. This is a bit more complicated (though not that complicated), but provides the best user experience.
- Windows: Special binary format, sounds like using this library would be the easiest option. Alternatives are accessing the API via JNI, calling PowerShell via a command, or implementing the format manually, all of which seem annoying.
- Linux: Sounds like it's just a short INI file?
- MacOS: Afaik the best way to do this is a wrapper "app", which just requires a couple folders, a basic XML manifest, and a launch script.
I guess there would also be the question of whether to launch BepInEx directly (very easy) or implement something more fancy to call via command line arguments to Cogfly (could theoretically assign IDs to profiles so links don't break if the profile gets renamed/moved + forward-compatible if other frameworks besides BepInEx get used in the future)? Personally I think the former is fine, but your app your call.
Right now launching a profile requires opening up Cogfly first, but it would be convenient to create a desktop shortcut that can launch BepInEx with the correct options directly. If this is a feature you guys want, I'd be willing to submit a PR, but figured I should check first.
If yes, I think the main question that'd need to be resolved is: what type of shortcut should be created?
I guess there would also be the question of whether to launch BepInEx directly (very easy) or implement something more fancy to call via command line arguments to Cogfly (could theoretically assign IDs to profiles so links don't break if the profile gets renamed/moved + forward-compatible if other frameworks besides BepInEx get used in the future)? Personally I think the former is fine, but your app your call.