[xiph-commits] r3170 - liboggplay/trunk/Installer
laser13 at svn.annodex.net
laser13 at svn.annodex.net
Thu Jul 26 00:44:07 PDT 2007
Author: laser13
Date: 2007-07-26 00:44:06 -0700 (Thu, 26 Jul 2007)
New Revision: 3170
Added:
liboggplay/trunk/Installer/MakeWindowsPluginXPI.bat
Modified:
liboggplay/trunk/Installer/README
liboggplay/trunk/Installer/install.js
Log:
1) Added a script to generate XPI for Windows.
2) install.js changed to refresh the page after plugin install.
Added: liboggplay/trunk/Installer/MakeWindowsPluginXPI.bat
===================================================================
--- liboggplay/trunk/Installer/MakeWindowsPluginXPI.bat (rev 0)
+++ liboggplay/trunk/Installer/MakeWindowsPluginXPI.bat 2007-07-26 07:44:06 UTC (rev 3170)
@@ -0,0 +1,14 @@
+ at echo off
+
+:make sure you have zip.exe installed on your system to generate xpi file
+
+set BINARIES=..\..\..\sln\Plugin_all_2005\release
+
+copy /Y %BINARIES%\npliboggplugin.dll .
+copy /Y %BINARIES%\npliboggplugin.xpt .
+
+if EXIST .\Oggplay-Win32.xpi del /F .\Oggplay-Win32.xpi
+zip -9 Oggplay-Win32.xpi install.js npliboggplugin.dll npliboggplugin.xpt
+
+if EXIST .\npliboggplugin.dll del /F .\npliboggplugin.dll
+if EXIST .\npliboggplugin.xpt del /F .\npliboggplugin.xpt
\ No newline at end of file
Modified: liboggplay/trunk/Installer/README
===================================================================
--- liboggplay/trunk/Installer/README 2007-07-24 07:20:20 UTC (rev 3169)
+++ liboggplay/trunk/Installer/README 2007-07-26 07:44:06 UTC (rev 3170)
@@ -5,7 +5,7 @@
===============
* cd to the Installer directory
-* Run MakeLinuxPluginXPI.sh, MakeWindowsPluginXPI.sh or MakeMacPluginXPI.sh as appropriate.
+* Run MakeLinuxPluginXPI.sh, MakeWindowsPluginXPI.bat or MakeMacPluginXPI.sh as appropriate.
===================
Installing the .xpi
Modified: liboggplay/trunk/Installer/install.js
===================================================================
--- liboggplay/trunk/Installer/install.js 2007-07-24 07:20:20 UTC (rev 3169)
+++ liboggplay/trunk/Installer/install.js 2007-07-26 07:44:06 UTC (rev 3170)
@@ -128,7 +128,7 @@
if (error != SUCCESS) {
logComment("performInstall() failed: " + error);
} else {
- refreshPlugins();
+ refreshPlugins(true);
alert("Completed installation of Oggplay plug-in");
}
}
More information about the commits
mailing list