11 Commits

Author SHA1 Message Date
sadick254
809303b422 Update stub usage 2020-09-22 18:17:58 +03:00
Bulby
10dfeb8c56 Allow Title Bar to be Hidden 2020-09-07 21:41:01 +03:00
Rafael Oleza
f7b7545fd0 Create get-app-name module that returns correct application name
Before, in order to retrieve the application name, Electron's
`getName()` method was used (https://electronjs.org/docs/api/app#appgetname).

Now, instead, we also use the Atom version in order to calculate the release
channel and be able to have it on the app name (e.g `Atom Nightly`).
2019-07-04 13:21:14 +02:00
Antonio Scandurra
6a88fa4185 Don't symlink compile-cache folder in AtomWindow tests
In these tests, we create a temporary `ATOM_HOME` to avoid cluttering 
the user's real `~/.atom` folder.

Adding a symlink to the real `compile-cache` was introduced to speed up 
main process tests, so that the transpilation cache could be reused. 

Unfortunately, when the real `~/.atom` folder did not exist (such as on 
a pristine environment on CI), it would confuse Atom, which would think 
that it didn't need to re-create a `compile-cache` folder again, but 
wouldn't be able to write to it because the symlink pointed to a 
non-existant directory.

Main process tests were overhauled and made faster recently, so we can 
safely remove this performance optimization.
2019-06-06 17:11:01 +02:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Ash Wilson
a53addbf78 Update AtomWindow::projectRoots synchronously on openLocations() 2019-04-24 15:04:59 -04:00
Ash Wilson
96e6403573 Remove unused forceAddToWindow 2019-04-19 17:36:33 -04:00
Ash Wilson
cc1ddf1011 Use hasOpenFiles to flag a window that will receive openLocations() 2019-04-19 15:50:03 -04:00
Ash Wilson
1a123c06ef Line separators are hard okay 2019-04-19 13:59:30 -04:00
Ash Wilson
b9268c703c URL pathnames use /, not path.sep 2019-04-19 12:53:30 -04:00
Ash Wilson
097906c23f AtomWindow tests 2019-04-18 16:20:26 -04:00