Doesn't work on win32 and mac32

122 views
Skip to first unread message

BjA

unread,
Aug 12, 2012, 4:14:05 PM8/12/12
to appj...@googlegroups.com
Hey AppJS Developers,

thanks for this great possibilty to create desktop apps.

My problem is that my created appjs application doesn't work on win32 and mac32. I have do the following:

1. Download all archives from http://dists.appjs.org/0.0.18/
2. Add content and change the app.js

With linux 64bit works very well.

You can download the windows version here: http://dev.adelberg-online.de/?wpfb_dl=3

and the Mac Version here: http://dev.adelberg-online.de/?wpfb_dl=2

Regards
Björn

Kevin Ingwersen

unread,
Aug 12, 2012, 4:20:28 PM8/12/12
to appj...@googlegroups.com
Actually, every intel mac should do the job o.O
Maybe its your app.js making some trubble...
Try to change the content in the content folder, but NOT the appjs thing...then try again. If it then still doesnt work, then we have got a lil problem x3

BjA

unread,
Aug 12, 2012, 5:03:45 PM8/12/12
to appj...@googlegroups.com, ingwi...@googlemail.com
Tomorrow I will testing the original package from http://dists.appjs.org/0.0.18/ for win32.

Maybe the reason is my changes on app.js. I have only change the window object to (win32):

var window = app.createWindow({
  width  
: 1024,
  height
: 800,
  icons  
: __dirname + '/content/icons',
  disableSecurity
: true
});

Regards
Björn

BjA

unread,
Aug 13, 2012, 9:55:17 AM8/13/12
to appj...@googlegroups.com, ingwi...@googlemail.com
Now on windows works. The problem was I renamed the app.exe to MensaChemnitz.exe.

Regards
Björn

Brandon Benvie

unread,
Aug 13, 2012, 10:27:56 AM8/13/12
to appj...@googlegroups.com, ingwi...@googlemail.com
If you rename app.exe you need to rename data/app.js to match it.  MensaChemnitz.exe -> data/MensaChemnitz.js

BjA

unread,
Aug 14, 2012, 4:26:15 PM8/14/12
to appj...@googlegroups.com, ingwi...@googlemail.com
Thank you, works very well.

Back to MacOSX: Currently I can start my app with MacOSX. But I can do only this with the terminal. Exists another possibilty to start the app with MacOSX?

Regards
Björn

Morteza Milani

unread,
Aug 14, 2012, 4:27:35 PM8/14/12
to appj...@googlegroups.com
You should create an app bundle ( .app ) to launch your app from desktop. 


.::Morteza Milani || مرتضی میلانی::.



--
You received this message because you are subscribed to the Google Groups "appjs-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/appjs-dev/-/f7qiD6b-mksJ.

To post to this group, send email to appj...@googlegroups.com.
To unsubscribe from this group, send email to appjs-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/appjs-dev?hl=en.

BjA

unread,
Aug 14, 2012, 5:52:00 PM8/14/12
to appj...@googlegroups.com
Thanks for your response. I will try it.

DanB UK

unread,
Aug 15, 2012, 3:16:38 AM8/15/12
to appj...@googlegroups.com
Bjoern,

You may want to look at the work I've been doing. I've made a package installer for osx that installs node 32bit along with appjs into /opt/appjs.
Along with an example .app bundle that uses it. Means that .apps don't have to contain all of node/cef/etc each time.


Cheers,

DanB.

To view this discussion on the web visit https://groups.google.com/d/msg/appjs-dev/-/IxiWchgri7kJ.

To post to this group, send email to appj...@googlegroups.com.
To unsubscribe from this group, send email to appjs-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/appjs-dev?hl=en.



--
DanB UK
London, UK

BjA

unread,
Aug 15, 2012, 4:58:33 PM8/15/12
to appj...@googlegroups.com
Hey Dan,

thanks!

Cheers
Björn

DanB UK

unread,
Aug 26, 2012, 11:58:20 AM8/26/12
to appj...@googlegroups.com
I've updated the pkg installer to 0.0.19

http://danbuk.github.com/appjs/

Cheers,

DanB.
> https://groups.google.com/d/msg/appjs-dev/-/K7t_SZ_CPWYJ.

BjA

unread,
Aug 26, 2012, 5:47:50 PM8/26/12
to appj...@googlegroups.com
Hey DanB,

thanks for your message.

Can you explain please why you need an extra nodejs install package on macosx? On windows or linux I don't need that.

Cheers
Björn

DanB UK

unread,
Aug 27, 2012, 2:26:11 AM8/27/12
to appj...@googlegroups.com
Hi Björn,

By packaging the AppJS as a separate package, it can be installed once
onto a machine, then many .app bundles can utilise it. Therefore the
.app bundles are a lot smaller.
> https://groups.google.com/d/msg/appjs-dev/-/14gHsU5wPpgJ.
Reply all
Reply to author
Forward
0 new messages