1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-24 12:16:28 +01:00
Commit Graph

205 Commits

Author SHA1 Message Date
Henry Le Grys
22ac043cdd Bump minimum manifest version 2020-12-19 19:13:02 +00:00
Henry Le Grys
b12e3610b5 Fix Updater logic for downloading a missing version manifest
This codepath was unlikely to be hit since modern manifests always embed
the version manifest, but good to have a working fallback...
2020-12-07 03:44:03 +00:00
Henry Le Grys
fb7a99549e Set progress dialog as resizable
Fixes a bug under Linux where the dialog never resizes, even when the
details button is clicked.
2020-12-03 12:30:27 +00:00
Henry Le Grys
9a32ab8dc3 Add support for Fabric loader & expand SidedData
Also improved library handling some more
2020-12-03 01:17:18 +00:00
Henry Le Grys
69a001282c Support LiteLoader again by improving processor selection logic 2020-12-02 04:27:10 +00:00
Henry Le Grys
e1062303df Fix argument passing & add back commandline for legacy versions
- Game/jvm arguments are now passed one-at-a-time, never grouped
- Added support for legacy version manifests by adding in the missing
arguments
- Correctly pull arguments from old manifests
- Some slightly hacky handling for old library stanzas
- Short-circuit if library URL has empty path to prevent accidentally
downloading HTML pages as jars
- Add launcherShortname prop, passed to --versionType
2020-12-02 04:14:29 +00:00
Henry Le Grys
aeedf09f8c Refactor loader processing into subclasses for greater flexibility 2020-12-02 02:29:52 +00:00
Henry Le Grys
8b6f3abaf9 Skip extra files that are server-only 2020-12-02 01:22:26 +00:00
Henry Le Grys
25d7b8227c Remove unused properties from launcher.properties 2020-12-02 01:01:43 +00:00
Henry Le Grys
86247c98a9 Update launcher/runner component to new models
- Fix game arguments being missing from version manifest due to new format
- Update Runner to use more substitutions & support new argument model
- Move loader/installer libraries to their own section to avoid runtime conflicts
- Implement some basic feature matching for arguments
2020-12-01 23:41:55 +00:00
Henry Le Grys
410031a86f Initial 1.16 update
oh lord okay
- Update to new launchermeta endpoint for version manifests
- Fix library handling (libraries now seem to give us the URL most of the time)
- Write entire new system for handling the forge installer process
- Fix asset handling, mostly (still TODO is remove all traces of assetSource, it's given to us by launchermeta now)
2020-12-01 18:41:44 +00:00
sk89q
40b5fb838c Update to Java 9/10. Fancy version is still broken. 2018-07-14 19:09:40 -07:00
sk89q
55ba08aaf1 Git ignore test files. 2018-07-14 19:08:36 -07:00
Albert Pham
403f2848b8
Merge pull request #215 from me4502/master
Add argument to configuration for auto-joining a server.
2017-11-11 07:54:21 -08:00
Albert Pham
768f7a5a0c
Merge pull request #188 from Matrix89/master
Add clear console button.
2017-11-11 07:53:28 -08:00
Albert Pham
a31081ec9f
Redo screenshot heading weights in the README. 2017-11-11 07:51:50 -08:00
Albert Pham
3daa29c9fc
Updating the readme again 👌 2017-11-11 07:50:54 -08:00
Albert Pham
b92c744ead
Update the README. 2017-11-11 07:47:12 -08:00
Matthew Miller
21e67328c7 Added server argument to configuration 2017-11-11 15:42:16 +10:00
Albert Pham
2c9ccb4338 Merge pull request #212 from Team-IO/pr-fix-java9
Fix runtime issue with Java 9 (java.xml.bind API)
2017-10-20 10:48:36 -07:00
Oliver Kahrmann
300da2df56 Fix runtime issue with Java 9 (java.xml.bind API) 2017-10-20 19:04:11 +02:00
sk89q
f9a728dcd6 Add minecraft.applet.TargetDirectory flag for legacy MC. 2017-08-18 15:34:24 -07:00
Matrix89
23a05d1299 Add clear console button 2017-03-24 18:14:30 +02:00
Albert Pham
657cbe89b5 Merge pull request #173 from xbony2/patch-1
Fix typo in README.md.
2016-12-17 17:26:08 -08:00
Albert Pham
a372a9e577 Merge pull request #174 from HostileNetworks/master
Fix build.bat (wrong EOL).
2016-12-17 17:25:07 -08:00
CosmicDan
33ddc11cf1 Fix build.bat (wrong EOL) 2016-12-16 11:15:12 +11:00
xbony2
5cb1e887dd Update README.md 2016-12-14 20:50:01 -05:00
sk89q
64ed29f9c0 Fix .url.txt not working if building from within creator tools. 2016-09-05 12:14:55 -07:00
Albert Pham
34f7035bb0 Merge pull request #155 from Team-IO/reload-news
Reload news page when pressing "Check for Updates"
2016-07-31 16:24:00 -07:00
Oliver Kahrmann
bd532842b3 Reload news page when pressing "Check for Updates" 2016-07-31 22:35:48 +02:00
Albert Pham
62cd042d46 Merge pull request #146 from dscso/patch-1
Use HTTPS instead of HTTP for JAR downloads.
2016-06-23 09:56:58 -07:00
Jurek Weber
b2ae3316c4 use HTTPS instead of HTTP 2016-05-24 10:27:03 +02:00
sk89q
d01d93c349 Revert 'Use a JList rather than JTable for the instance list.' 2016-04-06 18:23:16 -07:00
sk89q
aa4a51882b Detect BSD as Linux. 2016-04-05 22:02:40 -07:00
Albert Pham
24fddc4236 Merge pull request #122 from DarkArc/patch-1
Update maven_repos.json to use new Maven Central URL.
2016-01-25 13:18:00 -08:00
Wyatt Childers
8ab5a647af Updated maven_repos.json
https://central.maven.org/ now forces users to use https://repo1.maven.org
2016-01-12 22:29:09 -05:00
Albert Pham
7640824e82 Update features listed in README. 2015-11-21 14:10:21 -08:00
Albert Pham
420f9cf57f Update list of features. 2015-11-16 14:12:30 -08:00
sk89q
1673dc57e8 Select nearest entry on right click of instance list. 2015-11-14 16:22:20 -08:00
sk89q
991d39ced6 Use a JList rather than JTable for the instance list. 2015-11-14 14:13:50 -08:00
sk89q
2cd6ba59ff Load UI assets in the background. 2015-11-14 12:09:46 -08:00
sk89q
c1cbff754e Possibly improve detection of 32-bit/64-bit. 2015-08-03 14:25:54 -07:00
sk89q
300c8167d8 Clean up JavaRuntimeFinder. 2015-08-03 14:21:03 -07:00
sk89q
4c8a65d8a3 Set better memory defaults. 2015-08-03 14:16:23 -07:00
sk89q
c3c6febdbd Bump version to 4.3-SNAPSHOT. 2015-08-03 13:48:27 -07:00
sk89q
3e18bcde89 Fix the Launch/Install context menu options not being localized.
Fixes #72
2015-08-03 13:46:58 -07:00
sk89q
64ee00bd1d Fix the launcher frame starting too small on some systems.
Fixes #83
2015-08-03 13:44:25 -07:00
sk89q
40555cce59 Merge pull request #82 from seebs/master
Avoid pathological failure mode when trimming lines.
2015-08-03 13:40:54 -07:00
Seebs
2a50a19d73 Avoid pathological failure mode when trimming lines
If for any reason the document associated with a LimitLinesDocumentListener
ended up not getting shorter when its first line was removed (this is,
of course, impossible), sklauncher would wedge in a busy loop that
completely killed the GUI thread forever.

Solution, part #1: Don't do a while loop, just remove multiple lines
if you need to.

But wait, why are we having this problem at all? It turns out that there
are problems when the document's length changes, which can manifest as
tons of BadLocationExceptions going uncaught in the AWT thread which is
trying to refresh the window. Why? Probably because the insert into the
document isn't happening in the Swing run queue, but concurrently with
it. So use an invokeLater to do the actual insertion.

With these two changes, and a console set to 125 lines, I got no failures.
Previously, if I set the console to 125 lines, it would die catastrophically
before Minecraft was done starting up.

Also performance may be noticably better. It's pretty common for things
to dump 20+ lines into the buffer at once. If you have a 10,000 line buffer,
and you then delete the first line of it 20 times, that's actually a whole
lot of allocation and shuffling going on.
2015-07-30 19:00:08 -05:00
sk89q
454aa327a4 [Creator] Add mod update checker. 2015-07-27 19:56:53 -07:00