nsi to install cwtch, plus scripts and assets to generate it
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
78400a17c6
commit
9aa4f6d75d
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
|
@ -0,0 +1,78 @@
|
||||||
|
!include "MUI2.nsh"
|
||||||
|
|
||||||
|
; General settings ----------------------------
|
||||||
|
Name "Cwtch"
|
||||||
|
; !define MUI_BRANDINGTEXT "SIG Beta Ver. 1.0"
|
||||||
|
|
||||||
|
Unicode True
|
||||||
|
|
||||||
|
# define the name of the installer
|
||||||
|
Outfile "cwtch-installer.exe"
|
||||||
|
|
||||||
|
# For removing Start Menu shortcut in Windows 7
|
||||||
|
#RequestExecutionLevel user
|
||||||
|
RequestExecutionLevel admin ;Require admin rights on NT6+ (When UAC is turned on)
|
||||||
|
|
||||||
|
# define the directory to install to, the desktop in this case as specified
|
||||||
|
# by the predefined $DESKTOP variable
|
||||||
|
InstallDir "$PROGRAMFILES\Cwtch"
|
||||||
|
|
||||||
|
;Get installation folder from registry if available
|
||||||
|
InstallDirRegKey HKCU "Software\Cwtch" ""
|
||||||
|
|
||||||
|
; MUI Interface -----------------------------
|
||||||
|
|
||||||
|
!define MUI_INSTALLCOLORS "DFB9DE 281831"
|
||||||
|
|
||||||
|
!define MUI_ICON "..\..\nsis\knot.ico"
|
||||||
|
|
||||||
|
|
||||||
|
!define MUI_HEADERIMAGE
|
||||||
|
!define MUI_HEADERIMAGE_BITMAP "..\..\nsis\cwtch_title.bmp"
|
||||||
|
|
||||||
|
!define MUI_TEXTCOLOR "350052"
|
||||||
|
|
||||||
|
!define MUI_WELCOMEFINISHPAGE_BITMAP "..\..\nsis\brand_side.bmp"
|
||||||
|
!define MUI_WELCOMEFINISHPAGE_BITMAP_STRETCH NoStretchNoCrop
|
||||||
|
|
||||||
|
!define MUI_INSTFILESPAGE_COLORS "DFB9DE 281831"
|
||||||
|
!define MUI_INSTFILESPAGE_PROGRESSBAR "colored"
|
||||||
|
|
||||||
|
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
||||||
|
|
||||||
|
|
||||||
|
ShowInstDetails show
|
||||||
|
|
||||||
|
; Pages --------
|
||||||
|
|
||||||
|
|
||||||
|
!define MUI_WELCOMEPAGE_TITLE "Welcome to the Cwtch installer"
|
||||||
|
!define MUI_WELCOMEPAGE_TEXT "Cwtch (pronounced: kutch) is a Welsh word roughly meaning 'a hug that creates a safe space'$\n$\n\
|
||||||
|
Cwtch is a platform for building consentful, decentralized, untrusted infrastructure using metadata resistant group communication applications. Currently there is a selfnamed instant messaging prototype app that is driving development and testing. Many Further apps are planned as the platform matures."
|
||||||
|
|
||||||
|
!define MUI_FINISHPAGE_TITLE "Enjoy Cwtch"
|
||||||
|
!define MUI_FINISHPAGE_RUN $INSTDIR/ui.exe
|
||||||
|
!define MUI_FINISHPAGE_TEXT "You can keep uptodate on Cwtch and report any issues you have at https://cwtch.im"
|
||||||
|
!define MUI_FINISHPAGE_LINK "https://cwtch.im"
|
||||||
|
!define MUI_FINISHPAGE_LINK_LOCATION "https://cwtch.im"
|
||||||
|
!define MUI_FINISHPAGE_LINK_COLOR "D01972"
|
||||||
|
|
||||||
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
|
!insertmacro MUI_PAGE_LICENSE "../../LICENSE"
|
||||||
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
!insertmacro MUI_PAGE_FINISH
|
||||||
|
|
||||||
|
; Languages --------------------------------
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
|
||||||
|
# default section
|
||||||
|
Section
|
||||||
|
|
||||||
|
# define the output path for this file
|
||||||
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
|
# define what to install and place it in the output path
|
||||||
|
# Filler for .sh to populate with contents of deploy/windows
|
||||||
|
#FILESLISTSTART
|
|
@ -0,0 +1,11 @@
|
||||||
|
#FILESLISTEND
|
||||||
|
|
||||||
|
|
||||||
|
# create a shortcut named "new shortcut" in the start menu programs directory
|
||||||
|
# presently, the new shortcut doesn't call anything (the second field is blank)
|
||||||
|
CreateShortcut "$SMPROGRAMS\Cwtch.lnk" "$INSTDIR\ui.exe"
|
||||||
|
|
||||||
|
;Store installation folder
|
||||||
|
WriteRegStr HKCU "Software\Cwtch" "" $INSTDIR
|
||||||
|
|
||||||
|
SectionEnd
|
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
find ../deploy/windows -type f | sed 's/^..\/deploy\/windows\//FILE "/' | sed 's/\//\\/g' | sed 's/$/"/' > fileslist #eol
|
||||||
|
cat cwtch-installer-pre.nsi > cwtch-installer-final.nsi #eol
|
||||||
|
cat fileslist >> cwtch-installer-final.nsi #eol
|
||||||
|
cat cwtch-installer-suf.nsi >> cwtch-installer-final.nsi #eol
|
||||||
|
#eof
|
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Reference in New Issue