]> git.street.me.uk Git - andy/viking.git/blobdiff - win32/installer.bat
Create and use a function to return the duration of a track.
[andy/viking.git] / win32 / installer.bat
index 7bf41a80a82c2347630c22b1218385f68d3ed676..b05c691cd938d57ea3b70585575922c511e0f2aa 100644 (file)
@@ -5,14 +5,9 @@
 ::\r
 echo STARTING INSTALLER PROCESS...\r
 \r
 ::\r
 echo STARTING INSTALLER PROCESS...\r
 \r
-:: For windres + strip\r
+:: For strip\r
 set PATH=%PATH%;%SystemDrive%\MinGW\bin\r
 \r
 set PATH=%PATH%;%SystemDrive%\MinGW\bin\r
 \r
-echo Create Icon\r
-pushd installer\pixmaps\r
-windres.exe viking_icon.rc -o viking_icon.o\r
-popd\r
-\r
 echo Remove debugging symbols\r
 pushd ..\src\r
 strip.exe -g viking.exe\r
 echo Remove debugging symbols\r
 pushd ..\src\r
 strip.exe -g viking.exe\r
@@ -82,6 +77,13 @@ if exist "%LIBMAGIC%" (
        echo Required %LIBMAGIC% does not exist\r
        goto Tidy\r
 )\r
        echo Required %LIBMAGIC% does not exist\r
        goto Tidy\r
 )\r
+set LIBSQL3=%MINGW_BIN%\sqlite3.dll\r
+if exist "%LIBSQL3%" (\r
+       %MYCOPY% "%LIBSQL3%" %DESTINATION%\r
+) else (\r
+       echo Required %LIBSQL3% does not exist\r
+       goto Tidy\r
+)\r
 \r
 :: TODO Maybe embed http://gtk-win.sourceforge.net/home/index.php/Main/EmbeddingGTK directly in NSIS?\r
 :: Best to use the same GTK version as we built against in prepare.bat!!\r
 \r
 :: TODO Maybe embed http://gtk-win.sourceforge.net/home/index.php/Main/EmbeddingGTK directly in NSIS?\r
 :: Best to use the same GTK version as we built against in prepare.bat!!\r