Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Linux version for the Launcher #387

Closed
mkopecki opened this issue Dec 2, 2016 · 9 comments
Closed

Official Linux version for the Launcher #387

mkopecki opened this issue Dec 2, 2016 · 9 comments
Labels
Type: Enhancement New features or noticable improvements.

Comments

@mkopecki
Copy link

mkopecki commented Dec 2, 2016

Hey!
After I made the Tutorial Video for the Launcher (GCI Task) someone commented that he needs a version for Linux. I told him to manually open the .jar in the lib folder but I still think that it wouldn't be a shame to build a Launcher version that could easily be opened on Linux for a non-computer expert. If someone of the mentors would create a GCI task for that I would create a Linux version as soon as I finished my current task.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39714965-official-linux-version-for-the-launcher?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github).
@Cervator
Copy link
Member

Cervator commented Dec 2, 2016

There is a Linux launch script already included in the launcher, in the bin dir :-)

Can you confirm that it meets the requirement, or do you mean actually adding the launcher to a Linux package manager?

@mkopecki
Copy link
Author

mkopecki commented Dec 2, 2016

Oh, I actually didn't see that one! But I mean which player who just wants to play this game on his Linux machine searches the bin directory for start script. Nobody. I think there should be a clear marked downloadable Linux version which includes the start script in the first layer to not force the player to search any directories.

@skaldarnar
Copy link
Member

skaldarnar commented Dec 2, 2016 via email

@rzats
Copy link
Member

rzats commented Dec 2, 2016

The launch script @Cervator has mentioned (buildBundles) does not appear to work:

FAILURE: Build failed with an exception.

* What went wrong:
Cannot expand ZIP 'C:\Users\rzats\Desktop\TerasologyLauncher-develop\jres\linux32.zip' as it does not exist.

It might just be an old piece of code that wasn't on anyone's radar for a while and got broken - ergo, need a fix for that 🙂

@skaldarnar
Copy link
Member

skaldarnar commented Dec 2, 2016 via email

@mkopecki
Copy link
Author

mkopecki commented Dec 2, 2016

I created all the files and directories gradle wanted me to. Now the build is working.
The problem is that I have no clue what the .zip files for each os in the folder /jres should contain.

In the bundles.gradle it is searching for those files and can't find them
arch.jreArchive = new File("${projectDir}/jres/${arch}.zip")

The other problem seems to be that the ZIP-Builder won't even include the platform indipendent files like the java libs.

Anybody has an idea?

@skaldarnar
Copy link
Member

skaldarnar commented Dec 3, 2016

https://github.com/MovingBlocks/TerasologyJre

The ZIP files contain the JRE for the specific platform to run the launcher. The idea was/is to bundle the JRE so that we do not depend on a local Java installation (see #259 and #326). Afaik we got got it working to some extent - the only reason this was held back was the increase in the launcher's file size with each new release.
We should give this another try! We have the pieces for incremental updates (see #260) and the bundled JREs, just ™️ have to pull it together.

@keturn
Copy link
Member

keturn commented Mar 2, 2019

Related: #423, as flatpak is a way to package applications for Linux.

@skaldarnar skaldarnar added this to the v4.1.0 milestone Nov 10, 2019
@skaldarnar skaldarnar added the Type: Enhancement New features or noticable improvements. label Nov 10, 2019
@skaldarnar
Copy link
Member

Feature request is tracked as part of #492.

@skaldarnar skaldarnar removed this from the v5.x milestone Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New features or noticable improvements.
Projects
None yet
Development

No branches or pull requests

5 participants