File:  [mozdev] / foxfm / install-addon-dev.bat
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sat May 12 21:02:01 2012 UTC (7 years, 5 months ago) by kabeleced
Branches: MAIN
CVS tags: HEAD
- ?

@ECHO OFF
REM This script adds the current developer folder of the extension to the
REM given Firefox profile - usually one for development. This script must
REM be saved in the same folder as the install.rdf and chrome.manifest
REM of the Addon.

REM Remember current directory
set CURRDIR=%cd%\src
REM Name of the Firefox profile
set FIREFOXPROFILE=4ho09wfu.dev
REM Path to the extension folder of the given Firefox profile
set FIREFOXEXTDIR=%APPDATA%\Mozilla\Firefox\Profiles\%FIREFOXPROFILE%\extensions
REM ID of the Addon as given in the install.rdf file
set ADDONID=foxfm@foxfm.org

@ECHO ON
REM Write path to source files of Addon in file named as the ID of the Addon
echo %CURRDIR%>%ADDONID%
REM Move file into profile's extension folder
move "%ADDONID%" "%FIREFOXEXTDIR%"
@ECHO OFF
REM pause

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>