code icon indicating copy to clipboard operation
code copied to clipboard

Portable installation option (Windows)

Open HyperSoop opened this issue 2 years ago • 9 comments

Is your suggested enhancement related to a problem? Please describe.

I don't like using installers, because zips give me more control in where and how I install software.

Describe the solution you'd like

Add a .zip portable download option for Windows

Describe alternatives you've considered

No response

Additional context

No response

HyperSoop avatar Aug 06 '23 05:08 HyperSoop

I second this, since not everyone has the permissions to run the installer.

TheMCSpacePro avatar Aug 08 '23 23:08 TheMCSpacePro

I second this, since not everyone has the permissions to run the installer.

Plus it's easier to maintain, move data, purge data and would allow easy installation via Scoop. Portability is the GOAT

Bobrokus avatar Jul 09 '24 08:07 Bobrokus

I mean it's kind of possible https://github.com/brawaru/bucket/blob/main/bucket/modrinth-app.json :)

brawaru avatar Jul 09 '24 14:07 brawaru

I mean it's kind of possible brawaru/bucket@main/bucket/modrinth-app.json :) You're right.

I'm currently working on my own manifest and I see we chose a similar approach, though there is space for improvement in your one. For example, you don't need to set the env variable in a bat file. You can set it as a user env variable via env_set in the manifest.

Even though this works, I would still appreciate a fully self-contained version without having to create a new env variable. Plus there app stores some unimportant (webview, window state) data in appdata and localappdata.

Bobrokus avatar Jul 09 '24 17:07 Bobrokus

You can set it as a user env variable via env_set in the manifest.

Yeeeah but I don't want that, because that would mean that any Modrinth App running on my computer will use that directory, so I just set it only for the one installed by Scoop.

brawaru avatar Jul 09 '24 18:07 brawaru

You can set it as a user env variable via env_set in the manifest.

Yeeeah but I don't want that, because that would mean that any Modrinth App running on my computer will use that directory, so I just set it only for the one installed by Scoop.

Hey! I understand your concern and I've replied to you: https://github.com/modrinth/code/issues/497#issuecomment-2218453703

Bobrokus avatar Jul 09 '24 19:07 Bobrokus

I suggest renaming this issue to "Self-contained install" as it conveys the idea better imo

Bobrokus avatar Jul 09 '24 19:07 Bobrokus

+1 on this. It would be very useful to be able to run this app from a Flash Drive or Portable SSD.

FireController1847 avatar Aug 15 '24 22:08 FireController1847

Any update on this?

oliverjhn avatar Sep 11 '24 09:09 oliverjhn

Also interested on this

regorxxx avatar Aug 14 '25 14:08 regorxxx

Hi! I really think a fully portable installation option would be amazing for the Modrinth app, especially for easy portability on USB drives. I’ll wait to see if this gets accepted into the original Modrinth project, but if not, I plan to work on adding it myself in my fork. Before that, I’ll submit a PR to check if the only reason this hasn’t been done yet is that no contributor has picked it up.

MiguVT avatar Aug 14 '25 15:08 MiguVT

Done! I decided to make it by myself soo no more wait! (I didnt know this was that old) I will wait it to get accepted.

https://github.com/modrinth/code/pull/4171

MiguVT avatar Aug 14 '25 16:08 MiguVT

Done! I decided to make it by myself soo no more wait! (I didnt know this was that old) I will wait it to get accepted.

#4171

GAHHH THANK YOU

Mariosonicman91 avatar Aug 19 '25 00:08 Mariosonicman91

Done! I decided to make it by myself soo no more wait! (I didnt know this was that old) I will wait it to get accepted.

#4171

All that work and what did it get you :(

YoureIronic avatar Sep 11 '25 21:09 YoureIronic

I'm also failing to understand why it was closed without a review or change requests.

I mean, if the reason is "the devs would do other thing", then the idea is to see such thing in practice... or ask for changes.

This issue has been opened for 2 years btw, and the only contribution related to it is closed without alternative?

regorxxx avatar Sep 11 '25 22:09 regorxxx

Only way to have an actual portable modrinth is using MiguTV's Migurinth and creating an empty portable.txt file in it and it will become a portable version of Modrinth

YoureIronic avatar Sep 18 '25 21:09 YoureIronic

I understand the reason why Modrinth closed it, it's not because "the devs would do other thing". They could just give the reason (since this is their app and they have the most control over it). The real problem was that my workaround isn't a real solution.

What I'm trying to call a "real solution" is a clean way to reach that. The issue is that Modrinth is based on Tauri, and Tauri doesn't have proper support for portable apps.

The only way to make a portable mode in Modrinth without a workaround would be to look for a Tauri alternative, which could be very difficult and require a lot of work.

Basically, they want to follow KISS (Keep it simple, stupid) practices.

MiguVT avatar Sep 30 '25 15:09 MiguVT