Commit Graph

82 Commits

Author SHA1 Message Date
Sadick
400a8c278e Merge branch 'master' into master 2021-09-03 09:35:37 +03:00
Sadick
e5e919c94f Merge pull request #17107 from okonomiyaki3000/patch-1
Convert arguments to absolute paths
2021-09-03 09:20:37 +03:00
Richik SC
0904c30ae1 Update atom.visualElementsManifest.xml 2021-05-21 08:13:45 +03:00
Richik SC
f9821916b4 Delete atom-icon-medium-150.png 2021-05-21 08:13:44 +03:00
Richik SC
1b187d93c8 Delete atom-icon-medium-70.png 2021-05-21 08:13:44 +03:00
Richik SC
b5b5f2559a Add HiDPI visual elements 2021-05-21 08:13:43 +03:00
Richik SC
5282be6267 Change paths 2021-05-21 08:13:43 +03:00
Richik SC
55a184e08b Add start tiles 2021-05-21 08:13:42 +03:00
Richik SC
ed5dbf884f Create atom.visualElementsManifest.xml 2021-05-21 08:13:42 +03:00
Sai
1601f9d708 Update resources/win/atom.sh
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
2020-10-14 11:07:46 +01:00
Sai
f739f36efd Fix WSL uname test
On WSL2, Ubuntu 20.04.1, `uname -r` == `4.19.128-microsoft-standard`, so it won't match `/Microsoft$/` because both wrong case and non-final.

I've changed it to use a simple regex.
2020-10-07 18:42:59 +01:00
Rafael Oleza
79f6836349 Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into dw-windows-separate-channels 2019-06-01 00:28:37 +02:00
Rafael Oleza
975f203dc7 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into dw-windows-separate-channels 2019-06-01 00:27:52 +02:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Rafael Oleza
6eff118c52 Do not use arguments as variable name 2019-05-13 17:48:11 +02:00
Ash Wilson
04685d13fe Port changes to atom.cmd to show conflicting option error on win32 2019-03-27 08:35:31 -04:00
Matt Cooper
d6c6e2e957 Update windows atom.sh launch script to support WSL changes in 1809
Fixes #18702
2019-01-16 09:34:34 +10:00
David Wilson
bddf799e26 Customize atom.cmd for channel-specific atom.exe 2018-09-20 13:15:50 -07:00
Matt Cooper
46aae0902e Fixes #17794 2018-08-07 12:33:14 +10:00
Elijah Madden
f1c03c8163 Convert arguments to absolute paths
This script launches cmd and has it launch atom with the passed arguments. The problem is that cmd will not (necessarily) start in the pwd. So, relative paths like `.` and `..` have a different meaning. So we should first convert them to absolute paths with cygpath. 

Try it yourself. Go to some directory in bash and run `atom .` Rather than opening your current bash pwd, you'll open $HOME because when cmd opens, that's where it will be. Now apply this change and try the same thing. 

By the way, I only see this problem affecting MSysGit and MSys2. I can't say whether it affects other environments.
2018-04-10 14:24:53 +09:00
Nathan Sobo
18c5a31fbc Unset ELECTRON_ENABLE_LOGGING on Windows unless explicitly requested 2017-08-03 11:53:36 -06:00
Nathan Sobo
b5bdf4acb9 Don't enable electron logging by default 2017-08-02 21:03:29 -06:00
Damien Guard
805d19cda8 Use uname-r instead to avoid msys2 incompatibility 2017-04-24 11:31:29 -07:00
Damien Guard
b5c4493f57 Attempt to map /mnt/ paths for WSL on Windows 2017-04-19 23:04:23 -07:00
Jared M. Smith
0be25d818a 🐛 Fix apm shell script reference in Windows
fixes #13874
2017-02-23 15:09:35 -06:00
Damien Guard
a8f2d18d4c Custom icon for jumplist projects 2016-12-13 19:15:42 -08:00
Damien Guard
59dfb9e54b Merge pull request #12929 from atom/wl-use-scripts-from-apm
Redirect apm scripts to use the actual apm ones
2016-12-12 19:05:21 -08:00
Antonio Scandurra
1bdd79d719 Implement atom --benchmark-test to ensure benchmarks are valid on CI 2016-10-14 11:02:59 +02:00
Wliu
1efda55761 Redirect apm scripts to use the actual apm ones 2016-10-10 14:19:30 -04:00
simurai
7304fb31cd Add Windows file icon 2016-08-25 22:28:48 +09:00
Damien Guard
dc6388323c Ensure Cygwin + Msys compatibility on Windows 2016-05-24 11:14:24 -07:00
Damien Guard
26fcb03662 Optimize bash Windows, force LF line endings 2016-05-16 13:01:10 -07:00
Damien Guard
0e5a4ffb6e Ensure atom command works on Cygwin + MSYS bash shells 2016-05-15 21:02:47 -07:00
Damien Guard
405f28f726 Handle spaces in relative path to atom.sh on bash/win, fixes #11732 2016-05-10 16:32:13 -07:00
Damien Guard
891071196f Ensure atom.cmd with --wait returns exit code of 0 for git commit usage #11605 2016-04-25 15:28:22 -07:00
Damien Guard
196bc53e6b Ensure Windows Bash script works on all versions 2016-04-20 09:57:41 -07:00
Damien Guard
53b516a6ec Quote spaces in paths on Win cmd line 2016-04-18 20:48:34 -07:00
Damien Guard
52d6fbde1b More reliable to just call atom.cmd for Cygwin 2016-03-08 12:12:52 -08:00
Damien Guard
56b23a4a10 Make cli atom --wait work on Cygwin 2016-03-07 14:01:05 -08:00
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
Wliu
32ec2b0270 🏁 Add apm.cmd 2015-11-13 18:14:37 -05: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
Jan Niklas Hasse
9c5f9c5be9 Use dirname of $0 2015-05-11 15:18:30 +02:00
Kevin Sawicki
5bf0e53c01 Shorten apm paths on Windows 2015-01-21 09:07:26 -08:00