parent
5bc8b72949
commit
27cd8de92c
@ -1,123 +1,123 @@
|
|||||||
:: ln == mklink /h
|
:: Copyright (c) 2012 q-- <https://github.com/q-->
|
||||||
:: hard link folders (dir junction) = mklink /j dir1 dir2
|
::
|
||||||
:: hard link files = mklink /h
|
:: 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:
|
||||||
:: 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
|
:: 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.
|
||||||
:: FIREFOX ADD-ON
|
|
||||||
::
|
|
||||||
::Sync icons folder
|
|
||||||
::ln -f share\images\icons\* drivers\firefox\skin\images\icons
|
:: ln == mklink /h
|
||||||
if exist drivers\firefox\skin\images\icons rmdir /q /s drivers\firefox\skin\images\icons
|
:: hard link folders (dir junction) = mklink /j dir1 dir2
|
||||||
mklink /j drivers\firefox\skin\images\icons share\images\icons\
|
:: 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
|
||||||
::Sync lib folder
|
:: 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
|
||||||
::ln -f share\js\lib\jquery.min.js drivers\firefox\content\js\lib
|
|
||||||
if exist drivers\firefox\content\js\lib rmdir /q /s drivers\firefox\content\js\lib
|
|
||||||
mklink /j drivers\firefox\content\js\lib share\js\lib\
|
:: FIREFOX ADD-ON
|
||||||
|
::
|
||||||
::Sync apps JSON
|
::Sync icons folder
|
||||||
::ln -f share\apps.json drivers\firefox\content
|
::ln -f share\images\icons\* drivers\firefox\skin\images\icons
|
||||||
if exist drivers\firefox\content\apps.json del drivers\firefox\content\apps.json
|
if exist drivers\firefox\skin\images\icons rmdir /q /s drivers\firefox\skin\images\icons
|
||||||
mklink /h drivers\firefox\content\apps.json share\apps.json
|
mklink /j drivers\firefox\skin\images\icons share\images\icons\
|
||||||
|
|
||||||
::Sync Wappalyzer.js
|
::Sync apps JSON
|
||||||
::ln -f share\js\wappalyzer.js drivers\firefox\content\js
|
::ln -f share\apps.json drivers\firefox\content
|
||||||
if exist drivers\firefox\content\js\wappalyzer.js del drivers\firefox\content\js\wappalyzer.js
|
if exist drivers\firefox\content\apps.json del drivers\firefox\content\apps.json
|
||||||
mklink /h drivers\firefox\content\js\wappalyzer.js share\js\wappalyzer.js
|
mklink /h drivers\firefox\content\apps.json share\apps.json
|
||||||
|
|
||||||
|
::Sync Wappalyzer.js
|
||||||
|
::ln -f share\js\wappalyzer.js drivers\firefox\content\js
|
||||||
:: FIREFOX JETPACK
|
if exist drivers\firefox\content\js\wappalyzer.js del drivers\firefox\content\js\wappalyzer.js
|
||||||
::
|
mklink /h drivers\firefox\content\js\wappalyzer.js share\js\wappalyzer.js
|
||||||
::Sync icons folder
|
|
||||||
::ln -f share\images\icons\* drivers\firefox-jetpack\images\icons
|
|
||||||
if exist drivers\firefox-jetpack\images\icons rmdir /q /s drivers\firefox-jetpack\images\icons
|
|
||||||
mklink /j drivers\firefox-jetpack\images\icons share\images\icons
|
:: FIREFOX JETPACK
|
||||||
|
::
|
||||||
::Sync apps JSON
|
::Sync icons folder
|
||||||
::ln -f share\apps.json drivers\firefox-jetpack\data
|
::ln -f share\images\icons\* drivers\firefox-jetpack\images\icons
|
||||||
if exist drivers\firefox-jetpack\data\apps.json del drivers\firefox-jetpack\data\apps.json
|
if exist drivers\firefox-jetpack\images\icons rmdir /q /s drivers\firefox-jetpack\images\icons
|
||||||
mklink /h drivers\firefox-jetpack\data\apps.json share\apps.json
|
mklink /j drivers\firefox-jetpack\images\icons share\images\icons
|
||||||
|
|
||||||
::Sync Wappalyzer.js
|
::Sync apps JSON
|
||||||
::ln -f share\js\wappalyzer.js drivers\firefox-jetpack\lib
|
::ln -f share\apps.json drivers\firefox-jetpack\data
|
||||||
if exist drivers\firefox-jetpack\lib\wappalyzer.js del drivers\firefox-jetpack\lib\wappalyzer.js
|
if exist drivers\firefox-jetpack\data\apps.json del drivers\firefox-jetpack\data\apps.json
|
||||||
mklink /h drivers\firefox-jetpack\lib\wappalyzer.js share\js\wappalyzer.js
|
mklink /h drivers\firefox-jetpack\data\apps.json share\apps.json
|
||||||
|
|
||||||
|
::Sync Wappalyzer.js
|
||||||
|
::ln -f share\js\wappalyzer.js drivers\firefox-jetpack\lib
|
||||||
:: CHROME EXTENSION
|
if exist drivers\firefox-jetpack\lib\wappalyzer.js del drivers\firefox-jetpack\lib\wappalyzer.js
|
||||||
::
|
mklink /h drivers\firefox-jetpack\lib\wappalyzer.js share\js\wappalyzer.js
|
||||||
::Sync icons folder
|
|
||||||
::ln -f share\images\icons\* drivers\chrome\images\icons
|
|
||||||
if exist drivers\chrome\images\icons rmdir /q /s drivers\chrome\images\icons
|
|
||||||
mklink /j drivers\chrome\images\icons share\images\icons
|
:: CHROME EXTENSION
|
||||||
|
::
|
||||||
::Sync lib folder
|
::Sync icons folder
|
||||||
::ln -f share\js\lib\jquery.min.js drivers\chrome\js\lib
|
::ln -f share\images\icons\* drivers\chrome\images\icons
|
||||||
if exist drivers\chrome\js\lib rmdir /q /s drivers\chrome\js\lib
|
if exist drivers\chrome\images\icons rmdir /q /s drivers\chrome\images\icons
|
||||||
mklink /j drivers\chrome\js\lib share\js\lib
|
mklink /j drivers\chrome\images\icons share\images\icons
|
||||||
|
|
||||||
::Sync apps JSON
|
::Sync apps JSON
|
||||||
::ln -f share\apps.json drivers\chrome
|
::ln -f share\apps.json drivers\chrome
|
||||||
if exist drivers\chrome\apps.json del drivers\chrome\apps.json
|
if exist drivers\chrome\apps.json del drivers\chrome\apps.json
|
||||||
mklink /h drivers\chrome\apps.json share\apps.json
|
mklink /h drivers\chrome\apps.json share\apps.json
|
||||||
|
|
||||||
::Sync Wappalyzer.js
|
::Sync Wappalyzer.js
|
||||||
::ln -f share\js\wappalyzer.js drivers\chrome\js
|
::ln -f share\js\wappalyzer.js drivers\chrome\js
|
||||||
if exist drivers\chrome\js\wappalyzer.js del drivers\chrome\js\wappalyzer.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
|
mklink /h drivers\chrome\js\wappalyzer.js share\js\wappalyzer.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:: BOOKMARKLET
|
:: BOOKMARKLET
|
||||||
::
|
::
|
||||||
::Sync icons folder
|
::Sync icons folder
|
||||||
::ln -f share\images\icons\* drivers\bookmarklet\images\icons
|
::ln -f share\images\icons\* drivers\bookmarklet\images\icons
|
||||||
if exist drivers\bookmarklet\images\icons rmdir /q /s drivers\bookmarklet\images\icons
|
if exist drivers\bookmarklet\images\icons rmdir /q /s drivers\bookmarklet\images\icons
|
||||||
mklink /j drivers\bookmarklet\images\icons share\images\icons
|
mklink /j drivers\bookmarklet\images\icons share\images\icons
|
||||||
|
|
||||||
::Sync apps JSON
|
::Sync apps JSON
|
||||||
::ln -f share\apps.json drivers\bookmarklet\json
|
::ln -f share\apps.json drivers\bookmarklet\json
|
||||||
if exist drivers\bookmarklet\json del drivers\bookmarklet\json
|
if exist drivers\bookmarklet\json del drivers\bookmarklet\json
|
||||||
mklink /h drivers\bookmarklet\json share\apps.json
|
mklink /h drivers\bookmarklet\json share\apps.json
|
||||||
|
|
||||||
::Sync Wappalyzer.js
|
::Sync Wappalyzer.js
|
||||||
::ln -f share\js\wappalyzer.js drivers\bookmarklet\js
|
::ln -f share\js\wappalyzer.js drivers\bookmarklet\js
|
||||||
if exist drivers\bookmarklet\js\wappalyzer.js del drivers\bookmarklet\js\wappalyzer.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
|
mklink /h drivers\bookmarklet\js\wappalyzer.js share\js\wappalyzer.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:: HTML DRIVER
|
:: HTML DRIVER
|
||||||
::
|
::
|
||||||
::Sync icons folder
|
::Sync icons folder
|
||||||
::ln -f share\images\icons\* drivers\html\images\icons
|
::ln -f share\images\icons\* drivers\html\images\icons
|
||||||
if exist drivers\html\images\icons rmdir /q /s drivers\html\images\icons
|
if exist drivers\html\images\icons rmdir /q /s drivers\html\images\icons
|
||||||
mklink /j drivers\html\images\icons share\images\icons
|
mklink /j drivers\html\images\icons share\images\icons
|
||||||
|
|
||||||
::Sync apps JSON
|
::Sync apps JSON
|
||||||
::ln -f share\apps.json drivers\html
|
::ln -f share\apps.json drivers\html
|
||||||
if exist drivers\html\apps.json del drivers\html\apps.json
|
if exist drivers\html\apps.json del drivers\html\apps.json
|
||||||
mklink /h drivers\html\apps.json share\apps.json
|
mklink /h drivers\html\apps.json share\apps.json
|
||||||
|
|
||||||
::Sync Wappalyzer.js
|
::Sync Wappalyzer.js
|
||||||
::ln -f share\js\wappalyzer.js drivers\html\js
|
::ln -f share\js\wappalyzer.js drivers\html\js
|
||||||
if exist drivers\html\js\wappalyzer.js del drivers\html\js\wappalyzer.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
|
mklink /h drivers\html\js\wappalyzer.js share\js\wappalyzer.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:: PHP DRIVER
|
:: PHP DRIVER
|
||||||
::
|
::
|
||||||
::Sync apps JSON
|
::Sync apps JSON
|
||||||
::ln -f share\apps.json drivers\php
|
::ln -f share\apps.json drivers\php
|
||||||
if exist drivers\php\apps.json del drivers\php\apps.json
|
if exist drivers\php\apps.json del drivers\php\apps.json
|
||||||
mklink /h drivers\php\apps.json share\apps.json
|
mklink /h drivers\php\apps.json share\apps.json
|
||||||
|
|
||||||
::Sync Wappalyzer.js
|
::Sync Wappalyzer.js
|
||||||
::ln -f share\js\wappalyzer.js drivers\php\js
|
::ln -f share\js\wappalyzer.js drivers\php\js
|
||||||
if exist drivers\php\js\wappalyzer.js del drivers\php\js\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
|
mklink /h drivers\php\js\wappalyzer.js share\js\wappalyzer.js
|
Reference in new issue