aboutsummaryrefslogtreecommitdiff
path: root/launcher/java/JavaUtils.cpp
AgeCommit message (Collapse)Author
2023-02-04Java installations detection fix for LinuxBalkanMadman
Signed-off-by: BalkanMadman <zurabid2016@gmail.com>
2022-10-26Add a snapcraft.yml for building SnapsPiper McCorkle
The included snapcraft.yml can be used to build a Snap (the application format used by Canonical's modern package manager) out of Prism. If the project wants in the future, Prism can publish these Snaps to the Snap Store so the Prism Launcher can be installed through the Ubuntu Software app on vanilla Ubuntu. I haven't registered the Snap name, so it's currently free for anyone to reserve. I'd suggest that a Prism developer register the name prismlauncher at https://snapcraft.io/register-snap to ensure the name belongs to the project, even if there are no plans of setting up CI to publish snaps in the short term. I have also modified JavaUtils.cpp to be able to autodetect the Java versions included in the Snap, and added "*.snap" to the .gitignore so the compiled Snap isn't accidentally committed to the repository. Signed-off-by: Piper McCorkle <contact@piperswe.me>
2022-10-22Use correct variable for WindowsAliceDTRH
Signed-off-by: AliceDTRH <57547425+AliceDTRH@users.noreply.github.com>
2022-10-22Deduplicates java installs before passing it onAliceDTRH
Signed-off-by: AliceDTRH <57547425+AliceDTRH@users.noreply.github.com>
2022-10-19RenameSamisafool
Signed-off-by: Samisafool <thenerdiestguy@gmail.com>
2022-10-18refactor: initial rebrandSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-18use qEnvironmentVariable instead of qgetenv in JavaUtilsTayou
Signed-off-by: Tayou <tayou@gmx.net>
2022-08-18check for java installs in PATH on windowsTayou
this should find java installs from scoop as well as any other installer, that registers java in the PATH environment variable. Signed-off-by: Tayou <tayou@gmx.net>
2022-07-23Merge pull request #893 from Scrumplex/refactor-env-handlingtimoreo
2022-07-19fix: support LD_* for OpenBSDSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19refactor: filter values in environment variablesSefa Eyeoglu
Before this change, you had to specify custom LD_* variables using the prefix GAME_LD_*. Now instead of dropping all LD_* variables by default, we should just filter them and remove the values we *know* are from our start script. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19fix: fix Java Checker on Windows, againSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-16fix: fix memory leak on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11fix: remove unnecessary code for WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11fix: fix unicode issue with JavaChecker on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: set UNICODE and _UNICODE for Qt 5 buildsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03feat: resolve JARs dynamicallySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-03-29Merge pull request #360 from FayneAldan/patch-2dada513
2022-03-28Convert \s in Windows POLYMC_JAVA_PATHSFayne Aldan
Allows you to use either `\` or `/` on Windows
2022-03-27Fix POLYMC_JAVA_PATHS env not working on WindowsFayne Aldan
2022-01-11Introduce POLYMC_JAVA_PATHS envMustafa Çalışkan
2022-01-10More rebrandingswirl
Closes: #39 Mostly done with rebranding now. We just need to translate some services to PolyMC.
2021-12-31Merge remote-tracking branch 'upstream/develop' into upstream_updatedada513
2021-12-30Merge pull request #4345 from graemeg/freebsd-supportPetr Mrázek
Adds FreeBSD support to MultiMC
2021-12-28Flatpak & Debian Packaging (#4)dada513
Flatpak & Debian packages
2021-12-12Changes required to support FreeBSDGraeme Geldenhuys
2021-12-10GH-4000 Scan for Adoptium JREsNewoIsTaken
2021-11-28Merge pull request #4230 from NewoIsTaken/patch-1Petr Mrázek
GH-4224 Scan 64 bit lib directory to find Java
2021-11-07GH-4200 Search Eclipse Foundation and Adoptium in RegistryOwen Wang
2021-11-07GH-4224 Scan 64 bit lib directory to find JavaOwen Wang
2021-08-09GH-3996 Detect Adoptium JDK'sphit
2021-07-25NOISSUE Flatten gui and logic libraries into MultiMCPetr Mrázek