Swhx distribution
From HippoHX
As you should already know, we are powered by SWHX so in order to distribute our applications, we have to follow SWHX's distribution rules. You really shouldn't care about this as we (will) take care of it for you. However, we leave it here for documenting purposes. We've found this information mostly in haXe site, Screenweaver site and haXe mailing list.
Once you've created any of the folders bellow, add there any resources you are using like images, xml files, whatever.
NOTE: Current SWHX version is 1,2,0 replace "xxx" with that version number in the paths bellow.
[edit] PC
For Windows PCs, just create a folder and put there:
- SWHX boot loader (swhx.exe from lib\swhx\xxx\tools, rename it to whatever you want)
- neko.dll (Neko VM, from Neko for Win installation)
- gc.dll (Boehm GC garbage collector, from Neko for Win installation)
- regexp.ndll (from Neko for Win installation)
- std.ndll (from Neko for Win installation)
- zlib.ndll (from Neko for Win installation)
- ui.ndll (from Neko for Win installation)
- swhx.ndll (from lib\swhx\xxx\ndll\Windows)
- app.n (the Neko backend)
NOTE: If you need/want all these files as a single exe file read Windows single file executable.
[edit] Mac
NOTE for Macs: Typical haxe installation path is /usr/lib/haxe
Mac format is based on .app folder structure. From Screenweaver site:
For those new to OSX: *.app files are a special kind of folder on OSX. You can open them by right-clicking the *.app file and selection "Show contents" from the pop-up menu
- yourapp.app
- Contents (folder)
- Info.plist (file, swroot pointing to Contents/Resources)
- MacOS (folder)
- libneko.dylib (from Neko for Mac installation)
- swhx (from lib\swhx\xxx\tools\swhx.app\Contents\MacOS)
- Resources (folder)
- regexp.ndll (from Neko for Mac installation)
- std.ndll (from Neko for Mac installation)
- zlib.ndll (from Neko for Mac installation)
- ui.ndll (from Neko for Mac installation)
- swhx.ndll (from lib\swhx\xxx\ndll\Mac)
- swhx2.icns (from lib\swhx\xxx\tools\swhx.app\Contents\Resources)
- app.n (the Neko backend)
- Contents (folder)

