mirror of
https://github.com/atom/atom.git
synced 2026-01-26 23:38:48 -05:00
20 lines
602 B
Bash
Executable File
20 lines
602 B
Bash
Executable File
#!/bin/sh
|
|
INSTALLDIR=/usr/share/atom
|
|
|
|
mkdir -p $INSTALLDIR
|
|
cp out/Default/atom $INSTALLDIR
|
|
cp -t $INSTALLDIR *.pak
|
|
cp -R locales $INSTALLDIR
|
|
cp atom.png $INSTALLDIR
|
|
cp lib/libcef.so $INSTALLDIR
|
|
cp lib/libcef_dll_wrapper.a $INSTALLDIR
|
|
cp -R ../../src $INSTALLDIR
|
|
cp -R ../../static $INSTALLDIR
|
|
cp -R ../../vendor $INSTALLDIR
|
|
cp -R ../../bundles $INSTALLDIR
|
|
cp -R ../../themes $INSTALLDIR
|
|
mkdir -p $INSTALLDIR/native/v8_extensions
|
|
cp -t $INSTALLDIR/native/v8_extensions ../v8_extensions/*.js
|
|
coffee -c -o $INSTALLDIR/src/stdlib ../../src/stdlib/require.coffee
|
|
ln -sf $INSTALLDIR/atom /usr/local/bin/atom
|