Commit Graph

56 Commits

Author SHA1 Message Date
arthomnix
1b77965225 NOISSUE Add NeoForge support to mrpack importer and exporter 2024-03-15 20:39:32 +00:00
Petr Mrázek
33a8b916a1
Merge pull request #5063 from arthomnix/feature/mrpack_export
NOISSUE Set Modrinth export dialog window title
2023-05-24 10:03:38 +02:00
Petr Mrázek
35783d9dd9
Merge pull request #5163 from arthomnix/feature/mrpack-export-optional-files
GH-5146 mrpack exporter: add option to treat disabled files as optional
2023-05-24 10:02:48 +02:00
arthomnix
574571b51b GH-5146 mrpack exporter: add option to treat disabled files as optional 2023-05-23 20:56:34 +01:00
arthomnix
39780c7238 NOISSUE Fix release date check 2023-05-23 16:52:27 +01:00
arthomnix
72e62058c0 NOISSUE Connect signal in code instead of ui file 2023-05-23 16:47:27 +01:00
arthomnix
d6dabfa67d NOISSUE Only reload the pack profile if the cast to MinecraftInstance was successful
Prevents a potential segfault if the instance is not a MinecraftInstance
2023-05-22 17:59:26 +01:00
arthomnix
29c78b56fc NOISSUE reload pack profile in online mode so the Minecraft release date is loaded properly 2023-05-22 17:39:37 +01:00
arthomnix
e1b7630677 NOISSUE add copyright header back to ui file 2023-05-22 17:34:43 +01:00
arthomnix
44a4712e61 NOISSUE Fix shortcut dialog bugs
Fixes bugs in the create shortcut dialog where the OK button and server address text box were always disabled on instances that don't support Quick Play.
2023-05-22 17:30:02 +01:00
arthomnix
1ad3e4417f NOISSUE Add singleplayer quickplay option to shortcut creation dialog 2023-04-09 15:12:30 +01:00
arthomnix
f57ac946fd NOISSUE Set Modrinth export dialog window title 2023-02-08 17:06:24 +00:00
arthomnix
bea3251d9c NOISSUE Fix typo in Modrinth exporter 2023-02-05 16:44:44 +00:00
arthomnix
e463edb185 GH-4699 Warn when exporting instance with custom components 2023-02-05 15:55:49 +00:00
arthomnix
aae2f23eb6 GH-4699 Move ModrinthInstanceExportTask to modplatform/modrinth; truncate error messages in dialog 2023-02-05 14:28:18 +00:00
arthomnix
a1f256a745 GH-4699 Add global datapacks support to Modrinth exporter 2023-02-05 12:03:00 +00:00
arthomnix
74addfb78b GH-4699 Clean some things up
Add a menu to select between MMC/Modrinth format packs instead of the custom dialog
Treat 404s on requests to the Modrinth API as success, as the API returns a 404 if a hash was not found, and we don't want to retry the download in this case
Improve logging
2023-02-05 10:13:13 +00:00
arthomnix
16cf56b7a4 GH-4699 Modrinth pack exporter (WIP) 2023-02-04 21:41:24 +00:00
Petr Mrázek
458944ad91 NOISSUE Remove concept of switching update channels
It is all develop from now on, we no longer make stable releases.
This means no maintenance of version numbers and removal
of all the overhead associated with making stable releases.

MultiMC 6 might have a better system, but with how infrequent and stable
MultiMC releases are getting, there's no need to have a distinction
between `stable` and `develop` anymore.
2023-02-03 23:05:27 +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
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
arthomnix
518b19e667 NOISSUE shortcut creation: enclose paths in quotes 2022-07-06 08:03:04 +01: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
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
66c6e6e05d NOISSUE disambiguate Json parsing calls 2022-05-29 04:58:42 +02:00
Petr Mrázek
41e5b3b628 NOISSUE Add FTB App import page to new instance dialog 2022-05-28 22:42:09 +02:00