Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Jan has a portable / non install version #2643

Open
tomasts248 opened this issue Apr 8, 2024 · 6 comments
Open

feat: Jan has a portable / non install version #2643

tomasts248 opened this issue Apr 8, 2024 · 6 comments
Assignees
Labels
category: app shell Installation, updater, global application issues type: feature request A new feature

Comments

@tomasts248
Copy link

tomasts248 commented Apr 8, 2024

Goal

  • Jan can run on a thumbdrive
    • Executable
    • Data files
    • Models
  • Windows
    • Build target

Problem
All the disadvantages of a regular installation and data portability caused by it.

Success Criteria
Being able to run Jan from a external drive and just doing a full back by copying the folder where it is extracted, using a portable installation is now a common good practice in software development and as such usually requested.

@Van-QA
Copy link
Contributor

Van-QA commented Apr 10, 2024

related to #1435

@Van-QA Van-QA assigned hiento09 and unassigned imtuyethan Apr 10, 2024
@louis-jan louis-jan moved this to Icebox in Menlo Apr 26, 2024
@hiento09 hiento09 moved this from Icebox to Planned in Menlo Apr 26, 2024
@imtuyethan imtuyethan moved this from Planned to Icebox in Menlo Aug 28, 2024
@freelerobot
Copy link
Contributor

Not likely to be fully supported

We have some portability, but I'm not sure 100% portability makes sense for us at the moment.

Not sure if you disagree @dan-homebrew @hiento09

e.g.

  1. Executable vs user/app data: already portable. All app data is in ~/.jan
  2. Relative paths: requires rewriting a lot of things as we write to program files right now
  3. Configuration files: already portable.

@hiento09
Copy link
Collaborator

hiento09 commented Sep 5, 2024

@0xSage, I understand that portable here means the .exe file we ship to the user, and the user just needs to double-click for the Jan app to launch. It's similar to the AppImage format for Linux, where the user only needs to run ./jan.appImage for the Jan app to start without needing to install it on the OS.

@hiento09
Copy link
Collaborator

hiento09 commented Sep 5, 2024

I agree with you that our data is in ~/jan, and allowing the data folder to be changed, so this portable version doesn't make much sense to me at the moment as well.

@tomasts248
Copy link
Author

tomasts248 commented Sep 7, 2024

Not sure here, but cant the actual program files folder be redirected? and just have a launcher that redirects from program files to maybe another "program files " but rather than in the OS, in the portable app folder.

@freelerobot freelerobot added the category: app shell Installation, updater, global application issues label Oct 14, 2024
@v1ckxy
Copy link

v1ckxy commented Oct 28, 2024

@0xSage, I understand that portable here means the .exe file we ship to the user, and the user just needs to double-click for the Jan app to launch. It's similar to the AppImage format for Linux, where the user only needs to run ./jan.appImage for the Jan app to start without needing to install it on the OS.

Not exactly.
Portable means self-contained within the same path; just have a look at any application from portableapps.com:
There's a launcher, a data path and a binary path. You don't need an exe containing everything, doesn't make any sense.

The point is not to throw a lot of crap around elsewhere, as typically any app does (starting from LM Studio, using not just one or two different paths, but three+squirrel temp files)

Normally you want to use paths like this way (normally seen in unix)
starting from /apppath/ :

  • bin/
  • lib/
  • config/
  • logs/
  • user/
  • user/models/
  • user/engines/
  • user/whatever/
  • downloads/
  • temp/
  • cache/

Regards.

@dan-menlo dan-menlo changed the title feat: Consider a portable / non install version feat: Jan has a portable / non install version Dec 2, 2024
@dan-menlo dan-menlo moved this from Icebox to Investigating in Menlo Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: app shell Installation, updater, global application issues type: feature request A new feature
Projects
Status: Investigating
Development

No branches or pull requests

6 participants