How do I create .pkg file?

Get help using Construct 2

Post » Tue May 23, 2017 6:59 pm

I want to create .pkg file (Mac app)
I downloaded the nw.js https://www.scirra.com/nwjs
What next? How can I create .pkg file with Mac?
B
20
S
10
G
10
Posts: 143
Reputation: 7,096

Post » Tue May 23, 2017 9:57 pm

Um, I'm not sure what you're looking for when stating "pkg"...

Do you simply want to export using NW.js?
You can do that when choosing the export method.
Just choose NW.js and you will export to an executable, which one depends on your OS.
NW.js supports Mac, Linux and Windows.
Since you're on Mac, you should be fine.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Tue May 23, 2017 10:30 pm

Hi!
Pkg file is the mac desktop app.
So if you create mobil app for iOS then you will get .ipa file.
If you want to create mac app then you need to create .pkg file.
The NW.js I already installed.
I found this
https://github.com/johansatge/nwjs-macappstore-builder
but I do not know what this mean
Install with npm:

npm install -g nwjs-macappstore-builder

Where I need to run this line?
B
20
S
10
G
10
Posts: 143
Reputation: 7,096

Post » Tue May 23, 2017 10:42 pm

So, if you export with NW.js, then you should get five folders, one of them being "osx64".
The contents of that folder will be your export.

Now I don't have any experience with MacOS, so I can't directly help you with MacOS.
You might wanna have a look at this, especially at the "Publishing on OS X and Linux" section.

makkancs wrote:npm install -g nwjs-macappstore-builder

Also, this looks like a command line execution to me.
I believe, on OS X, it's called terminal. You'll have to google the rest for yourself, as I said, I never used OS X.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, farsen and 9 guests