Skip to content

Commit b689c0d

Browse files
Merge branch 'develop' into feature/ddw-1022
2 parents 7e39134 + 38fc0ed commit b689c0d

File tree

18 files changed

+129
-820
lines changed

18 files changed

+129
-820
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
### Features
66

7+
- Improved UI regarding the Hardware Wallet public key export error ([PR 2922](https://github.com/input-output-hk/daedalus/pull/2922))
78
- Added ASCII name to token header when metadata name is missing ([PR 2904](https://github.com/input-output-hk/daedalus/pull/2904))
89
- Improved IPC by reducing the amount of messages from periodic events ([PR 2892](https://github.com/input-output-hk/daedalus/pull/2892))
910
- Improved RTS flags splash screen message ([PR 2901](https://github.com/input-output-hk/daedalus/pull/2901))
1011
- Implemented error message when trying to leave wallet without enough ada to support tokens ([PR 2783](https://github.com/input-output-hk/daedalus/pull/2783))
1112

1213
### Fixes
1314

15+
- Fixed position of popup on syncing screen ([PR 2921](https://github.com/input-output-hk/daedalus/pull/2921))
16+
- Fixed issue with missing character when copying address from PDF ([PR 2925](https://github.com/input-output-hk/daedalus/pull/2925))
1417
- Fixed stake pool list view overlapping news feed ([PR 2917](https://github.com/input-output-hk/daedalus/pull/2917))
1518
- Restored opacity for search icon when focused ([PR 2909](https://github.com/input-output-hk/daedalus/pull/2909))
1619
- Fixed styling of the incentivized testnet rewards wallet dropdown ([PR 2907](https://github.com/input-output-hk/daedalus/pull/2907))
@@ -20,6 +23,8 @@
2023

2124
### Chores
2225

26+
- Using new faker.js ([PR 2855](https://github.com/input-output-hk/daedalus/pull/2855))
27+
- Removed `dockutil` due compatibility issues with MacOs Monterey 12.3 ([PR 2929](https://github.com/input-output-hk/daedalus/pull/2929))
2328
- Fixed spelling issues and typos ([PR 2915](https://github.com/input-output-hk/daedalus/pull/2915))
2429
- Removed SASS ts-lint ignore comments ([PR 2870](https://github.com/input-output-hk/daedalus/pull/2870))
2530
- Enabled debugging of the main process ([PR 2893](https://github.com/input-output-hk/daedalus/pull/2893))

installers/common/MacInstaller.hs

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -177,27 +177,6 @@ codeSignEntitlements = [r|<?xml version="1.0" encoding="UTF-8"?>
177177
</dict>
178178
</plist>|]
179179

180-
makePostInstall :: Format a (Text -> a)
181-
makePostInstall = "#!/usr/bin/env bash\n" %
182-
"#\n" %
183-
"# See /var/log/install.log to debug this\n" %
184-
"\n" %
185-
"src_pkg=\"$1\"\ndst_root=\"$2\"\ndst_mount=\"$3\"\nsys_root=\"$4\"\n" %
186-
"./dockutil --add \"${dst_root}/" % s % "\" --allhomes\n"
187-
188-
makeScriptsDir :: Options -> DarwinConfig -> Managed T.Text
189-
makeScriptsDir Options{oBackend} DarwinConfig{dcAppNameApp} = case oBackend of
190-
Cardano _ -> common
191-
where
192-
common = do
193-
tmp <- fromString <$> (liftIO $ getEnv "TMP")
194-
tempdir <- mktempdir tmp "scripts"
195-
liftIO $ do
196-
cp "data/scripts/dockutil" (tempdir </> "dockutil")
197-
writeTextFile (tempdir </> "postinstall") (format makePostInstall dcAppNameApp)
198-
chmod executable (tempdir </> "postinstall")
199-
pure $ tt tempdir
200-
201180
makeSigningDir :: Managed (T.Text, T.Text)
202181
makeSigningDir = do
203182
tmp <- fromString <$> (liftIO $ getEnv "TMP")
@@ -390,27 +369,21 @@ makeComponentRoot Options{oBackend,oCluster} appRoot darwinConfig@DarwinConfig{d
390369
exit $ ExitFailure 1
391370

392371
makeInstaller :: Options -> DarwinConfig -> FilePath -> FilePath -> IO FilePath
393-
makeInstaller opts@Options{oOutputDir} darwinConfig@DarwinConfig{dcPkgName} componentRoot pkg = do
372+
makeInstaller Options{oOutputDir} DarwinConfig{dcPkgName} componentRoot pkg = do
394373
echo "Making installer ..."
395-
let tempPkg1 = format fp (oOutputDir </> pkg)
396-
tempPkg2 = oOutputDir </> (dropExtension pkg <.> "unsigned" <.> "pkg")
374+
let
375+
tempPkg1 = format fp (oOutputDir </> pkg)
376+
tempPkg2 = oOutputDir </> (dropExtension pkg <.> "unsigned" <.> "pkg")
377+
pkgargs :: [ T.Text ]
378+
pkgargs =
379+
[ "--identifier", dcPkgName
380+
, "--component", tt componentRoot
381+
, "--install-location", "/Applications"
382+
, tempPkg1
383+
]
397384

398385
mktree oOutputDir
399-
with (makeScriptsDir opts darwinConfig) $ \scriptsDir -> do
400-
let
401-
pkgargs :: [ T.Text ]
402-
pkgargs =
403-
[ "--identifier"
404-
, dcPkgName
405-
, "--scripts", scriptsDir
406-
, "--component"
407-
, tt componentRoot
408-
, "--install-location"
409-
, "/Applications"
410-
, tempPkg1
411-
]
412-
run "ls" [ "-ltrh", scriptsDir ]
413-
run "pkgbuild" pkgargs
386+
run "pkgbuild" pkgargs
414387

415388
run "productbuild" [ "--product", "data/plist"
416389
, "--package", tempPkg1

0 commit comments

Comments
 (0)