Commits

Anonymous committed 07ff610

zmiana lokacji

Comments (0)

Files changed (5)

install_extension.pl

 
 my $EXT_DIR = "$FindBin::Bin/smtuning";
 my $XPI_FILE = catfile($FindBin::Bin, 'smtuning.xpi');
+my $RDF_FILE = catfile($EXT_DIR, 'update.rdf');
 
-system("scp $XPI_FILE mekk.waw.pl:smtuning.xpi");
-system("ssh mekk.waw.pl 'mv smtuning.xpi public_html/'");
+system("scp $XPI_FILE $RDF_FILE mekk.waw.pl:");
+system("ssh mekk.waw.pl 'mv smtuning.xpi update.rdf www_download/smtuning/'");

smtuning/content/about.xul

 <groupbox align="center" orient="horizontal">
 <vbox>
   <text value="SchemingMind Tuning" style="font-weight: bold; font-size: x-large;"/>
-  <text value="&version; 1.3"/>
+  <text value="&version; 1.4"/>
   <separator class="thin"/>
   <text value="&createdBy;" style="font-weight: bold;"/>
   <text value="Marcin Kasperski"/>
   <separator class="thin"/>
       <text value="&homepage;" style="font-weight: bold;"/>
-    <text value="http://wiki.schemingmind.com/Mekk/FirefoxExtension"
+    <text value="http://mekk.waw.pl/mk/eng/chess/art/smtuning"
           class="url"
-        onclick="window.open('http://wiki.schemingmind.com/Mekk/FirefoxExtension'); window.close();"/>
+        onclick="window.open('http://mekk.waw.pl/mk/eng/chess/art/smtuning'); window.close();"/>
   <separator class="thin"/>
 </vbox>
 </groupbox>

smtuning/content/options.xul

   <prefpane id="paneAbout" label="About">
     <!-- descriptions have to be broken up in parts to avoid oversizing the dialog -->
     <description class="header">
-      SchemingMind Tuning extension for Mozilla Firefox - version 1.3
+      SchemingMind Tuning extension for Mozilla Firefox - version 1.4
     </description>
     <separator class="groove-thin"/>
     <description>

smtuning/install.rdf

     <em:name>SchemingMind Tuning</em:name>
     <em:description>Fine-tune different aspects of http://schemingmind.com web interface.</em:description>
     <em:creator>Marcin Kasperski</em:creator>
-    <em:homepageURL>http://wiki.schemingmind.com/SmWiki/Mekk/FirefoxExtension</em:homepageURL>
-    <em:updateURL>http://mekk.waw.pl/~marcink/smtuning.xpi</em:updateURL>
+    <em:homepageURL>http://mekk.waw.pl/mk/eng/chess/art/smtuning</em:homepageURL>
+    <em:updateURL>http://mekk.waw.pl/download/smtuning/update.rdf</em:updateURL>
     <em:id>smtuning@mekk.waw.pl</em:id>
-    <em:version>1.3</em:version>
+    <em:version>1.4</em:version>
 
     <em:aboutURL>chrome://smtuning/content/about.xul</em:aboutURL>
     <em:optionsURL>chrome://smtuning/content/options.xul</em:optionsURL>

smtuning/update.rdf

+<!-- -*- coding: utf-8 -*- -->
+<?xml version="1.0"?>
+<r:RDF xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+       xmlns="http://www.mozilla.org/2004/em-rdf#">
+<r:Description about="urn:mozilla:extension:smtuning@mekk.waw.pl">
+  <updates>
+    <r:Seq>
+      <r:li>
+        <r:Description>
+          <version>1.4</version>
+          <targetApplication>
+            <r:Description>
+              <id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
+              <minVersion>1.5</minVersion>
+              <maxVersion>2.0.0.*</maxVersion>
+              <updateLink>http://mekk.waw.pl/download/smtuning/smtuning.xpi</updateLink>
+            </r:Description>
+          </targetApplication>
+        </r:Description>
+      </r:li>
+    </r:Seq>
+  </updates>
+  <version>1.4</version>
+  <updateLink>http://mekk.waw.pl/download/smtuning/smtuning.xpi</updateLink>
+</r:Description>
+</r:RDF>
+