nodegui / packer

Package and deploy apps built with NodeGui to all platforms
206 stars 14 forks source link

I'm not sure this works on Mac OS X 10.14 #101

Open rafpaf opened 3 years ago

rafpaf commented 3 years ago

Hi,

I packed the nodegui starter project on Mac OS X 10.14, but when I tried to open the resulting app, I got an error message: "The application requires macOS 10.15 or later."

To reproduce:

git clone https://github.com/nodegui/nodegui-starter
cd nodegui-starter
npm run build
npm install @nodegui/packer
npx nodegui-packer --init starter
npx nodegui-packer --pack dist
cd deploy/darwin/build
open starter.app

The last command produces this error:

LSOpenURLsWithRole() failed with error -10825 for the file /Users/raf/repos/nodegui-starter/deploy/darwin/build/starter.app.

If I open the app in Finder, I get the message: "You can’t use this version of the application 'starter' with this version of macOS. You have macOS 10.14.1. The application requires macOS 10.15 or later."

Changing LSMinimumSystemVersion in Info.plist to 10.14 unfortunately doesn't seem to change anything.

Any ideas?

DavoCg commented 3 years ago

Hi @rafpaf if you change the version in Info.plist before running npx nodegui-packer --pack ./dist it should work !

danielo515 commented 3 years ago

I can not get that far, it fails way earlier:

Cannot find module '@nodegui/nodegui/config/qtConfig'
Require stack:
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/darwin/helpers.js
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/darwin/index.js
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/index.js
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/cli.js

This happens on the sample app NodeGUI-System-Utility-Library

a7ul commented 3 years ago

It looks like you are using an old version of nodegui on the system utility library app @danielo515

danielo515 commented 3 years ago

Whatever the example app has on it's dependencies. Following the same instructions with the react-template app works perfectly. Regards

On Wed, Feb 3, 2021 at 1:32 PM Atul R notifications@github.com wrote:

It looks like you are using an old version of nodegui on the system utility library app @danielo515 https://github.com/danielo515

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nodegui/packer/issues/101#issuecomment-772473916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWMOHKSGWWIAHE4YGVTS5E65LANCNFSM4P74VUXQ .

--

https://danielorodriguez.com

Hareis commented 3 years ago

I also encountered the same error