Commit Graph

322 Commits

Author SHA1 Message Date
Petr Mrázek
e044744faf NOISSUE add a way to require object from Json value ref 2022-11-20 15:59:52 +01:00
arthomnix
149adbd1d6 NOISSUE Load ShowGameTimeHours setting correctly on settings page
Bugfix for #4964
2022-11-20 11:45:34 +00:00
Petr Mrázek
30312ea701 And fix a build issue 2022-11-20 00:12:46 +01:00
arthomnix
858487521e NOISSUE Escape quotes in paths
Just in case the user decides to place MMC in a path containing quotes.
.desktop files appear to require two backslashes to escape quotes, testing on other desktop environments would be appreciated to make sure this isn't just a KDE-specific bug
2022-11-20 00:04:03 +01:00
arthomnix
08dd08afc1 NOISSUE Enclose all arguments in quotes, fix batch scripts 2022-11-20 00:04:03 +01:00
arthomnix
6307689cf1 NOISSUE Use .command extension for shortcut scripts on macOS
This means that the script will run when clicked, instead of being opened in a text editor
2022-11-20 00:04:03 +01:00
arthomnix
86f68389c9 NOISSUE Add button to copy MSA code 2022-11-20 00:04:03 +01:00
Petr Mrázek
7354c578fd NOISSUE Move hour formatting for play time to a function 2022-11-20 00:01:21 +01:00
Petr Mrázek
90b16fb903
Merge pull request #4928 from ryanbrown535/develop
GH-4901 Confirm screenshot upload
2022-11-19 23:48:46 +01:00
Petr Mrázek
8335432543
Merge pull request #4947 from jamierocks/managed-packs
Record where packs come from
2022-11-19 23:48:16 +01:00
Petr Mrázek
319ba3c8f9
Merge pull request #4948 from jamierocks/technic-improvements
Technic: Display available versions for Solder packs
2022-11-19 23:44:24 +01:00
Petr Mrázek
9e5883c173
Merge pull request #4946 from jamierocks/atl-colours
Display mod colours in optional mod dialog
2022-11-19 23:43:06 +01:00
Petr Mrázek
597da783d7
Merge pull request #4964 from arthomnix/feature/playtime-format-customisation
NOISSUE Add setting to display playtime in hours only
2022-11-19 23:35:33 +01:00
Petr Mrázek
1849db93ec Fix a build problem 2022-11-19 23:23:11 +01:00
arthomnix
b82d667859 NOISSUE Add setting to display playtime in hours only 2022-11-02 16:11:56 +00:00
Jamie Mansfield
9bdfa5c8de
NOISSUE Make Technic API base URL and build constants 2022-10-20 16:46:12 +01:00
Jamie Mansfield
fb0970b496
NOISSUE Verify checksums for pack build mods 2022-10-20 16:46:12 +01:00
Jamie Mansfield
b6290ac254
GH-3516 Display available versions for Solder packs 2022-10-20 16:46:12 +01:00
Jamie Mansfield
b8a736c673
NOISSUE Replace inline parsing code with Solder API models 2022-10-20 16:46:03 +01:00
Jamie Mansfield
18f790953a
NOISSUE Add API models for Solder packs
This will be able to replace the ugly parsing/usage code that
currently exists in the Solder install task :)
2022-10-20 16:46:03 +01:00
Jamie Mansfield
2334a44221
NOISSUE Match CurseForge pack description format in Technic UI 2022-10-20 16:46:03 +01:00
Jamie Mansfield
65a4f8919a
NOISSUE Include the modpack version in instance title 2022-10-20 16:46:03 +01:00
Jamie Mansfield
ddc094b76b
NOISUE Prevent potential HTML injection 2022-10-20 16:46:03 +01:00
Jamie Mansfield
e35f2b6c2c
NOISSUE Allow Technic pack API urls to be used in search
This mimics the behaviour that the Technic launcher has, and their
website displays API URLs for.

The big benefit of this, is to be able to install private packs now :)
2022-10-20 16:45:55 +01:00
Jamie Mansfield
064c0febd3
NOISSUE Make ATLauncher packs managed when installing 2022-10-19 16:56:26 +01:00
Jamie Mansfield
79204e5df0
NOISSUE Pass the full pack name through to the install task 2022-10-19 16:56:15 +01:00
Jamie Mansfield
79cd37be94
NOISSUE Add settings to support managed packs
Managed packs means an installation of a modpack through a modpack
provider. Managed packs track their origins (pack platform, name, id),
so that in future features can exist around this - such as updating, and
reinstalling.
2022-10-19 16:52:37 +01:00
Jamie Mansfield
dbe7d9ea2e
NOISSUE Display mod colours in optional mod dialog 2022-10-19 13:00:54 +01:00
Jamie Mansfield
b433882ac1
NOISSUE Add missing QMap include
This should fix the build.
2022-10-19 12:51:15 +01:00
Jamie Mansfield
c24a89f3af
NOISSUE Display warnings when selecting optional mods 2022-10-18 21:40:05 +01:00
Jamie Mansfield
41f728b22f
NOISSUE Pass the optional mod dialog the full version
We will need more information, let's just pass the whole thing.
2022-10-18 21:39:37 +01:00
Jamie Mansfield
af36e5c43f
NOISSUE Display ATLauncher install messages 2022-10-18 21:39:36 +01:00
ryanbrown535
c37b7f771e Confirm screenshot upload
Adds a message box on upload asking if the user is sure they want to upload to imgur
2022-10-02 20:45:06 -04:00
Davide Pierotti
b069478f6e NOISSUE Consistently express 'exit code' in logs 2022-09-17 15:42:02 +02:00
John Helmert III
5488ab11d4
Drop execute bits from .desktop file
There shouldn't be any reason for the desktop file to be executable,
and this is sometimes against policy in downstream distributions:

https://wiki.gentoo.org/wiki/.desktop_files#Executable_bit_in_.desktop_files

Bug: https://bugs.gentoo.org/866443
Signed-off-by: John Helmert III <ajak@gentoo.org>
2022-08-24 23:00:51 -05:00
Petr Mrázek
b5e81bbb0d
Merge pull request #4842 from arthomnix/shortcut-path-fix
NOISSUE Fix shortcut creation on official Linux builds
2022-07-19 21:54:35 +02:00
Petr Mrázek
ec498074c1 NOISSUE improve Modrinth description's page rendering 2022-07-19 21:46:28 +02:00
arthomnix
2517671396 NOISSUE Use current working directory instead of applicationDirPath in shortcut creation
This fixes issues with official Linux builds which place the executable in its own bin directory
2022-07-19 20:43:54 +01:00
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