Portablemc

Latest version: v4.4.1

Safety actively analyzes 702392 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

2.1.0

Not secure
Changes:
- Improved print_table API in CLI module, now considering terminal width to avoid overflowing and reducing columns width in such cases, also adding ellipsis to the cell's text.
- Improved add-on API, now possible to import `portablemc` and `portablemc.cli` directly from add-ons. Add-ons should now define all functions/classes directly in the module, and no longer the load() function. This works for both PIP-installed and single-script versions of PMC. All add-ons have been updated.
- Added an API documentation.
- New function `get_addon_mod` in CLI module to directly get the module of an add-on by its name.
- The constructor of `AuthSession` no longer requires the `legacy_filename` argument, none by default.
- Moved the old fix (betacraft proxy and legacy merge sort) from archives add-on to the core API, the `--no-old-fix` argument has been moved.
- In archives add-on, now updating archives metadata `id` to the real name of the version's directory.
- In fabric add-on, now adding an empty `jvm` arguments into the generated version metadata.

Fixes:
- Fixed broken deterministic username and UUID (50, thanks intact).
- Fixed non-existing fields when fixing authentication database, with Yggdrasil in particular (49, thanks Ristovski).
- Fixed `MicrosoftAuthSession.authenticate_base` to handle error in Microsoft OAuth request in case of token refreshing with an invalid token.
- Fixed a potential issue with `DownloadList.reset()`, `count` and `size` were not reset to 0.
- Fixed a potential issue with executable permission definition in JVM download callback.

Download and install:
To install PortableMC, please read this repository README, the single-file script is available below in the `portablemc-single` archive.

2.0.6

Not secure
Added:
- Modrinth addon in beta version (see README and help command using `portablemc modr -h`).
- A `format_number` function in the CLI used to add suffixes (k, M, G) to a number to shorten it), the `format_bytes` function now use it.
- A `ellipsis_str` function to add ellipsis to a string if it exceeds a given size.

Changed:
- UUID and username are now deterministic if not specified in the command line (46).
- When actually download a `DownloadList`, entries with no size are updated with the downloaded size after downloaded, it allows seeing the real total downloaded size after a download.

Download and install:
To install PortableMC, please read this repository README, the single-file script is available below in the `portablemc-single` archive.

2.0.5

Not secure
Fixed:
- Launcher can now be launched with automatic JVM downloading in a non-existing main-directory (45).

Download and install:
To install PortableMC, please read this repository README, the single-file script is available below in the `portablemc-single` archive.

2.0.4

Not secure
Fixed:
- When using `portablemc login [...]` sub command with a non-existing working directory, this directory is now created.
- No longer crashing when a specific version manifest is using an unknown replacement variable in arguments.

Added:
- Now supporting newer `clientid` and `xuid` replacement variables and arguments for 1.18 version manifests (41).
- Added support for a `PMC_ADDONS_PATH` environment variable that can be used to specify multiple directories where to include add-ons. To specify multiple directories, use an adequate path separator (`;` for windows, `:` for unix). You can check add-ons directories using `portablemc addon dirs`.

Changed:
- When using Mojang Java Virtual Machine (JVM), the JVM's manifest is now cached and used on each launch to check integrity of the JVM installation (33, thanks GoodDay360).

Download and install:
To install PortableMC, please read this repository README, the single-file script is available below in the `portablemc-single` archive.

2.0.3

Not secure
Fixed:
- The launcher is now usable in offline mode, the version metadata file is now loaded only if needed (for example if you specify no version, or alias version such as `release` or `snapshot`, in these cases the launcher requires an internet connection).
- Fixed encoding comment from ` encoding: utf8` to ` encoding: utf-8`, this was crashing with my python 3.6 install.
- Typo for internal errors.

Changed:
- JVM version is no longer fetched on each launch, now this is only fetched when the `java` (unix) or `javaw.exe` (win) executables are missing from the JVM installation.
- Improved the error message for socket errors to be more understandable.

Download and install:
To install PortableMC, please read this repository README, the single-file script is available below in the `portablemc-single` archive.

2.0.2

Not secure
Fixed:
- Fixed a critical issue for Microsoft session refreshing, it's also important to note that Microsoft authentication is now actively tested at least for my personal account.
- Fixed encoding comment in python file from `utf8` to `utf-8` because of an issue with python 3.6 (at least).

Changed:
- Added a warning when using `-m` (`--microsoft`) without `-l` (`--login`) on `start` sub command (31).
- Improved README.

Download and install:
To install PortableMC, please read this repository README, the single-file script is available below in the `portablemc-single` archive.

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.