Commit Graph

334 Commits

Author SHA1 Message Date
Petr Mrázek
e5c962b7b9 NOISSUE acknowledge the truth 2022-07-19 19:04:29 +02:00
arthomnix
844ed61aa4 NOISSUE Yeet the version check 2022-07-19 17:14:46 +01:00
Petr Mrázek
bec8293f28
Merge pull request #4808 from arthomnix/feature-create-shortcut
NOISSUE (Re-)implement the ability to create instance shortcuts
2022-07-19 17:25:35 +02:00
arthomnix
ffec1e1930 GH-4812 Set placeholder even if the user has changed the name 2022-07-11 19:55:36 +01:00
arthomnix
ec897aee95 GH-4812 More improvements related to instance name
Selects text on focus rather than selecting text and focusing by default. Text is not selected if the user has changed the name from the default.
If the user changes the instance name, don't change it when they select a new version or modpack.
Add a reset button that changes the instance name back to the default for the selected version/pack, and resets the flag that stops the name from being changed upon selecting a new version/pack.
2022-07-11 19:51:31 +01:00
arthomnix
00589b247a GH-4812 Prefill instance name to allow making adjustments
Fills the instance name in instead of just setting a placeholder. This allows adjustments to be made to the suggested name without typing the whole thing out.
The text is selected by default so that typing will overwrite the text, but users who want to adjust the default name instead of typing their own can deselect the text.
The placeholder name is still set so it is still visible if the user deletes the text.
Also sets the focus to the instance name textbox by default, whereas previously it was on the group name - this is required so the text gets overwritten on typing but also makes more sense generally.
Closes issue #4812.
2022-07-11 18:02:20 +01:00
xcfrg
346496c3fd
fix: log file extension of mods to clear ambiguity 2022-07-08 23:28:03 -04:00
arthomnix
518b19e667 NOISSUE shortcut creation: enclose paths in quotes 2022-07-06 08:03:04 +01:00
xcfrg
3621594213
feat: add log upload confirmation 2022-07-05 23:33:04 -04:00
arthomnix
79910e3542 NOISSUE shortcut creation: put file dialog in save mode
This makes sure that the user is prompted if they are about to overwrite a file
2022-07-03 19:53:45 +01:00
arthomnix
0a2ad17f06 NOISSUE shortcut creation: add comments and todo 2022-07-03 18:11:18 +01:00
arthomnix
7df413db1a NOISSUE shortcut creation: blacklist versions by date instead of regex 2022-07-03 16:57:20 +01:00
arthomnix
6faa0ef711 NOISSUE shortcut creation: reload pack profile before checking version 2022-07-03 16:43:23 +01:00
arthomnix
363588789e NOISSUE shortcut creation: fix version check 2022-07-03 16:30:30 +01:00
arthomnix
2dc44b3ff5 NOISSUE fix build 2022-07-03 16:21:21 +01:00
arthomnix
7938585abb NOISSUE shortcut creation: add version blacklist for joining server on launch
These versions are known to crash when joining a server on launch (see MC-145102 and MC-228828)
2022-07-03 15:47:54 +01:00
arthomnix
bbdbe47e72 NOISSUE actually use the directory as the working directory 2022-07-03 14:19:50 +01:00
arthomnix
75b8765604 NOISSUE shortcut creation: set working directory in other shortcut types 2022-07-03 14:00:55 +01:00
arthomnix
7217e3991a NOISSUE shortcut support: set working directory in .desktop files 2022-07-03 13:45:58 +01:00
arthomnix
bf5be5568e NOISSUE curly brace formatting 2022-07-03 13:17:25 +01:00
arthomnix
018e6229ca NOISSUE shortcut creation: add windows .lnk support 2022-07-03 13:07:21 +01:00
arthomnix
21413b964a NOISSUE replace copyright header that got removed by qt designer 2022-07-03 09:56:16 +01:00
arthomnix
6a3ff58c8c NOISSUE shortcut creation: add option to create launch scripts
This allows shortcuts to be created on Macs (which don't have a concept of desktop shortcuts) as well as Linux systems that don't support the desktop file specification. Also included a windows batch file implementation.
2022-07-03 09:52:56 +01:00
arthomnix
645bc3f445 NOISSUE shortcut creation: set default shortcut filename 2022-07-03 08:33:46 +01:00
arthomnix
a0c44f7062 NOISSUE shortcut creation: add icons on linux 2022-07-03 08:27:13 +01:00
arthomnix
6c31125f02 NOISSUE fix arrangement of includes again 2022-07-03 07:57:15 +01:00
arthomnix
b326fef61b NOISSUE fix arrangement of includes 2022-07-03 07:56:25 +01:00
arthomnix
5d14dede50 NOISSUE WIP implementation of the ability to create instance shortcuts
Currently Linux-only and lacking some features
2022-07-03 07:54:20 +01:00
Petr Mrázek
bf80bd1143 NOISSUE implement handling of client-overrides for Modrinth 2022-06-13 23:41:47 +02:00
Petr Mrázek
0917706b22 GH-4724 set suggested version for Modrinth packs when it is changed 2022-06-11 17:44:51 +02:00
Petr Mrázek
c7256744c6 GH-3012 add --offline and --name arguments
These allow launching offline with a specified name from the command line.
2022-06-09 23:46:28 +02:00
Petr Mrázek
8235752dec NOISSUE stop marking Modrinth as WIP
Even though it might need more changes, it should be good to go.
2022-06-09 20:17:49 +02:00
Petr Mrázek
dd277cba08 NOISSUE properly assign license to Mojang binary package code 2022-06-06 22:12:21 +02:00
Petr Mrázek
fe75a7f09e NOISSUE slightly improve Forge detection in FTBA import 2022-06-05 00:09:28 +02:00
Petr Mrázek
305157746a NOISSUE Do not log Mojang token response 2022-06-05 00:08:49 +02:00
Petr Mrázek
214d615d18 NOISSUE significantly more reliable detection of modloaders for FTBA 2022-05-30 01:38:19 +02:00
Petr Mrázek
66c6e6e05d NOISSUE disambiguate Json parsing calls 2022-05-29 04:58:42 +02:00
Petr Mrázek
f59822fd65 NOISSUE make FTBA import more lenient towards missing fields 2022-05-29 04:24:55 +02:00
Petr Mrázek
43ebd02dcf NOISSUE it's LOCALAPPDATA not APPDATALOCAL... 2022-05-29 00:27:28 +02:00
Petr Mrázek
8a6f673567 NOISSUE maybe fix FTBA path on Windows? 2022-05-29 00:00:38 +02:00
Petr Mrázek
efe181bd28 NOISSUE maybe fill in correct FTB App settings paths 2022-05-28 23:23:45 +02:00
Petr Mrázek
41e5b3b628 NOISSUE Add FTB App import page to new instance dialog 2022-05-28 22:42:09 +02:00
Jamie Mansfield
0327a3cdbf
NOISSUE Delete files from configs if they conflict with a mod 2022-05-23 21:40:14 +01:00
Jamie Mansfield
c88f147ae4
NOISSUE Handle extra arguments depends for ATLauncher 2022-05-23 20:42:37 +01:00
Jamie Mansfield
f9924af2a0
NOISSUE Handle main class depends for ATLauncher 2022-05-23 20:42:23 +01:00
Trym
3c815b8b8d
Update LoggedProcess.cpp
#4704
2022-05-22 00:45:34 +02:00
Petr Mrázek
66e165f4b8
Merge pull request #4496 from Janrupf/develop
NOISSUE Attempt to make exit codes more useful on Windows
2022-05-20 20:47:41 +02:00
Janrupf
aebd9aa745 NOISSUE Add extra warning to exit code logging 2022-05-20 20:28:25 +02:00
Janrupf
cbe6d0dbfd NOISSUE Move NtStatusGen to external repository 2022-05-20 19:59:09 +02:00
Petr Mrázek
0a827ba70e NOISSUE Remove FTB and Curse integration
This has been requested by Slowpoke, on behalf of both FTB and OverWolf.

Import from locally installed packs from the official clients will be
the replacement, but for now, you will have to do that manually.

It was nice while it lasted.
2022-05-19 20:43:50 +02:00
Jamie Mansfield
78003c5eed
NOISSUE Apply the Minecraft version correctly
It was previously using a deprecated field.
2022-05-17 21:08:31 +01:00
Petr Mrázek
585c93fd7f
Merge pull request #4662 from Scotsguy/develop
NOISSUE Mod metadata parsing for Quilt mods
2022-05-17 21:21:31 +02:00
Jamie Mansfield
a28adf7b62
NOISSUE Match Vanilla launcher for launch arguments 2022-05-17 18:51:19 +01:00
Petr Mrázek
3e1939de8e NOISSUE fix build 2022-05-17 00:30:12 +02:00
Petr Mrázek
ceaea5db2f NOISSUE Redo Curse import on top of modpacks.ch API 2022-05-17 00:22:23 +02:00
Jamie Mansfield
40e67d2bc6 NOISSUE Use ModpacksCH rather than FTB in error messages
As the platform will now be used more widely than Feed The Beast, its
more appropriate that these error messages use the platform name.
2022-05-16 01:50:02 +02:00
Jamie Mansfield
f7acde4389 NOISSUE Support installing CurseForge packs on modpacks.ch
There should be all the needed changes to install CurseForge modpacks
through modpacks.ch in place now.

Now the effort will need to move towards getting the GUI aspects to play
nice.
2022-05-16 01:50:02 +02:00
Jamie Mansfield
8c1d95b484 NOISSUE Support parsing CurseForge modpacks on modpacks.ch
CurseForge packs don't have specs, and files versions are integers.
2022-05-16 01:50:02 +02:00
Jamie Mansfield
863cf3807e NOISSUE Support cf-extract file type on modpacks.ch
This makes a start on supporting CurseForge pack installation through
the modpacks.ch API.
2022-05-16 01:50:02 +02:00
Petr Mrázek
cad522fe41 NOISSUE add Quilt support for Technic modpacks 2022-05-16 01:42:30 +02:00
Petr Mrázek
9d255901bc NOISSUE update Modrinth logo 2022-05-16 01:38:15 +02:00
Petr Mrázek
f948fd82ab NOISSUE fix build on Windows 2022-05-16 00:39:13 +02:00
Petr Mrázek
9c4fcb826d NOISSUE fix build on Linux 2022-05-16 00:37:29 +02:00
Petr Mrázek
5c1026bd12 NOISSUE Working import from Modrinth, license update to accomodate it 2022-05-16 00:25:36 +02:00
kb1000
acc637cfcb
Start working on search 2022-05-12 00:20:35 +02:00
kb1000
831b76bb78
Add support for importing Modrinth packs from files 2022-05-11 23:51:33 +02:00
AppleTheGolden
6ce93de8c0
NOISSUE Mod metadata parsing for quilt.mod.json 2022-04-30 11:56:51 +02:00
Petr Mrázek
a8b3d470da
Merge pull request #3760 from kb-1000/quilt
GH-3742 add Install Quilt button
2022-04-23 18:34:52 +02:00
Petr Mrázek
b39410a2c2 GH-4317 Detect forced migration state and show errors for it 2022-04-23 01:31:03 +02:00
Petr Mrázek
6afff3e31f NOISSUE prevent -version being passed to the JRE
We want specific JREs, always, not something that is magically resolved.
This counteracts some really bad advice recently being spread on reddit.
2022-04-06 22:47:52 +02:00
Vladislav Laetansky
40d77bc265 NOISSUE save custom offline player name 2022-03-28 15:40:34 +03:00
Petr Mrázek
edeffef51d NOISSUE fix error string for Xbox authorization failures 2022-03-18 17:59:50 +01:00
kb1000
533cd09057
NOISSUE Rename Quilt intermediary references to hashed 2022-03-16 20:21:30 +01:00
kb1000
b2e18253a1
GH-3742 add Install Quilt button 2022-03-16 20:21:19 +01:00
Petr Mrázek
ed99c6a0dc
Merge pull request #4529 from jamierocks/lh-2
NOISSUE Add missing licence headers to files I've authoured
2022-03-06 18:28:54 +01:00
Jamie Mansfield
cbcd822e44
NOISSUE Add missing licence headers to files I've authoured 2022-02-21 19:38:41 +00:00
jopejoe1
0fa6c7fbbf
Drop MS-PL 2022-02-21 04:15:21 +13:00
jopejoe1
68fbbf0156
Update FTB Lagacy layout tobe more consistent with others 2022-02-21 03:53:27 +13:00
jopejoe1
da36a5f8de
Update Technic layout to be more consistent with others 2022-02-21 03:50:37 +13:00
Janrupf
918090e02a NOISSUE Integrate exit code reporting into MultiMC log 2022-02-06 21:27:15 +01:00
Petr Mrázek
3ca661127f NOISSUE Add missing tooltip for Export Instance action 2022-02-03 18:09:51 +01:00
Petr Mrázek
2cf04d034a
Merge pull request #4300 from Ghosty141/feature/screenshot_copy
GH-4044 Implemented copy screenshots to the clipboard
2022-01-30 16:11:47 +01:00
Jan200101
3aa9f5c376
Update rpm spec to support OpenSuse and conform to Fedora guidelines 2022-01-28 19:42:30 +01:00
Stypox
8b31c638f3
Fix error message
The code is trying to get a string from a json object, and if that fails it should log "is not a string", not "is not a timestamp".
2022-01-22 21:58:32 +01:00
Petr Mrázek
917f8a31e3 NOISSUE log server response when failing to fetch profile 2022-01-16 12:51:42 +01:00
Petr Mrázek
aa770b63fb NOISSUE correctly set http status code in auth reply 2022-01-16 12:46:20 +01:00
Petr Mrázek
c1bf31cb27 NOISSUE in java checker, ignore invalid lines altogether
Declaring them as errors is just causing problems because Java
randomly prints garbage to STDOUT now.
2022-01-16 12:05:40 +01:00
Petr Mrázek
86d99f80c3 NOISSUE add some logging to profile fetching failures 2022-01-16 11:43:19 +01:00
Petr Mrázek
52420963cf GH-4125 fix it better 2022-01-08 12:26:16 +01:00
Petr Mrázek
03d7300732 GH-4125 workaround for java printing garbage to stdout on bedrock linux 2022-01-08 11:14:07 +01:00
Petr Mrázek
9579231ccc NOISSUE fix build and change how NetJob is used
Feed it network upfront...
2021-12-31 05:27:59 +01:00
Petr Mrázek
9cc168c526 NOISSUE fix some OS ifdefs 2021-12-31 00:36:25 +01:00
Petr Mrázek
94fdf13f4a NOISSUE proper fix for missing profile + demo mode 2021-12-30 21:26:29 +01:00
Petr Mrázek
3efcccf334
Merge pull request #4345 from graemeg/freebsd-support
Adds FreeBSD support to MultiMC
2021-12-30 20:00:45 +01:00
Petr Mrázek
5e909a4e85
Merge pull request #4394 from Janrupf/develop
GH-4299 Fix Screenshot upload
2021-12-30 19:58:16 +01:00
Petr Mrázek
a6e59cb4f4 NOISSUE detect when user loses entitlements 2021-12-30 17:19:41 +01:00
Janrupf
be029ab360 GH-4299 Fix screenshot upload 2021-12-29 19:45:24 +01:00
Janrupf
6fe07561fe GH-4299 Don't hard crash on when missing network 2021-12-29 19:45:15 +01:00
Graeme Geldenhuys
f42c3a953c Restore getNativePath() to its original form. 2021-12-28 21:59:24 +00:00
CreeperzEdge
95c9a6d8f4 Use correct title on Java check during setup 2021-12-23 00:53:02 +11:00
Petr Mrázek
3dd6cea8da NOISSUE do people not even build their PRs when they make them? 2021-12-19 19:12:43 +01:00
Petr Mrázek
6f6fa6955a
Merge pull request #4295 from kb-1000/instanceview-unused-code
NOISSUE Remove some unused code from InstanceView
2021-12-19 18:43:13 +01:00
Petr Mrázek
526b322a4a
Merge pull request #4330 from NewoIsTaken/develop
GH-4000 Scan for Adoptium JREs
2021-12-19 18:40:31 +01:00
Petr Mrázek
aaa12e1ddc
Merge pull request #4354 from ISSOtm/patch-1
Indicate the data folder when related errors occur
2021-12-19 18:36:28 +01:00
Jamie Mansfield
06bedee835
NOISSUE Add license headers to source files created by me 2021-12-18 00:14:25 +00:00
Eldred Habert
cb67fc1d15
Indicate the data folder when related errors occur
This should help troubleshooting such errors when they occur
2021-12-15 00:46:35 +01:00
Petr Mrázek
7d047f9223 NOISSE add a shortcut to the loaders mods to main window 2021-12-12 22:39:25 +01:00
Graeme Geldenhuys
3bc450a6d7 Restore the previously deleted line. 2021-12-12 16:45:18 +00:00
Graeme Geldenhuys
fce98f5e16 Fixes compilation error expanding from macro 'major'. 2021-12-12 11:45:58 +00:00
Graeme Geldenhuys
7179e75e70 Changes required to support FreeBSD 2021-12-12 11:39:36 +00:00
Petr Mrázek
431d773eec NOISSUE We are using es_UY as latin american spanish
Make it actually say that in the UI.
2021-12-11 13:06:53 +01:00
NewoIsTaken
b1910642bf
GH-4000 Scan for Adoptium JREs 2021-12-10 21:17:09 -05:00
Petr Mrázek
80beccb2c4 NOISSUE Add small workaround for presenting Japanese with Kanji 2021-12-08 01:23:12 +01:00
Petr Mrázek
dba4c452e0 NOISSUE account tweaks 2021-12-08 01:22:57 +01:00
Petr Mrázek
90a62c429a NOISSUE remove the hardcoded blocking of Forge installs
Doesn't make it work, but makes it theoretically possible.
2021-12-06 22:07:41 +01:00
Petr Mrázek
a5581b479e NOISSUE fix launching offline while online 2021-12-06 20:17:31 +01:00
Petr Mrázek
825ef52dd5 NOISSUE fix up some corner cases around migrating accounts 2021-12-06 20:16:13 +01:00
Petr Mrázek
3a940ffb52 NOISSUE Add cat xcf file 2021-12-06 02:40:53 +01:00
Petr Mrázek
70d400f205 NOISSUE party hat for a party cat
On the 30th of November, it's been 10 years since the first
(documented) release of MultiMC. Party hats for everyone :)
2021-12-05 23:26:04 +01:00
Petr Mrázek
c8ca6acc15 NOISSUE fix some error mappings for Mojang accounts 2021-12-05 03:48:07 +01:00
Petr Mrázek
d37003b1de NOISSUE fix builds, make account refresh queue user friendly 2021-12-04 02:10:14 +01:00
Petr Mrázek
db6431d9e0 NOISSUE add missing chrono include 2021-12-04 01:27:58 +01:00
Petr Mrázek
3c46d8a412 GH-4071 Heavily refactor and rearchitect account system
This makes the account system much more modular
and makes it treat errors as something recoverable,
unless they come directly from the MSA refresh token
becoming invalid.
2021-12-04 01:18:05 +01:00
Ghosty
a97d0a36f4 NOISSUE Copy Image is not shown if the selection is > 1 2021-12-03 16:29:28 +01:00
Ghosty
e9c52ec696 NOISSUE Added Copy File(s) feature for the screenshot page
- Ctrl+C now copies the file instead of the image data
- Renamed Copy to Copy Image
2021-12-03 16:08:11 +01:00
Ghosty
75f2dab3c8 NOISSUE Implemented copy screenshots to the clipboard
- Added context-menu entry
- Ctrl+C keybind works as well
- If multiple screenshots are selected, only the first one gets copied
2021-12-03 03:11:53 +01:00
kb1000
eb1091a5f4
NOISSUE Remove some unused code from InstanceView 2021-12-01 21:21:05 +01:00
Petr Mrázek
241086883e
Merge pull request #4230 from NewoIsTaken/patch-1
GH-4224 Scan 64 bit lib directory to find Java
2021-11-28 21:45:36 +01:00
Petr Mrázek
285188ea53 GH-4071 handle network errors when logging in with MSA as 'soft'
This makes the tokens not expire when such errors happen.

