Browse Source

removed unnecessary dlls, updated installer

gwillz 5 years ago
parent
commit
e807d9051d

+ 0 - 73
install.nsi

@@ -1,73 +0,0 @@
-#setup vars
-Name "PhotoBunny"
-OutFile "setup.exe"
-InstallDir "$PROGRAMFILES\PhotoBunny"
-RequestExecutionLevel highest
-SetCompressor /SOLID lzma
-
-#version stuff
-VIAddVersionKey "ProductName" "PhotoBunny"
-VIAddVersionKey "CompanyName" "GwillzCorp"
-VIAddVersionKey "LegalTrademarks" "Licensed under GPL 3.0"
-VIAddVersionKey "LegalCopyright" "© Gwilyn Saunders"
-VIAddVersionKey "FileDescription" "Setup installer for PhotoBunny"
-VIAddVersionKey "FileVersion" "1.4"
-VIAddVersionKey "ProductVersion" "1.4.0.4"
-VIProductVersion "1.4.0.4"
-
-LicenseData "installer\GPL3.txt"
-DirText "Select somewhere to install and junk"
-
-#imports
-!include "LogicLib.nsh"
-
-#layout
-Page license
-Page directory
-Page instfiles
-UninstPage uninstConfirm
-UninstPage instfiles
-
-#default section
-Section "Common Files (Required)"
-    SectionIn RO
-	SetOutPath $INSTDIR
-	
-	#copy files
-	File "installer\photobunny.exe"
-	File /r "installer\*.dll"
-	File "installer\GPL3.txt"
-	CreateDirectory "$INSTDIR\imageformats"
-	SetOutPath "$INSTDIR\imageformats"
-    File /r "installer\imageformats\*"
-    CreateDirectory "$INSTDIR\imageformats"
-	SetOutPath "$INSTDIR\imageformats"
-    File /r "installer\platforms\*"
-	
-	#create uninstaller
-	WriteUninstaller "$INSTDIR\uninstall.exe"
-	#create shortcuts
-	CreateDirectory "$SMPROGRAMS\PhotoBunny"
-	CreateShortCut "$SMPROGRAMS\PhotoBunny\PhotoBunny.lnk" "$INSTDIR\photobunny.exe"
-	CreateShortCut "$SMPROGRAMS\PhotoBunny\Licence.lnk" "$INSTDIR\GPL3.txt"
-	CreateShortCut "$SMPROGRAMS\PhotoBunny\Uninstall.lnk" "$INSTDIR\uninstall.exe"
-SectionEnd
-
-#uninstall section
-Section "Uninstall"
-	#remove program files
-	Delete "$INSTDIR\photobunny.exe"
-	Delete "$INSTDIR\*.dll"
-	Delete "$INSTDIR\GPL3.txt"
-	Delete "$INSTDIR\uninstall.exe"
-	Delete "$INSTDIR\imageformats\*"
-    Delete "$INSTDIR\platforms\*"
-	
-	#remove shortcut files
-	Delete "$SMPROGRAMS\PhotoBunny\PhotoBunny.lnk"
-	Delete "$SMPROGRAMS\PhotoBunny\Licence.lnk"
-	Delete "$SMPROGRAMS\PhotoBunny\Uninstall.lnk"
-	RMDir "$SMPROGRAMS\PhotoBunny"
-	
-SectionEnd
-

PKGBUILD → installer/PKGBUILD


+ 9 - 9
PhotoBunny.desktop

@@ -1,9 +1,9 @@
-Desktop Entry]
-Name=PhotoBunny
-Comment=Facebook Album Slideshow
-Exec=cd ~/.local/ && photobunny
-Icon=photobunny.png
-Terminal=false
-Type=Application
-Encoding=UTF-8
-Categories=Internet;Application;
+Desktop Entry]
+Name=PhotoBunny
+Comment=Facebook Album Slideshow
+Exec=cd ~/.local/ && photobunny
+Icon=photobunny.png
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Internet;Application;

BIN
installer/Qt5Core.dll


BIN
installer/Qt5Gui.dll


BIN
installer/Qt5Multimedia.dll


BIN
installer/Qt5MultimediaWidgets.dll


BIN
installer/Qt5Network.dll


BIN
installer/Qt5OpenGL.dll


BIN
installer/Qt5Positioning.dll


BIN
installer/Qt5PrintSupport.dll


BIN
installer/Qt5Qml.dll


BIN
installer/Qt5Quick.dll


BIN
installer/Qt5Sensors.dll


BIN
installer/Qt5Sql.dll


BIN
installer/Qt5Svg.dll


BIN
installer/Qt5WebKit.dll


BIN
installer/Qt5WebKitWidgets.dll


BIN
installer/Qt5Widgets.dll


BIN
installer/icudt52.dll


BIN
installer/icuin52.dll


BIN
installer/icuuc52.dll


BIN
installer/imageformats/qjpeg.dll


+ 101 - 0
installer/install.nsi

