Skip to content

Commit b294c44

Browse files
committed
Updated wrapper
1 parent 059174e commit b294c44

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

wrapper/bin.cmd

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,11 @@ goto installContinue
119119
mkdir %INSTALLDIR% > NUL 2>&1
120120
if %ERRORLEVEL%==0 echo Directory Created %INSTALLDIR%
121121

122-
mkdir %INSTALLDIR%\lib > NUL 2>&1
123122
copy /Y %BASEDIR% %INSTALLDIR%
124123
if not %ERRORLEVEL%==0 (
125124
echo Unable to Copy from %BASEDIR% to %INSTALLDIR%
126125
EXIT 1
127126
)
128-
copy /Y %BASEDIR%\lib %INSTALLDIR%\lib
129-
if not %ERRORLEVEL%==0 (
130-
echo Unable to Copy from %BASEDIR%\lib to %INSTALLDIR%\lib
131-
EXIT 1
132-
)
133127

134128
call:createAutoStart
135129

wrapper/bin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function install {
103103
sed "s|^: ;BASEDIR.*|: ;BASEDIR\=$HOME/Divvy|g" < "$BASEDIR/bin.sh" > "$HOME/Divvy/bin.sh"
104104
chmod +x "$HOME/Divvy/bin.sh"
105105

106-
cp -r "$BASEDIR/lib/" "$HOME/Divvy/"
106+
cp -r "$BASEDIR/Conf" "$HOME/Divvy/" 2> /dev/null
107107
cp "$BASEDIR/$JAR_FILE" "$HOME/Divvy/DivvyHost.jar"
108108

109109
createAutoStart;

0 commit comments

Comments
 (0)