Skip to content

Commit e1f25c7

Browse files
committed
Merge remote-tracking branch 'origin/chore/ddw-596-webpack-5-upgrade' into chore/ddw-596-webpack-5-upgrade
2 parents e7e6c07 + d34c73f commit e1f25c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

installers/common/MacInstaller.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,13 @@ makeComponentRoot Options{oBackend,oCluster} appRoot darwinConfig@DarwinConfig{d
421421
when (oCluster == Selfnode) $ do
422422
void $ chain (encodeString dir) $ fmap tt [ dir </> "mock-token-metadata-server", dir </> "local-cluster" ]
423423

424+
-- copy some libraries to new expected locations, as a temporary fix,
425+
-- so those locations have proper dylib links -- FIXME:
426+
forM_ [ "Contents/Resources/app/node_modules/usb-detection/build/Release/detection.node" ] $ \file -> do
427+
let targetPath = appRoot </> file
428+
let withoutDir = filename targetPath
429+
cp (appRoot </> "Contents/MacOS" </> withoutDir) targetPath
430+
424431
-- Prepare launcher
425432
de <- testdir (dir </> "Frontend")
426433
unless de $ mv (dir </> (fromString $ T.unpack $ dcAppName)) (dir </> "Frontend")

0 commit comments

Comments
 (0)