mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
🎨
This commit is contained in:
@@ -12,7 +12,7 @@ class AtomPortable
|
||||
fs.copySync(existingAtomHome, @getPortableAtomHomePath())
|
||||
|
||||
@isPortableInstall: (platform, environmentAtomHome, defaultHome) ->
|
||||
return false unless platform is 'win32' or platform is 'linux'
|
||||
return false unless platform in ['linux', 'win32']
|
||||
return false if environmentAtomHome
|
||||
return false if not fs.existsSync(@getPortableAtomHomePath())
|
||||
# currently checking only that the directory exists and is writable,
|
||||
|
||||
Reference in New Issue
Block a user