-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c331d54
Showing
6 changed files
with
964 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@echo off | ||
set zip7="C:\Program Files\7-Zip\7z.exe" | ||
set rzfb=..\release\OneWaySynchronize | ||
set rzfs=%rzfb%_Source | ||
|
||
cd .. | ||
if exist source if not exist release mkdir release | ||
if exist _temp del /Q _temp\* | ||
if not exist _temp mkdir _temp | ||
cd _temp | ||
|
||
copy ..\source\Win32\Release\OneWaySynchronize.exe OneWaySynchronize32.exe | ||
copy ..\source\Win64\Release\OneWaySynchronize.exe OneWaySynchronize64.exe | ||
copy ..\source\Install.cmd . | ||
copy ..\source\License.txt . | ||
|
||
%zip7% a -tzip %rzfb% OneWaySynchronize*.exe Install.cmd License.txt | ||
|
||
cd .. | ||
rmdir /S /Q _temp | ||
|
||
cd source | ||
|
||
%zip7% a -tzip %rzfs% *.dproj *.dpr *.res *.cmd *.txt | ||
|
||
echo . | ||
echo Please rename release files to include version number. | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@echo off | ||
set dst=%WinDir%\OneWaySynchronize.exe | ||
|
||
echo This will copy OneWaySynchronize into the Windows directory | ||
echo to make it work like a built-in command. | ||
echo If you have an existing version you must answer yes to overwrite. | ||
echo Press Ctrl+C to cancel. | ||
pause | ||
|
||
if defined ProgramFiles(x86) ( | ||
copy OneWaySynchronize64.exe %dst% | ||
) else ( | ||
copy OneWaySynchronize32.exe %dst% | ||
) | ||
|
||
if errorlevel 1 ( | ||
cls | ||
echo Error: Can't install file! | ||
echo You need to run this script as administrator. | ||
echo Right-click on Install.cmd and select Run as administrator. | ||
) else ( | ||
cls | ||
echo You can now use the command: OneWaySynchronize | ||
) | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
OneWaySynchronize - Fast file backup and mirroring | ||
Copyright (C) 2008-2015 Thomas Munk | ||
http://mmmunk.dk/onewaysynchronize | ||
|
||
This software is licensed under the ZLib License: | ||
|
||
This software is provided 'as-is', without any express or implied warranty. | ||
In no event will the authors be held liable for any damages arising from | ||
the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any purpose, | ||
including commercial applications, and to alter it and redistribute | ||
it freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you must not | ||
claim that you wrote the original software. If you use this software | ||
in a product, an acknowledgment in the product documentation would be | ||
appreciated but is not required. | ||
|
||
2. Altered source versions must be plainly marked as such, and must not | ||
be misrepresented as being the original software. | ||
|
||
3. This notice may not be removed or altered from any source distribution. |
Oops, something went wrong.