mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
fix bin folder and workflows as far its possible
cleanup of dockerfile changed paths of scripts add lock file fix working directory for workflows fix windows bin fix travis (is travis used anyway?) fix package refs remove pnpm-lock file in root as these conflicts with the docker volume setup optimize comments use install again refactor prod image call to run fix --workspace can only be used inside a workspace correct comment try fix pipeline try fix pipeline for upgrade-from-latest-release install all deps smaller adjustments save update dockerfile remove workspace command fix run test command start repair latest release workflow start repair latest release workflow start repair latest release workflow further repairs
This commit is contained in:
parent
c78c83da35
commit
366339355b
75 changed files with 160 additions and 193 deletions
55
bin/nsis/etherpad.nsi
Normal file
55
bin/nsis/etherpad.nsi
Normal file
|
@ -0,0 +1,55 @@
|
|||
;Include Modern UI
|
||||
!include "MUI2.nsh"
|
||||
!include x64.nsh
|
||||
|
||||
;--------------------------------
|
||||
;Styling
|
||||
!define MUI_ICON "brand.ico"
|
||||
Icon "brand.ico"
|
||||
BrandingText "Etherpad Foundation"
|
||||
Name "Etherpad Server"
|
||||
OutFile "..\..\..\etherpad-win.exe"
|
||||
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
|
||||
Page directory
|
||||
Page instfiles
|
||||
|
||||
; The default installation directory
|
||||
InstallDir "$PROGRAMFILES64\Etherpad Foundation\Etherpad Server"
|
||||
|
||||
Section
|
||||
SectionIn RO
|
||||
|
||||
${If} ${RunningX64}
|
||||
DetailPrint "Installer running on x64 host"
|
||||
${Else}
|
||||
Abort "Unsupported CPU architecture (only x64 is supported)"
|
||||
${Endif}
|
||||
|
||||
; Set output path to the installation directory.
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
; Put files there
|
||||
File /r "..\..\..\..\etherpad-zip\*"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section
|
||||
CreateDirectory "$SMPROGRAMS\Etherpad Foundation"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad Server.lnk" "$INSTDIR\start.bat" "brand.ico" "Etherpad Server"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad.lnk" "http://127.0.0.1:9001" "brand.ico" "Etherpad"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Etherpad Admin.lnk" "http://127.0.0.1:9001/admin" "brand.ico" "Etherpad Admin"
|
||||
CreateShortCut "$SMPROGRAMS\Etherpad Foundation\Uninstall Etherpad Server.lnk" "$INSTDIR\uninstall.exe"
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
Exec '$INSTDIR\start.bat'
|
||||
SectionEnd
|
||||
|
||||
UninstPage instfiles
|
||||
|
||||
Section Uninstall
|
||||
Delete "$INSTDIR\*"
|
||||
Delete "$INSTDIR\uninstall.exe"
|
||||
RMDir "$INSTDIR"
|
||||
SetAutoClose false
|
||||
SectionEnd
|
Loading…
Add table
Add a link
Reference in a new issue