darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.44k stars 442 forks source link

GOG Galaxy 2.0 Installation fails with PackageInfo not found #689

Open Arucard1983 opened 4 years ago

Arucard1983 commented 4 years ago

The macOS version of GOG Galaxy 2.0 are one of rare cases that the software are delivered by the PKG format, instead the most common DMG image.

Currently I need to use a third party mirror to download the package.

Once using the installer command:

installer -pkg galaxy_client_2.0.12.48.pkg -target /

It gives the error: installer: Package name is GOG Galaxy 2.0 installer: Installing selected choice default installer: Installing selected choice com.gog.galaxy /PackageInfo not found in .pkg

This issue report could be reused to find new issues until the program could run on Darling.

LubosD commented 4 years ago

List of remaining problems:

bugaevc commented 4 years ago

We don't have /Users/Shared and this directory cannot be created.

Speaking of which, it would be much better if we didn't actually create $HOME/Library. It has to appear to be there (/Users/$USER/Library), but it'd be better not to have it show up on the host.

LubosD commented 4 years ago

Big changes:

LubosD commented 4 years ago

Installer changes to do:

installer: Package name is Yasm 1.3.0
installer: Installing at base path /
installer:PHASE:Preparing for installation…
installer:PHASE:Preparing the disk…
installer:PHASE:Preparing Yasm 1.3.0…
installer:PHASE:Waiting for other installations to complete…
installer:PHASE:Configuring the installation…
installer:STATUS:
installer:%93.611635
installer:PHASE:Cleaning up…
installer:PHASE:Validating packages…
installer:%97.750000
installer:STATUS:Running installer actions…
installer:STATUS:
installer:PHASE:Finishing the Installation…
installer:STATUS:
installer:%100.000000
installer:PHASE:The software was successfully installed.
installer: The install was successful.
yjqg6666 commented 3 years ago

Got the same error when running a macos app.

dyld: Library not loaded: /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore Referenced from: /Applications/*.app/Contents/Frameworks/Chromium Embedded Framework.framework/Versions/A/Chromium Embedded Framework Reason: image not found

yjqg6666 commented 3 years ago

@LubosD Any plan to add ImageCapturecore.framework? Is it ok to copy ImageCaptureCore.framework from a MacOS machine having the same OS version 10.14?