Only applies to MSA, not the XBox and Mojang steps afterwards.
Further testing and improvements are still needed.
2021-11-28 18:42:01 +01:00
Petr Mrázek
a522cad6d6 NOISSUE also undo the AUTORCC change because it was also broken
It broke 32bit linux builds...
2021-11-23 01:37:13 +01:00
Petr Mrázek
b49987e876 NOISSUE fix fix fix the accounts again 2021-11-23 01:25:24 +01:00
Petr Mrázek
27e328c044 NOISSUE Do not rely on AUTOUIC
It is bugged and does not detect changes in .ui files, which makes development painful.
2021-11-22 14:29:38 +01:00
Petr Mrázek
b258eac215 NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
Petr Mrázek
5040231f8d NOISSUE fix build on macOS 2021-11-21 23:42:55 +01:00
Petr Mrázek
9fc677c2a4 NOISSUE more refactoring 2021-11-21 23:36:55 +01:00
Petr Mrázek
69213b1206 NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
Petr Mrázek
c2c56a2f6c NOISSUE fix build 2021-11-20 17:08:34 +01:00
Petr Mrázek
0c861db7a2 NOISSUE Some happy little refactors 2021-11-20 16:22:22 +01:00
Petr Mrázek
eafeb64dec NOISSUE qnam -> network 2021-11-17 13:20:50 +01:00
Jamie Mansfield
014e65220e
NOISSUE Error on launch when launching 1.18 with < Java 17 2021-11-16 18:25:16 +00:00
Petr Mrázek
6c82883206 NOISSUE fix account re-adding not updating current account 2021-11-16 02:21:59 +01:00
Petr Mrázek
25fbeb265a NOISSUE fix build some more 2021-11-10 03:16:04 +01:00
Petr Mrázek
30d5a7ab48 NOISSUE fix build 2021-11-10 03:12:01 +01:00
Petr Mrázek
475d949a1e GH-4217 Add support for GamePass accounts and MC profile setup
- We now use the new endpoint for loggiong in via XBox tokens (/launcher/login)
- We now check game entitlements instead of only relying on MC profile presence
- Accounts can now be added even when they do not have a profile
- The launcher will guide you through selecting a Minecraft name if you don't have one yet
2021-11-10 03:02:51 +01:00
Petr Mrázek
32f9c61c6e
Merge pull request #4233 from ImperatorStorm/update-man
NOISSUE Update manpage to include new `-a / --profile` option.
2021-11-08 20:05:04 +01:00
ImperatorStorm
9ccce62f50
NOISSUE Update manpage to include new -a / --profile option. 2021-11-07 20:48:15 -08:00
Owen Wang
0660768478
GH-4200 Search Eclipse Foundation and Adoptium in Registry 2021-11-07 21:35:43 -05:00
Owen Wang
b1beeee11f
GH-4224 Scan 64 bit lib directory to find Java 2021-11-07 21:19:35 -05:00
Janrupf
0423464b88 GH-4227 Don't blindly trust mods.toml to be valid 2021-11-06 22:43:16 +01:00
Petr Mrázek
7b4c52e1e3 NOISSUE fix some small build issues 2021-11-03 15:45:42 +01:00