Skip to content

Instantly share code, notes, and snippets.

@arikon
Created October 8, 2010 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arikon/616833 to your computer and use it in GitHub Desktop.
Save arikon/616833 to your computer and use it in GitHub Desktop.
diff --git a/include/cO3.h b/include/cO3.h
index 4f8ee4c..c3121d7 100644
--- a/include/cO3.h
+++ b/include/cO3.h
@@ -406,6 +406,7 @@ struct cO3 : cScr {
// unzip the downloaded module, validates it and put the dll in place
bool unpackModule(const Str& name, iStream* zipped, bool update=false )
{
+ /*
using namespace zip_tools;
bool ret = false;
siCtx ctx(m_ctx);
@@ -479,7 +480,7 @@ error:
sign_stream->close();
fs->get("tmp")->remove(true);
return ret;
-
+ */
}
// checks the signiture comes with the dll for validation
@@ -520,7 +521,7 @@ error:
// we check the local versions hash against these values and update the component if needed
void moduleUpdating(iUnk*)
{
-
+ /*
using namespace zip_tools;
siCtx ctx = siCtx(m_ctx);
siMgr mgr = ctx->mgr();
@@ -583,7 +584,7 @@ error:
updateComponent(name);
}
}
-
+ */
}
// if we already know that a component should be updated..,
diff --git a/include/config.h b/include/config.h
index 682fad9..d615388 100644
--- a/include/config.h
+++ b/include/config.h
@@ -80,6 +80,10 @@
#ifdef O3_LINUX
#define O3_PLATFORM "linux"
+#define O3_PLUGIN_NAME ""
+#define O3_PLUGIN_UPDATER ""
+#define O3_PLUGIN_INSTALLER ""
+#define O3_PLUGIN_VERSION ""
#endif
diff --git a/include/tools_zip.h b/include/tools_zip.h
index f22e593..2476e13 100644
--- a/include/tools_zip.h
+++ b/include/tools_zip.h
@@ -15,7 +15,7 @@
* this library; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef O3_ZIP_TOOLS_H
+#ifdef O3_ZIP_TOOLS_H
#define O3_ZIP_TOOLS_H
#include <lib_zlib.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment