You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
It seems that the handler of atom:// protocol handler cant locate the .atom folder in installation path correctly even I hacked the %USERPROFILE% for it and it's search path is still the C:\Users\MyUsername.atom\packages, but that shouldn't be. @lee-dohm
@lee-dohm the intent of the code that I had added is:
detect is the .atom folder appeared in the installation path, Yes goto step 2. No, do nothing and continue booting atom
modify the process environment vars set the installation path as HOME (for linux and mac ) and USERPROFILE ( for windows ), to cheat the atom, make atom use the installation path as my home path and use the .atom folder in installation path as my configuration store path.
@lee-dohm
I also tried to hack src/browser/atom-protocol-handler.js and add the path/to/atom/.atom/packages into the AtomProtocolHandler's loadPaths, but end with no effect ....
I understand that you are trying to create a portable version of Atom. You are correct that Atom does not currently support this. We already have an enhancement request at #2939. If you want help or suggestions on how to modify Atom in order to make it portable, you might get more help on Atom's Discuss message board.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
lee-dohm commentedon Nov 7, 2014
I'm not sure what action is meant to be taken from this Issue. Can you give some more information?
ian4hu commentedon Nov 8, 2014
all my tests is on Windows version of atom at latest release.
I wan to run atom in my usb portable drive with my favorate packages and themes (with the .atom folder in installation path not in my $HOME or %USERPFROFILE% ),
so I edit the index.js like that https://github.com/hu2008yinxiang/atom/commit/47fe8f58a99998bc2ae08e810c7d9dbad0f2dda8#diff-96396047159bb0c3de09c166d18f028c and the code works fine , but then found the web font of the seti-ui of @jesseweed https://github.com/jesseweed/seti-ui theme cant be loaded correctly (the file type icon in tree view and tab tag not shown normally ) , and I found the error message in atom's developer console. but when I use it on my original computer ( with .atom folder both in installation path and %USERPROFILE% ), the error message disappeared, when I rename the .atom folder in %USERPROFILE% the error message appeared again and the file type icon not show normally again.
It seems that the handler of atom:// protocol handler cant locate the .atom folder in installation path correctly even I hacked the %USERPROFILE% for it and it's search path is still the C:\Users\MyUsername.atom\packages, but that shouldn't be. @lee-dohm
ian4hu commentedon Nov 8, 2014
@lee-dohm the intent of the code that I had added is:
ian4hu commentedon Nov 8, 2014
@lee-dohm
I also tried to hack src/browser/atom-protocol-handler.js and add the path/to/atom/.atom/packages into the AtomProtocolHandler's loadPaths, but end with no effect ....
lee-dohm commentedon Nov 8, 2014
I understand that you are trying to create a portable version of Atom. You are correct that Atom does not currently support this. We already have an enhancement request at #2939. If you want help or suggestions on how to modify Atom in order to make it portable, you might get more help on Atom's Discuss message board.
benogle commentedon Nov 10, 2014
Closing this as it does not to appear to be an issue with atom, and the enhancement request is the same as #2939.
lock commentedon Jan 25, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!