You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

123 lines
4.9 KiB

12 years ago
:: Copyright (c) 2012 q-- <https://github.com/q-->
::
:: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
::
:: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
::
:: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
:: ln == mklink /h
:: hard link folders (dir junction) = mklink /j dir1 dir2
:: hard link files = mklink /h
:: ln -f for folder: if exist FOLDER_TO_REPLACE_WITH_LINK rmdir /s FOLDER_TO_REPLACE_WITH_LINK&&mklink /j FOLDER_TO_REPLACE_WITH_LINK FOLDER_TO_LINK_TO
:: ln -f for file: if exist FILE_TO_REPLACE_WITH_LINK del FILE_TO_REPLACE_WITH_LINK&&mklink /h FILE_TO_REPLACE_WITH_LINK FILE_TO_LINK_TO
:: FIREFOX SKD
12 years ago
::
::Sync icons folder
::ln -f share\images\icons drivers\firefox\images\icons
if exist drivers\firefox\images\icons rmdir /q /s drivers\firefox\images\icons
mklink /j drivers\firefox\images\icons share\images\icons
12 years ago
::Sync apps JSON
::ln -f share\apps.json drivers\firefox\data
if exist drivers\firefox\data\apps.json del drivers\firefox\data\apps.json
mklink /h drivers\firefox\data\apps.json share\apps.json
12 years ago
::Sync Wappalyzer.js
::ln -f share\js\wappalyzer.js drivers\firefox\lib
if exist drivers\firefox\lib\wappalyzer.js del drivers\firefox\lib\wappalyzer.js
mklink /h drivers\firefox\lib\wappalyzer.js share\js\wappalyzer.js
12 years ago
:: CHROME EXTENSION
::
::Sync icons folder
::ln -f share\images\icons drivers\chrome\images\icons
12 years ago
if exist drivers\chrome\images\icons rmdir /q /s drivers\chrome\images\icons
mklink /j drivers\chrome\images\icons share\images\icons
::Sync apps JSON
::ln -f share\apps.json drivers\chrome
if exist drivers\chrome\apps.json del drivers\chrome\apps.json
mklink /h drivers\chrome\apps.json share\apps.json
::Sync Wappalyzer.js
::ln -f share\js\wappalyzer.js drivers\chrome\js
if exist drivers\chrome\js\wappalyzer.js del drivers\chrome\js\wappalyzer.js
mklink /h drivers\chrome\js\wappalyzer.js share\js\wappalyzer.js
:: BOOKMARKLET
::
::Sync icons folder
::ln -f share\images\icons drivers\bookmarklet\images\icons
12 years ago
if exist drivers\bookmarklet\images\icons rmdir /q /s drivers\bookmarklet\images\icons
mklink /j drivers\bookmarklet\images\icons share\images\icons
::Sync Wappalyzer.js
::ln -f share\js\wappalyzer.js drivers\bookmarklet\js
if exist drivers\bookmarklet\js\wappalyzer.js del drivers\bookmarklet\js\wappalyzer.js
mklink /h drivers\bookmarklet\js\wappalyzer.js share\js\wappalyzer.js
:: HTML DRIVER
::
::Sync icons folder
::ln -f share\images\icons drivers\html\images\icons
12 years ago
if exist drivers\html\images\icons rmdir /q /s drivers\html\images\icons
mklink /j drivers\html\images\icons share\images\icons
::Sync apps JSON
::ln -f share\apps.json drivers\html
if exist drivers\html\apps.json del drivers\html\apps.json
mklink /h drivers\html\apps.json share\apps.json
::Sync Wappalyzer.js
::ln -f share\js\wappalyzer.js drivers\html\js
if exist drivers\html\js\wappalyzer.js del drivers\html\js\wappalyzer.js
mklink /h drivers\html\js\wappalyzer.js share\js\wappalyzer.js
:: PHP DRIVER
::
::Sync apps JSON
if exist drivers\php\apps.json del drivers\php\apps.json
mklink /h drivers\php\apps.json share\apps.json
::Sync Wappalyzer.js
if exist drivers\php\js\wappalyzer.js del drivers\php\js\wappalyzer.js
mklink /h drivers\php\js\wappalyzer.js share\js\wappalyzer.js
10 years ago
:: Ruby DRIVER
::
::Sync apps JSON
if exist drivers\ruby\apps.json del drivers\ruby\apps.json
mklink /h drivers\ruby\apps.json share\apps.json
::Sync Wappalyzer.js
if exist drivers\ruby\js\wappalyzer.js del drivers\ruby\js\wappalyzer.js
mklink /h drivers\ruby\js\wappalyzer.js share\js\wappalyzer.js
:: PhantomJS driver
if exist drivers\phantomjs\apps.json del drivers\phantomjs\apps.json
mklink /h drivers\phantomjs\apps.json share\apps.json
if exist drivers\phantomjs\js\wappalyzer.js del drivers\phantomjs\js\wappalyzer.js
mklink /h drivers\phantomjs\js\wappalyzer.js share\js\wappalyzer.js
:: NPM Module
if exist drivers\npm\apps.json del drivers\npm\apps.json
mklink /h drivers\npm\apps.json share\apps.json
if exist drivers\npm\wappalyzer.js del drivers\npm\wappalyzer.npm
mklink /h drivers\npm\wappalyzer.js share\wappalyzer.js