Commit Graph

124 Commits

Author SHA1 Message Date
Damien Guard
4d9e2b865b Ensure atom.cmd --wait correctly waits in Windows cmd & powershell 2016-03-03 20:03:44 -08:00
Damien Guard
92bbbf0645 Windows command line does not allow ELSE on separate line, fixes #10934 2016-02-28 15:05:16 -08:00
Dave Rael
f1cb69ccde 🎨 Cleanup tabs vs spaces and debugging line 2015-11-30 18:20:40 -06:00
Dave Rael
ca629027ff :checkered-flag: Add race condition protection for getting process id
to make sure temp file isn't in conflict with another process and to make sure
to get the right process id
2015-11-24 15:04:53 -07:00
Dave Rael
e392e5dfcc 🏁 Make --wait work on Windows
including using Atom as the git commit editor
2015-11-24 09:34:53 -07:00
Thomas Johansen
ae09d687a0 Re-enable console.log via ELECTRON_ENABLE_LOGGING 2015-11-18 17:46:20 +01:00
Daniel Hengeveld
604eb66d0c Merge pull request #9539 from atom/sm-file-extensions
Add more file extensions
2015-11-17 14:29:15 +01:00
Wliu
32ec2b0270 🏁 Add apm.cmd 2015-11-13 18:14:37 -05:00
simurai
27d8e979ce Add more file extensions
to match all languages bundled with Atom
2015-11-12 15:43:49 +09:00
Max Brunsfeld
3c48af049d Name files correctly for beta in debian and rpm packages 2015-09-23 17:33:00 -07:00
Max Brunsfeld
c918a44eb0 Configure icons based on --channel option to build task
On CI, set that option to 'beta', 'stable' or 'dev' based on the branch
2015-09-16 16:32:30 -07:00
Kevin Sawicki
f59382dbda Use dirname in win/apm.sh
Refs #6738
Refs #7141
2015-06-10 16:11:13 -07:00
Kevin Sawicki
082a9f6dde Merge pull request #6738 from jhasse/patch-1
Use dirname of $0
2015-06-10 16:00:10 -07:00
Machisté N. Quintana
9d70aec316 Only use lsb-core instead of full lsb suite 2015-06-07 10:49:25 -04:00
Wliu
1fad4bae47 Add libcap2 as a dependency for Debian
Closes #7066
2015-06-02 19:29:02 -04:00
Machisté N. Quintana
2031e3dfde Use lsb virtual package instead of hard require 2015-05-28 09:12:49 -04:00
Machiste Quintana
f919bc40dc Add lsb_release as Linux dependency 2015-05-21 08:35:01 -04:00
Jan Niklas Hasse
9c5f9c5be9 Use dirname of $0 2015-05-11 15:18:30 +02:00
a-moses
9b20239b9a add comtable to debian testing and ubuntu 14.04
* libgcrypt11-dev  on debian is a dammy file "shortcut" to libgcrypt20 . so to make possible to install atom on debian testing version  we should  add on depends ** libgcrypt20.

libgcrypt20 has  backward compatibility to libgcrypt11 .

** libgcrypt20 is comfortable  with  debian unstable/testing ,  and ubuntu 14.04TLS  .

* libgcrypt11 (without -dev) not exists on debian testing and makeing  bugs with atom deb file .
2015-02-18 00:51:47 +02:00
Ethan Estrada
5f2b5c3781 Only copy icons to build location
Linux icons are now only copied for build process, not for install
process. They should be ignored for all platforms except RPM package
build on Linux.
2015-02-06 01:06:28 -07:00
Ethan Estrada
3a971a5a1a Move linux icons back to their original location 2015-02-06 01:02:37 -07:00
Ethan Estrada
fc5a22a783 Pick up icons from icon path in RPM package build 2015-02-04 12:55:59 -07:00
Ethan Estrada
25f490484b Move sized icons so they get picked up at buildtime 2015-02-04 12:45:30 -07:00
Ethan Estrada
08edcf23c9 Let Linux packages fully determine executable path
It is no longer hard coded into the atom.desktop.in file; the
individual grunt tasks now determine how the executable is accessed.
2015-02-04 11:06:20 -07:00
Ethan Estrada
449acc7ced Reverted atom.desktop.in
I realize the debian package build depends on this. Although it
probably won't break anything, I would rather implement a solution
that doesn't change the behavior of the debian installer.
2015-02-04 10:01:47 -07:00
Ethan Estrada
afb795d8cc mkrpm honors the '--install-dir' option of grunt
Also, atom.spec now uses the description provided by grunt instead
of hardcoding its own description.
2015-02-03 22:43:18 -07:00
Ethan Estrada
ef8a493b9a Remove some hardcoded paths from atom.spec.in
Also, fix a couple lines in atom.spec.in that either weren't
really doing anything or were inconsistent with the rest of the
script.
2015-02-03 22:03:49 -07:00
Ethan Estrada
c738145dc7 Revert "Fixes RPM install path and icon location"
This reverts commit b92e6f5a2d.
2015-02-03 21:37:14 -07:00
simurai
740e6de5f3 Add Linux icons 2015-02-03 12:47:30 +09:00
Ethan Estrada
223334181b Place atom.png icons in standard system locations
This is so that the atom.desktop file will be able to find the
"atom" icon when requested. This adds the dependency of ImageMagick
to convert atom.png to varying resolutions, although, only during
the rpm build process (not during actual install). So the result
is ultimatly no different for the end user.

