diff options
Diffstat (limited to 'logic/updater/GoUpdate.h')
-rw-r--r-- | logic/updater/GoUpdate.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/logic/updater/GoUpdate.h b/logic/updater/GoUpdate.h index 941c4e3a..21976f8f 100644 --- a/logic/updater/GoUpdate.h +++ b/logic/updater/GoUpdate.h @@ -88,23 +88,18 @@ struct Operation OP_DELETE, } type; - //! The file to operate on. If this is a DELETE or CHMOD operation, this is the file that will be modified. + //! The file to operate on. QString file; - //! The destination file. If this is a DELETE or CHMOD operation, this field will be ignored. + //! The destination file. QString dest; - //! The mode to change the source file to. Ignored if this isn't a CHMOD operation. + //! The mode to change the source file to. int mode; }; typedef QList<Operation> OperationList; /** - * Takes the @OperationList list and writes an install script for the updater to the update files directory. - */ -bool writeInstallScript(OperationList& opsList, QString scriptFile); - -/** * Loads the file list from the given version info JSON object into the given list. */ bool parseVersionInfo(const QByteArray &data, VersionFileList& list, QString &error); |