so I'm new to themeing firefox and i want to create a new theme from the scratch so i packaged up my new theme with the default- browser ,global, and mozapps files from the .ja in the mozilla program files dir and wrote my own install.rdf and a chrome.manifest see the code for both below
Code: Select all
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{06744550-4b69-11e4-916c-0800200c9a66}</em:id>
<em:version>32.*</em:version>
<!-- Target Application this extension can install into,
with minimum and maximum supported versions. -->
<em:targetApplication>
<Description>
<!-- Firefox's UUID -->
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>32.*</em:minVersion>
<em:maxVersion>32.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Front End MetaData -->
<em:name>RedStar</em:name>
<em:description>Nice Dark Theme for Firefox</em:description>
<em:creator>H20s Red Star Brand #13</em:creator>
<em:homepageURL>add-later-Themes_HomePage</em:homepageURL>
<em:aboutURL>add-later-Url_of_About_Page </em:aboutURL>
<!-- Allow lightweight themes to apply to this theme -->
<em:skinnable>true</em:skinnable>
<!-- Front End Integration Hooks (used by Theme Manager)-->
<em:internalName>RedStar</em:internalName>
<em:type>4</em:type>
<em:unpack>true</em:unpack>
</Description>
</RDF>
my chrome.manifest
Code: Select all
skin browser RedStar jar:chrome/RedStar.jar!/browser/
skin global RedStar jar:chrome/RedStar.jar!/global/
skin mozapps RedStar jar:chrome/RedStar.jar!/mozapps/
# Uncomment for development.
# skin browser RedStar file:///D:/MCD/dvl/moztheme/RedStar/unpacked/browser/
# skin global RedStar file:///D:/MCD/dvl/moztheme/RedStar/unpacked/global/
# skin mozapps RedStar file:///D:/MCD/dvl/moztheme/RedStar/unpacked/mozapps/
so mytheme.jar looks like this
Chrome-dir contains mytheme.jar with default- browser ,global and mozapps inside
chrome manifest
icon.png
install.rdf
i drop it in the addon window and it throws error: cant be installed because its not compatible with this version of ff
but it should be according to the install rdf i made i even tried swapping the chrome jar files with the files from the theme I'm running now and it still says same thing cant seem to figure out the problem heres a link to all the files i am using https://www.dropbox.com/s/mdr6dmefma79av6/RedStar.jar?dl=0 i need to have a default theme i can drag to install so i can start theming from scratch and have a installable theme when i am done. can someone help me figure out why i cant install this/ my theme all documentation is so out of date
working on firefox 32.03 in windows 7