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.
Installing Atom, it should be possible to configure the prefix for the installation. By default it’s /usr/local, but distribution people normally want to change that. For example, they want to install Atom in /usr/bin, and not /usr/local/bin.
We should also clarify that the intent here is to control where script/build copies the compiled version of atom to on your system when --install is specified.
It would have no control whatsoever on where .deb or rpm packages it builds would install for people using those.
@damieng I'd be comfortable doing something Linux specific if we only display the --prefix documentation string on Linux. As for the rpm issue, seems like we have the same thing on Windows?
We should also clarify that the intent here is to control where script/build copies the compiled version of atom to on your system when --install is specified.
It would have no control whatsoever on where .deb or rpm packages it builds would install for people using those.
@paulmenzel is this acceptable for what you had in mind?
All good softwares when we install use by default "Program Files" (or recently "Program Files (x86)" for 32 bit apps in 64 bit system).
Bad softwares do not use it.
Activity
paulmenzel commentedon Nov 16, 2016
@as-cii, @nathansobo, judging from
git logyou work on the build system. It’d be great if you could clear that up.nathansobo commentedon Nov 16, 2016
cc @iolsen for reactive prioritization.
damieng commentedon Nov 29, 2016
The hard-coded reference in command-installer.coffee is actually for installing command-line tools from an already-running version of Atom.
The install script is in install-application.js and currently attempts to installs to;
/usr/local/share,/usr/binfor atom.sh and apm, and/usr/local/share/applications(for desktop icon)/Applications%LOCALAPPDATA%\Atom\app-devWe should probably provide support for all these operating systems with this config switch.
damieng commentedon Nov 29, 2016
We should also clarify that the intent here is to control where script/build copies the compiled version of atom to on your system when
--installis specified.It would have no control whatsoever on where .deb or rpm packages it builds would install for people using those.
nathansobo commentedon Nov 29, 2016
@damieng I'd be comfortable doing something Linux specific if we only display the
--prefixdocumentation string on Linux. As for the rpm issue, seems like we have the same thing on Windows?iolsen commentedon Jan 3, 2017
@paulmenzel is this acceptable for what you had in mind?
Neustradamus commentedon Aug 19, 2019
@damieng: Any news for Windows installation folder?
C;\Program Files...
Linked to:
Neustradamus commentedon Jan 10, 2020
All good softwares when we install use by default "Program Files" (or recently "Program Files (x86)" for 32 bit apps in 64 bit system).
Bad softwares do not use it.
It is since Windows 95 and maybe before, no?