示例#1
0
 public ModReleaseUI(string outputDirectory, string iconPath, bool createInstructions, bool createLauncher, bool retributionLauncher)
 {
     m_sOutputDirectory = outputDirectory;
     if (!m_sOutputDirectory.EndsWith('\\'))
     {
         m_sOutputDirectory += '\\';
     }
     m_sIconPath               = iconPath;
     m_bCreateInstructions     = createInstructions;
     m_bCreateLauncher         = createLauncher;
     m_bLauncherForRetribution = retributionLauncher;
     m_sModFolderName          = (ModManager.ModuleFile["global"] as ModuleFile.ModuleSectionKeyValue)["ModFolder"];
     m_sArchiveDirectory       = m_sOutputDirectory + m_sModFolderName + "\\Archives\\";
     m_releaser = new ModReleaser(ModManager.ModName, m_sModFolderName, m_sArchiveDirectory, m_sOutputDirectory,
                                  m_sOutputDirectory);
 }
 public ModReleaseUI(string outputDirectory, string iconPath, bool createInstructions, bool createLauncher, bool retributionLauncher)
 {
     m_sOutputDirectory = outputDirectory;
     if (!m_sOutputDirectory.EndsWith('\\'))
         m_sOutputDirectory += '\\';
     m_sIconPath = iconPath;
     m_bCreateInstructions = createInstructions;
     m_bCreateLauncher = createLauncher;
     m_bLauncherForRetribution = retributionLauncher;
     m_sModFolderName = (ModManager.ModuleFile["global"] as ModuleFile.ModuleSectionKeyValue)["ModFolder"];
     m_sArchiveDirectory = m_sOutputDirectory + m_sModFolderName + "\\Archives\\";
     m_releaser = new ModReleaser(ModManager.ModName, m_sModFolderName, m_sArchiveDirectory, m_sOutputDirectory,
                                  m_sOutputDirectory);
 }