Also, fixed an absolute path from the rpm build process and made
it relative. It was hardcoded in the spec file to
"/tmp/atom-build/Atom/*", so builds that were made elsewhere would
have broken when attempting to package into an rpm. Now rpm packaging
should work from a build made anywhere. Also needed to modify
script/mkrpm so that it copies the build files in such a way that
they can more easily be dealt with in the spec file in a relative
way.
2015-01-31 22:14:07 -07:00
Ethan Estrada
a7e18b05d3 Depend on $PATH to find executable in atom.desktop
With the atom atom executable now located in /usr/bin instead
of /usr/local/bin, it should always be available as part of the
system PATH. Thus hardcoding the filepath is not needed. Also, this
increase the flexibility of relocating the rpm at installation time
(not just build time) since the user or sys admin need only make
sure that the atom executable is in the system PATH and the
atom.desktop file will work correctly.
2015-01-31 22:12:26 -07:00
Edgard Castro
b92e6f5a2d Fixes RPM install path and icon location
This makes Atom a better desktop citizen relocating to where the usual install
directory is (like on the debian package) and also fix the icon using absolute
paths, breaking icon-themes.
2015-01-31 15:04:24 -02:00
Ethan Estrada
bfeeddea4d Make rpm package installs relocatable 2015-01-29 22:55:41 -07:00
Ethan Estrada
1589b8b192 Make apm symlink relative for rpm spec 2015-01-29 22:35:11 -07:00
Kevin Sawicki
5bf0e53c01 Shorten apm paths on Windows 2015-01-21 09:07:26 -08:00
simurai
bd08e36d2d Replace Win icons 2015-01-08 14:14:12 +09:00
simurai
13cf51f835 Replace file icon 2015-01-07 23:06:08 +09:00
simurai
dc06173f2f Replace main icon 2015-01-07 17:13:34 +09:00
simurai
358799285e Increse icon line thickness 2015-01-07 16:49:31 +09:00
simurai
6b34a18bd9 Replace Mac icons
with Yosemite version
2014-12-30 23:04:49 +09:00
Kevin Sawicki
5a8b96b180 Add git as debian dependency
Used by npm to install module dependencies that use git URLs

Closes #4668
2014-12-17 09:11:25 -08:00
Kevin Sawicki
83d5890962 Add missing .. segment 2014-12-16 09:40:16 -08:00
Kevin Sawicki
7ee3ccb43d Move up one more directory 2014-12-16 09:33:16 -08:00
Kevin Sawicki
89ed95e2ae Add apm sh shim 2014-12-16 09:08:31 -08:00
Kevin Sawicki
59d582722b Add .sh extension 2014-12-15 17:48:04 -08:00
Kevin Sawicki
9239b95241 Use $0 instead of %~dp0 2014-12-15 17:47:01 -08:00
Kevin Sawicki
ab8b5959d3 Add initial Windows atom wrapper script 2014-12-15 17:46:34 -08:00
Kevin Sawicki
eef6532b8c atom.exe is now up one more directory 2014-12-12 12:11:38 -08:00
Kevin Sawicki
9d3aaad394 atom.exe is now up on more directory 2014-12-12 12:11:38 -08:00
Kevin Sawicki
f91741eec1 Install cli folder to resources directory 2014-12-12 12:11:37 -08:00