Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Add portable version of Atom #2939

Closed

Description

@bnjmnt4n

I don’t really stick to one computer to program, and some computers don’t have editors. Currently I use Sublime Text portable, but it would be great if there was a portable version of Atom.

Activity

  1. batjko commented on Jul 11, 2014

    @batjko
    Contributor

    I haven't tried it yet, but isn't the released zip file a portable version?

  2. bnjmnt4n commented on Jul 11, 2014

    @bnjmnt4n
    Author

    Nope, it stores settings on the current computer itself, so once you switch computers all your settings are gone.

  3. benogle commented on Jul 11, 2014

    @benogle
    Contributor

    Can you link us to some documentation on what makes an app portable? Is that the only difference?

  4. bnjmnt4n commented on Jul 11, 2014

    @bnjmnt4n
    Author

    I’m not too sure about any docs, but as far as I know, all settings / installed themes and packages should be stored in the Atom folder instead of the computer itself, so it still works when running from a thumbdrive.

  5. kevinsawicki commented on Jul 11, 2014

    @kevinsawicki
    Contributor

    Yeah, we could definitely do this, tweaking Atom to store things locally in a .atom folder instead of the current location should be relatively straightforward.

  6. batjko commented on Jul 11, 2014

    @batjko
    Contributor

    Yes that's pretty much the criterium for an app to be "portable":
    All settings and executables must be contained under a parent folder, and nothing is to be 'installed' to - or required from - anywhere else in the system.

    As @D10 says, the purpose being that you could run it from a thumb drive without leaving a trace on the system.

  7. schodge commented on Jul 14, 2014

    @schodge

    Can you add the link to the zip to the README.md ? Until I found this post I thought a choclately install was my only option.

  8. kevinsawicki commented on Jul 14, 2014

    @kevinsawicki
    Contributor

    @schodge Sure thing, added in commit 262ba6b

  9. schodge commented on Jul 14, 2014

    @schodge

    Thanks!

    Kevin Sawicki mailto:[email protected]
    Sunday, July 13, 2014 5:57 PM

    @schodge https://github.com/schodge Sure thing, added in commit
    262ba6b
    262ba6b

    —
    Reply to this email directly or view it on GitHub
    #2939 (comment).

  10. MiniFlames commented on Jul 15, 2014

    @MiniFlames

    would it be possible to allow the user to set a custom location for the .atom folder? so I could [for example] move it to another drive or to my dropbox/onedrive/cloud storage of choice folder

  11. batjko commented on Jul 15, 2014

    @batjko
    Contributor

    @MiniFlames I was thinking of that as well. Especially since re-installing packages, themes and personal settings on several different machines (home desktop, private laptop, work laptop etc) would be quite the breeze if one could just move that folder to dropbox or google drive etc, and have a setting in the settings-view to point .atom to that location.

  12. joefitzgerald commented on Jul 21, 2014

    @joefitzgerald
    Contributor

    Allowing the location of the .atom folder to be configurable presents a configuration catch-22. The config is stored in the .atom folder, so Atom needs to be able to find it (but how can it find it without reading the config).

    The obvious solution would be to permit this location to be overridden via environment variable... would that work?

  13. schodge commented on Jul 22, 2014

    @schodge

    @joefitzgerald "The obvious solution would be to permit this location to be overridden via environment variable..."

    I think it'd be easier to have a configuration file in the root atom directory, one line only, to point to .atom's location, and to assume the default if the file doesn't exist.

    However, I also think that so long as .atom is located under the main atom folder by default in the portable version that the simplest solution would be for the user to symlink to it. No extra config, no environment variables to worry about, and transparent to the program.

  14. 97 remaining items

  15. kdmaas commented on Sep 15, 2015

    @kdmaas

    @IMPinball
    Am I missing something?
    If you don't want to use the PortableApps menu you can use the self-extracting zip-files directly.
    You'll have to remember to update manually though.

  16. dead-claudia commented on Sep 15, 2015

    @dead-claudia

    @kdmaas

    It's not so much the menu. I just prefer unzipping a zipball in a few steps through the standard instead of clicking through about 6-10 screens in a pretty useless GUI that does effectively the same thing.

    Unless Atom modifies the registry (which it doesn't appear to, even in a global install), I don't think there would be much advantage to an installer that is just a glorified self-extracting zip file. You might as well use 7-zip for that - it would accomplish the same thing.

    I also don't think that there would be a lot of work to make this zip-file portable. IMHO it would be easiest if Atom included a way to change the user path (i.e. the return value of os.homedir()) at the time of initialization. It's something that could also be done via setting the %userprofile% variable in a way local to the application.

  17. dumpsters commented on Sep 24, 2015

    @dumpsters

    +1, only thing keeping me from using atom.
    Maybe checking if there is a ".portable_mode" dotfile in atom's directory and saving configs and packages to "./.portable_data/"

  18. Sisyphuss commented on Sep 24, 2015

    @Sisyphuss

    +1

  19. capSAR273 commented on Sep 28, 2015

    @capSAR273

    Just chiming in with my support for a portable version, I use Atom off of a flash drive for coursework and losing custom settings/packages is less than optimal. I'll try the suggestions put here by others until Atom is truly portable 👍

  20. jamescostian commented on Oct 3, 2015

    @jamescostian

    👍

  21. Ivan171 commented on Oct 6, 2015

    @Ivan171

    +1

  22. javiglesias commented on Oct 6, 2015

    @javiglesias

    +1

  23. bhack commented on Oct 10, 2015

    @bhack

    👍

  24. thomasjo commented on Oct 10, 2015

    @thomasjo
    Contributor

    This is being worked on in #8442, so there is no need to +1 this and in so doing, notifying 52 people. As a result, I'm locking this issue for the time being. Feel free to subscribe to the PR if you're curious about the progress being made.

  25. locked and limited conversation to collaborators on Oct 10, 2015
  26. anaisbetts commented on Nov 3, 2015

    @anaisbetts
    Contributor

    This is now merged into master as part of #8442 and friends, and will show up in the next release! Thanks for the feedback all

  27. benogle commented on Nov 3, 2015

    @benogle
    Contributor

    💥 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    atomenhancementlinuxwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions