deepnight / redistHelper

A small Windows script to quickly create redistribuable of an existing simple HL/JS/SWF haxe project.
Apache License 2.0
37 stars 14 forks source link

Add Linux packaging #4

Open deepnight opened 4 years ago

deepnight commented 4 years ago

Follow up of: https://github.com/deepnight/deepnightLibs/issues/8

Help needed:

snsvrno commented 3 years ago

I want to help out on this one. Currently there are three portable linux packages that I know of that would work for this.

I'm thinking this route as these are meant to be platform independent (ubuntu, debian, arch, etc..) and contains all their dependencies so they are portable.

I did some small test and I can package the game using AppImages (manually), and it works, but the standard tool used is an AppImage (to make the AppImage) so it is only available on unix platforms (maybe Mac?, probably would work on windows with WSL). But that is too complex, I'd want the packaging solution to work on all platforms.

I'll test the build process for the other two and see which of them would be easiest to do on windows / mac platforms.

Ultimately I'd like the packing to be solely with redistHelper and not require any additional tools.

snsvrno commented 3 years ago

A question on preferred direction.


Running redistHelper current on linux doesn't work because it is looking in the path for hl haxe and neko libs and binaries from the path (and looking for *.exe).

Should this be the methodolgy forward? I can also have it look for hl haxe and neko on the system to make linux packages for linux, but then I'd still need to supply win64 files to package on a linux platform (and the linux files to make packages on windows).

I'd recommend moving forward to have all required files inside redistHelper and not look at anything from the packaging system.

redistFiles/hl32win
redistFiles/hl32win
redistFiles/hl64linux
redistFiles/hl64mac
redistFiles/neko...

This ties a little into #13 because now we are getting larger sizes for the combined library (44 mbs for all the supporting files), and not everyone might want all these files.

folder size (mb)
redistFiles/hl64win 6.2
redistFiles/hl32win 5.4
redistFiles/hl64linux 7.7
redistFiles/hl64mac 5.4
redistFiles/flash 16