@ -250,28 +250,25 @@ public partial class ModPacker : Form
if(linuxCheckBox.Checked.Value)
{
/*
if(!File.Exists(tempModPath+"/"+runnerName))
{//TODO: put this onto the outer method
varresult=MessageBox.Show("Modded Linux game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
varresult=MessageBox.Show("Modded Linux game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(result!=DialogResult.Yes)
{
AbortPatch();
return;
}
}
if(File.Exists(tempModPath+"profile.xml"))
{
//TODO: put this onto the outer method
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);if(result!=DialogResult.Yes)
{
AbortPatch();
return;
}
}
}*/
using(varsaveFile=newSaveFileDialog{Title="Save Linux mod profile",Filters={zipFileFilter}})
{
@ -293,19 +290,20 @@ public partial class ModPacker : Form
varresult=MessageBox.Show("Modded Mac game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
varresult=MessageBox.Show("Modded Mac game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(result!=DialogResult.Yes)
AbortPatch();
}
if(File.Exists(tempModPath+"profile.xml"))
if(macZip.Entries.Any(f=>f.Name=="profile.xml"))
{
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
if(result!=DialogResult.Yes)
AbortPatch();
}*/
varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(result!=DialogResult.Yes)
AbortPatch();
}
using(SaveFileDialogsaveFile=newSaveFileDialog{Title="Save Mac mod profile",Filters={zipFileFilter}})