From a8dd49446fb24c74efb09d1e3768257346c874e5 Mon Sep 17 00:00:00 2001
From: stefan <stefan@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Fri, 11 Jun 2010 13:58:06 +0000
Subject: [PATCH] Windows build, add Shortcut to dng into the root directory of
 the archive

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2383 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 deployment/win/create_archive.bat |  2 +-
 deployment/win/dng.bat            | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 deployment/win/dng.bat

diff --git a/deployment/win/create_archive.bat b/deployment/win/create_archive.bat
index 06902f502..b254e60e1 100644
--- a/deployment/win/create_archive.bat
+++ b/deployment/win/create_archive.bat
@@ -2,7 +2,7 @@
 REM create a zip archive for deployment on windows
 REM no regisrty entries
 REM no PATHs will be changed except in the DNG session
-set inst_dir=openstructure1.0.0a1_1885
+set inst_dir=openstructure1.0.0a1_2381
 set archive_name=OpenStructureWin32
 if exist "%inst_dir%" rmdir /S /Q "%inst_dir%" 
 if exist %archive_name%.zip del %archive_name%.zip*.*
diff --git a/deployment/win/dng.bat b/deployment/win/dng.bat
new file mode 100644
index 000000000..388e79e93
--- /dev/null
+++ b/deployment/win/dng.bat
@@ -0,0 +1,23 @@
+@ECHO OFF
+REM ------------------------------------------------------------------------------
+REM This file is part of the OpenStructure project <www.openstructure.org>
+REM
+REM Copyright (C) 2008-2010 by the OpenStructure authors
+REM
+REM This library is free software; you can redistribute it and/or modify it under
+REM the terms of the GNU Lesser General Public License as published by the Free
+REM Software Foundation; either version 3.0 of the License, or (at your option)
+REM any later version.
+REM This library is distributed in the hope that it will be useful, but WITHOUT
+REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+REM FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+REM details.
+REM
+REM You should have received a copy of the GNU Lesser General Public License
+REM along with this library; if not, write to the Free Software Foundation, Inc.,
+REM 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+REM ------------------------------------------------------------------------------
+REM Windows startup script for a protein-centric user interface
+REM Author: Juergen Haas
+
+call "%~dp0\bin\dng.bat" %*
-- 
GitLab