File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ Source: "..\patroni-win-x64\python-install.exe"; DestDir: "{app}"
3939Source : " ..\patroni-win-x64\*.bat" ; DestDir : " {app} "
4040Source : " ..\patroni-win-x64\*.yml" ; DestDir : " {app} "
4141Source : " ..\patroni-win-x64\etcd\*" ; DestDir : " {app} \etcd" ; Flags : ignoreversion createallsubdirs recursesubdirs
42+ Source : " ..\patroni-win-x64\micro\*" ; DestDir : " {app} \micro" ; Flags : ignoreversion createallsubdirs recursesubdirs
4243Source : " ..\patroni-win-x64\patroni\*" ; DestDir : " {app} \patroni" ; Flags : ignoreversion createallsubdirs recursesubdirs
4344
4445[Icons]
Original file line number Diff line number Diff line change 22SET MD = patroni-win-x64
33SET ETCD_REF = https://github.com/etcd-io/etcd/releases/download/v3.3.22/etcd-v3.3.22-windows-amd64.zip
44SET PATRONI_REF = https://github.com/zalando/patroni/archive/v1.6.5.zip
5+ SET MICRO_REF = https://github.com/zyedidia/micro/releases/download/v2.0.6/micro-2.0.6-win64.zip
56
67@ ECHO --- Start bootstrapping ---
78
@@ -21,6 +22,12 @@ powershell -Command "Expand-Archive '%TEMP%\etcd.zip' '%CD%'"
2122MOVE etcd-* %MD% \etcd
2223@ ECHO --- ETCD downloaded ---
2324
25+ @ ECHO --- Download MICRO ---
26+ curl %MICRO_REF% --location --output %TEMP% \micro.zip
27+ powershell -Command " Expand-Archive '%TEMP% \micro.zip' '%CD% '"
28+ MOVE micro-* %MD% \micro
29+ @ ECHO --- MICRO downloaded ---
30+
2431@ ECHO --- Download PATRONI ---
2532curl %PATRONI_REF% --location --output %TEMP% \patroni.zip
2633powershell -Command " Expand-Archive '%TEMP% \patroni.zip' '%CD% '"
Original file line number Diff line number Diff line change 22
33SETLOCAL
44
5- REM Set here yuour favourite editor
6- SET EDITOR = notepad .exe
5+ REM Set here your console [sic!] favorite editor
6+ SET EDITOR = micro\micro .exe
77
88python.exe patroni\patronictl.py -c postgres-win0.yml %*
You can’t perform that action at this time.
0 commit comments