//TODO: If icon paths are not set, these are currently not taken from the config dir!
varinteractiveOption=newOption<bool>(new[]{"-i","--interactive"},"Use an interactive mode. This will ignore all other options.");
varinteractiveOption=newOption<bool>(new[]{"-i","--interactive"},"Use an interactive mode. This will ignore all other options.");
varfileOption=newOption<FileInfo>(new[]{"-f","--file"},"The file path to the raw mod that should be ported. *REQUIRED IN NON-INTERACTIVE*");
varfileOption=newOption<FileInfo>(new[]{"-f","--file"},"The file path to the raw mod that should be ported. *REQUIRED IN NON-INTERACTIVE*");
varwindowsOption=newOption<FileInfo>(new[]{"-w","--windows"},"The output file path for the Windows mod. None given equals to no Windows port.");
varwindowsOption=newOption<FileInfo>(new[]{"-w","--windows"},"The output file path for the Windows mod. None given equals to no Windows port.");
@ -27,16 +25,14 @@ internal static class Program
variconOption=newOption<FileInfo>(new[]{"-c","--icon"},"The file path to an icon PNG that should be used for the taskbar/dock/home screen. "+
variconOption=newOption<FileInfo>(new[]{"-c","--icon"},"The file path to an icon PNG that should be used for the taskbar/dock/home screen. "+
"If this is not set, it will read \"icon.png\" from the config folder. If that file does not exist, a stock icon will be used.");
"If this is not set, it will read \"icon.png\" from the config folder. If that file does not exist, a stock icon will be used.");
varsplashOption=newOption<FileInfo>(new[]{"-p","--splash"},"The file path to a splash PNG that should be used when booting the game. "+
varsplashOption=newOption<FileInfo>(new[]{"-p","--splash"},"The file path to a splash PNG that should be used when booting the game. "+
//TODO: only use splash.png
"If this is not set, it will read \"splash.png\" from the config folder. "+
"If this is not set, it will read \"splash.png\" (or \"splashAndroid.png\" for Android) from the config folder. "+
"If that file does not exist, a stock splash will be used.");
"If that file does not exist, a stock splash will be used.");
// TODO: double check whether its not possible to have the same splash screen for both desktop and mobile
varcustomSaveOption=newOption<bool>(new[]{"-s","--customsave"},"Whether the Android Port should use a custom save location. Has no effect on other OS.");
varcustomSaveOption=newOption<bool>(new[]{"-s","--customsave"},"Whether the Android Port should use a custom save location. Has no effect on other OS.");
varinternetOption=newOption<bool>(new[]{"-n","--internet"},"Add internet usage permissions to the Android mod. Has no effect on other OS.");
varinternetOption=newOption<bool>(new[]{"-n","--internet"},"Add internet usage permissions to the Android mod. Has no effect on other OS.");
varverboseOption=newOption<bool>(new[]{"-v","--verbose"},"Whether to show verbose output.");
varverboseOption=newOption<bool>(new[]{"-v","--verbose"},"Whether to show verbose output.");
RootCommandrootCommand=newRootCommand("A utility to port Windows AM2R Mods to other operating systems.")
RootCommandrootCommand=newRootCommand("A utility to port AM2R Mods to other operating systems.")