mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Added an option to create an installer package.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@512 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -20,13 +20,20 @@ class Installer : public Packaged {
|
||||
String prefered_filename; ///< What filename should be used (by default)
|
||||
vector<String> packages; ///< Packages to install
|
||||
|
||||
/// Load an installer from a file, and run it
|
||||
static void installFrom(const String& filename, bool message_on_success);
|
||||
/// Install all the packages
|
||||
void install();
|
||||
/// Install a specific package
|
||||
void install(const String& package);
|
||||
|
||||
/// Add a package to the installer (if it is not already added).
|
||||
/** If the package is named *.mse-installer uses it as the filename instead */
|
||||
void addPackage(const String& package);
|
||||
/// Add a package to the installer (if it is not already added).
|
||||
/** The first package gives the name of the installer.
|
||||
*/
|
||||
void addPackage(const Packaged& package);
|
||||
void addPackage(Packaged& package);
|
||||
|
||||
protected:
|
||||
String typeName() const;
|
||||
|
||||
Reference in New Issue
Block a user