Disable update nag on traditional launcher

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

xerusf

New Member
Aug 18, 2020
3
0
2
Since I like playing the older modpacks, I still use the old launcher. However, every time I start it I get the notification telling me to download the new launcher.
It would be great to have a config option (don't check for launcher updates) or simply a button "Don't remind me again". A command-line flag would also work for me.
 

xerusf

New Member
Aug 18, 2020
3
0
2
Just found out that the launcher does have some command line flags which can be determined by running it with --help - even a flag to automatically start a modpack, yei! But even there, the dialog blocks it from launching the modpack...

Is the code open-source somewhere? Then I can likely fix it myself ^^
 

xerusf

New Member
Aug 18, 2020
3
0
2
Okay, I constructed a very brittle workaround, only for Linux running X:

Code:
java -jar "$(locate -n 2 -r 'FTB.*aunch.*.jar$')" --disable-news & sleep 3 && xdotool key KP_Space

You need to install xdotool in case you are interested.

The script starts FTB Launcher in the background and press Space after 3 seconds, which closes the window. Adding -a packname before the ampersand will autostart the pack with that name.

Note that locate may also be replace by the path of the launcher, I just prefer the location-independent version.


For the extra curious, I now created a desktop entry based on that which autostarts TerraFirmaPunk:
Code:
[Desktop Entry]
Exec=java -jar "$(locate -n 2 -r 'FTB.*aunch.*.jar$')" --disable-news -a TerraFirmaPunk & sleep 3 && xdotool key KP_Space
Name=FTB Launcher - TerraFirmaPunk
Terminal=false
Type=Application