diff --git a/links.cmd b/links.cmd index d5a7bf932..88199ffdf 100644 --- a/links.cmd +++ b/links.cmd @@ -1,3 +1,13 @@ +:: Copyright (c) 2012 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 @@ -12,11 +22,6 @@ if exist drivers\firefox\skin\images\icons rmdir /q /s drivers\firefox\skin\images\icons mklink /j drivers\firefox\skin\images\icons share\images\icons\ -::Sync lib folder -::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\ - ::Sync apps JSON ::ln -f share\apps.json drivers\firefox\content if exist drivers\firefox\content\apps.json del drivers\firefox\content\apps.json @@ -55,11 +60,6 @@ mklink /h drivers\firefox-jetpack\lib\wappalyzer.js share\js\wappalyzer.js if exist drivers\chrome\images\icons rmdir /q /s drivers\chrome\images\icons mklink /j drivers\chrome\images\icons share\images\icons -::Sync lib folder -::ln -f share\js\lib\jquery.min.js drivers\chrome\js\lib -if exist drivers\chrome\js\lib rmdir /q /s drivers\chrome\js\lib -mklink /j drivers\chrome\js\lib share\js\lib - ::Sync apps JSON ::ln -f share\apps.json drivers\chrome if exist drivers\chrome\apps.json del drivers\chrome\apps.json