@@ -0,0 +1,101 @@
+#setup vars
+Name "PhotoBunny"
+OutFile "setup.exe"
+InstallDir "$PROGRAMFILES\PhotoBunny"
+RequestExecutionLevel highest
+SetCompressor /SOLID lzma
+
+#version stuff
+VIAddVersionKey "ProductName" "PhotoBunny"
+VIAddVersionKey "CompanyName" "GwillzCorp"
+VIAddVersionKey "LegalTrademarks" "Licensed under GPL 3.0"
+VIAddVersionKey "LegalCopyright" "© Gwilyn Saunders"
+VIAddVersionKey "FileDescription" "Setup installer for PhotoBunny"
+VIAddVersionKey "FileVersion" "1.4"
+VIAddVersionKey "ProductVersion" "1.4.0.4"
+VIProductVersion "1.4.0.4"
+
+LicenseData "..\GPL3.txt"
+DirText "Select somewhere to install and junk"
+
+#imports
+!include "LogicLib.nsh"
+
+#layout
+Page license
+Page directory
+Page instfiles
+UninstPage uninstConfirm
+UninstPage instfiles
+
+#default section
+Section "Common Files (Required)"
+    SectionIn RO
+    SetOutPath $INSTDIR
+    
+    #copy files
+    File "photobunny.exe"
+    File "$%QTDIR%\bin\Qt5Core.dll"
+    File "$%QTDIR%\bin\Qt5Gui.dll"
+    File "$%QTDIR%\bin\Qt5Multimedia.dll"
+    File "$%QTDIR%\bin\Qt5MultimediaWidgets.dll"
+    File "$%QTDIR%\bin\Qt5Network.dll"
+    File "$%QTDIR%\bin\Qt5OpenGL.dll"
+    File "$%QTDIR%\bin\Qt5Positioning.dll"
+    File "$%QTDIR%\bin\Qt5PrintSupport.dll"
+    File "$%QTDIR%\bin\Qt5Qml.dll"
+    File "$%QTDIR%\bin\Qt5Quick.dll"
+    File "$%QTDIR%\bin\Qt5Sensors.dll"
+    File "$%QTDIR%\bin\Qt5Sql.dll"
+    File "$%QTDIR%\bin\Qt5WebKit.dll"
+    File "$%QTDIR%\bin\Qt5WebKitWidgets.dll"
+    File "$%QTDIR%\bin\Qt5Widgets.dll"
+    
+    File "$%QTDIR%\bin\libgcc_s_dw2-1.dll"
+    File "$%QTDIR%\bin\libstdc++-6.dll"
+    File "$%QTDIR%\bin\libwinpthread-1.dll"
+    File "$%QTDIR%\bin\icuin52.dll"
+    File "$%QTDIR%\bin\icudt52.dll"
+    File "$%QTDIR%\bin\icuuc52.dll"
+    
+    File "ssleay32.dll"
+    File "libeay32.dll"
+    File "..\GPL3.txt"
+    
+    CreateDirectory "$INSTDIR\imageformats"
+    SetOutPath "$INSTDIR\imageformats"
+    File "$%QTDIR%\plugins\imageformats\qjpeg.dll"
+    
+    CreateDirectory "$INSTDIR\platforms"
+    SetOutPath "$INSTDIR\platforms"
+    File "$%QTDIR%\plugins\platforms\qwindows.dll"
+    
+    #create uninstaller
+    WriteUninstaller "$INSTDIR\uninstall.exe"
+    #create shortcuts
+    CreateDirectory "$SMPROGRAMS\Gwillz"
+    CreateDirectory "$SMPROGRAMS\Gwillz\PhotoBunny"
+    CreateShortCut "$SMPROGRAMS\Gwillz\PhotoBunny\PhotoBunny.lnk" "$INSTDIR\photobunny.exe"
+    CreateShortCut "$SMPROGRAMS\Gwillz\PhotoBunny\Licence.lnk" "$INSTDIR\GPL3.txt"
+    CreateShortCut "$SMPROGRAMS\Gwillz\PhotoBunny\Uninstall.lnk" "$INSTDIR\uninstall.exe"
+SectionEnd
+
+#uninstall section
+Section "Uninstall"
+    #remove program files
+    Delete "$INSTDIR\photobunny.exe"
+    Delete "$INSTDIR\*.dll"
+    Delete "$INSTDIR\GPL3.txt"
+    Delete "$INSTDIR\uninstall.exe"
+    Delete "$INSTDIR\imageformats\*"
+    Delete "$INSTDIR\platforms\*"
+    RMDir "$INSTDIR"
+    
+    #remove shortcut files
+    Delete "$SMPROGRAMS\Gwillz\PhotoBunny\PhotoBunny.lnk"
+    Delete "$SMPROGRAMS\Gwillz\PhotoBunny\Licence.lnk"
+    Delete "$SMPROGRAMS\Gwillz\PhotoBunny\Uninstall.lnk"
+    RMDir "$SMPROGRAMS\Gwillz\PhotoBunny"
+    
+SectionEnd
+

BIN
installer/libgcc_s_dw2-1.dll


BIN
installer/libstdc++-6.dll


BIN
installer/libwinpthread-1.dll


photobunny-0.5-1-x86_64.pkg.tar.xz → installer/photobunny-0.5-1-x86_64.pkg.tar.xz


BIN
installer/photobunny.exe


BIN
installer/platforms/qwindows.dll


BIN
installer/qjpeg.dll


BIN
setup.exe