TheKodeToad
e86fbc697f
Fix formatting
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08 16:25:09 +00:00
solonovamax
99d9868116
Cleanup EntryPoint code
...
- Don't return an int from listen(). An enum is preferred.
- Make parseLine() static, and pass Parameters to it.
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08 16:25:09 +00:00
solonovamax
107fa6b4f7
Code refactors
...
- Refactor LauncherFactory.LauncherProvider to LauncherFactory
- Refactor all launcher related components to launcher package
- some basic code cleanup
- Rename all, allSafe -> getList and first, firstSafe -> getString
- Rename Utils -> LegacyUtils
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08 16:25:09 +00:00
solonovamax
9062d28704
Get rid of singleton, and refactor LauncherFactory to be a static class
...
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08 16:25:09 +00:00
TheKodeToad
e68dcea6bc
Various tweaks to the Java component of the launcher
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08 16:24:55 +00:00
Samisafool
8201d1df02
Rename
...
Signed-off-by: Samisafool <thenerdiestguy@gmail.com>
2022-10-19 15:02:43 +05:30
Sefa Eyeoglu
098327f128
Merge pull request #903 from jopejoe1/demo-launch
2022-09-18 14:41:25 +02:00
flow
5765a1fdf1
fix: allow demo for older versions
...
We were not propagating the '--demo' flag in the legacy launcher,
unconditionally setting the 'demo' parameter to false.
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15 18:44:18 -03:00
Sefa Eyeoglu
684b8f24f3
fix: allow starting rd- versions
...
Using `Collections.emptyList()` doesn't allow us to later append stuff
into that list. Use an empty `ArrayList` instead.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-15 09:29:48 +02:00
Sefa Eyeoglu
1b559c7776
Revert "Move classpath definition into NewLaunch itself"
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-05 17:37:10 +02:00
Sefa Eyeoglu
01505910f4
refactor: move classpath definition into NewLaunch itself
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-18 18:14:01 +02:00
Sefa Eyeoglu
08fc3ea2e0
fix: add classpath exception to launcher library
...
Signed-off-by: icelimetea <fr3shtea@outlook.com>
2022-06-16 17:58:38 +02:00
Sefa Eyeoglu
0ba02f0830
refactor: rename NewLaunch package
2022-06-15 10:05:35 +02:00
icelimetea
3f259eb97a
Refactor script parsing
2022-05-14 16:48:14 +01:00
icelimetea
fac0b027b3
Fix the license header
2022-05-14 16:46:57 +01:00
icelimetea
c3336251e0
Add the license header to EntryPoint
2022-05-13 18:10:11 +01:00
icelimetea
c054d0f329
Add the license header to LauncherFactory
2022-05-13 17:21:35 +01:00
icelimetea
067484a6a8
Fix formatting
2022-05-13 16:59:00 +01:00
icelimetea
113528e1f2
Make line count check more lenient
2022-05-05 07:20:33 +01:00
icelimetea
6bffa06063
Fix typo
2022-05-05 07:16:16 +01:00
icelimetea
dcc41ef885
Improve mpticket file parsing code
2022-05-05 07:14:32 +01:00
icelimetea
9a87ae575e
More minor fixes
2022-05-03 03:19:26 +01:00
icelimetea
860a7af679
Fix method access modifier
2022-05-03 00:53:22 +01:00
icelimetea
eeb5297284
Use only Java 7 features (in order to deal with #515 )
2022-05-03 00:25:26 +01:00
icelimetea
8de63b60b1
Refactor some parts of NewLaunch (part 2)
2022-05-02 22:36:55 +01:00
icelimetea
884f772362
Clarify exception messages
2022-04-25 11:22:56 +01:00
icelimetea
b0a469baab
Use java.util.logging instead of custom logging
2022-04-24 15:10:35 +01:00
icelimetea
c968c1be78
Refactor some parts of NewLaunch
2022-04-24 14:45:01 +01:00
Petr Mrázek
5b3dffce62
NOISSUE continue debranding...
2021-10-21 00:47:53 +02:00
Janrupf
0ccd7223fd
NOISSUE Make LauncherPart aware of server to join
2021-05-22 16:33:16 +02:00
AppleTheGolden
0de064eb35
NOISSUE Update Copyright Year
2021-01-18 08:28:54 +01:00
AppleTheGolden
437dec91f9
Update Copyright Year
2019-01-16 21:14:24 +01:00
Petr Mrázek
59e2f52db7
GH-2238 fix issues with whitespace/newlines in folder and instance names
2018-11-01 00:18:49 +01:00
Petr Mrázek
bbb3b3e6f6
NOISSUE tabs -> spaces
2018-07-15 14:51:05 +02:00
Petr Mrázek
f259e9f727
NOISSUE update copyright dates
2018-02-11 00:40:01 +01:00
MinecraftZuriki
3470158943
Support for classic multiplayer via mpticket
2017-11-18 01:27:57 +11:00
Petr Mrázek
b76bdf9368
GH-2026 avoid using awt Dimension class to fix input issues on macOS
2017-10-29 12:24:49 +01:00
Petr Mrázek
7add9de1cf
GH-2026 remove some macOS stuff from launcher part to fix input issues on 1.13
2017-10-29 10:02:01 +01:00
Petr Mrázek
464bc0f770
GH-1997 replace use of weird hacks with normal java arguments
...
This affects classpath and java.library.path.
The catch is that if the strings cannot be expressed in system codepage
on Windows, it tries to use 8.3 paths.
2017-09-27 04:04:19 +02:00
Petr Mrázek
c707042dd7
NOISSUE set haspaid parameter to true when launching old versions
2017-09-20 23:57:20 +02:00
Petr Mrázek
c19f6d4dcd
NOISSUE allow running legacy without the applet wrapper
...
Add 'noapplet' as a trait to do that.
2017-07-14 08:43:35 +02:00
Petr Mrázek
f530aae9d3
NOISSUE update all the Copyright comments and texts to include 2017
2017-01-08 04:58:05 +01:00
Petr Mrázek
cee53f7f3c
Revert "NOISSUE nuke builtin Minecraft versions"
...
This reverts commit 5ae3b2c114
.
We need those builtin versions for now.
2016-10-26 18:23:39 +02:00
Petr Mrázek
1f2bed2ef1
NOISSUE implement direct java launch
...
Just running the Java process and giving it params on the command line
2016-08-01 21:15:08 +02:00
Petr Mrázek
b6d455a02b
NOISSUE reorganize and document libraries
2016-05-01 00:00:14 +02:00