Skip to content

Commit

Permalink
Version 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmunk committed Sep 21, 2016
0 parents commit c331d54
Show file tree
Hide file tree
Showing 6 changed files with 964 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Create Release.cmd
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
25 changes: 25 additions & 0 deletions Install.cmd
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
23 changes: 23 additions & 0 deletions License.txt
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.
Loading

0 comments on commit c331d54

Please sign in to comment.