Skip to content

Commit f963530

Browse files
committed
fix: Windows installer
1 parent 1c714ae commit f963530

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

installers/common/WindowsInstaller.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ writeInstallerNSIS outName (Version fullVersion') InstallerConfig{installDirecto
213213
detailPrint "Removing previously installed version"
214214
rmdir [Recursive] "$INSTDIR"
215215

216+
-- FIXME: Let's make it recursively take all files from a single install directory…
217+
-- FIXME: Why the repetition?
218+
216219
iff_ (fileExists "$APPDATA\\$InstallDir\\Wallet-1.0\\open\\*.*") $
217220
rmdir [] "$APPDATA\\$InstallDir\\Wallet-1.0\\open"
218221
case oBackend of
@@ -224,6 +227,8 @@ writeInstallerNSIS outName (Version fullVersion') InstallerConfig{installDirecto
224227
file [] "config.yaml"
225228
file [] "topology.yaml"
226229
file [] "genesis.json"
230+
when (clusterName == Mainnet) $ do
231+
file [] "checkpoints.json"
227232
when (clusterName /= Selfnode) $ do
228233
file [NonFatal] "genesis-conway.json"
229234
file [] "genesis-byron.json"

0 commit comments

Comments
 (0)