[Linux] Add shell task to setup android devlopment on arch
This commit is contained in:
parent
23ff653304
commit
05318b3362
@ -233,10 +233,6 @@ hostNameToAction =
|
|||||||
|
|
||||||
myStartup = do
|
myStartup = do
|
||||||
spawn "systemctl --user start wm.target"
|
spawn "systemctl --user start wm.target"
|
||||||
setWorkspaceName "1" "code"
|
|
||||||
setWorkspaceName "2" "doc"
|
|
||||||
setWorkspaceName "3" "browse"
|
|
||||||
setWorkspaceName "4" "watch"
|
|
||||||
hostName <- io getHostName
|
hostName <- io getHostName
|
||||||
M.findWithDefault (return ()) hostName hostNameToAction
|
M.findWithDefault (return ()) hostName hostNameToAction
|
||||||
|
|
||||||
|
12
tasks/shell/arch_android_development.sh
Normal file
12
tasks/shell/arch_android_development.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
pacaur -S android-platform android-sdk android-sdk-platform-tools android-sdk-build-tools --noconfirm --noedit --needed
|
||||||
|
|
||||||
|
groupadd sdkusers
|
||||||
|
gpasswd -a $(whoami) asdkusers
|
||||||
|
|
||||||
|
sudo -v
|
||||||
|
|
||||||
|
sudo chown -R :asdkusers /opt/android-sdk/
|
||||||
|
sudo chmod -R g+w /opt/android-sdk/
|
||||||
|
sudo newgrp sdkusers
|
||||||
|
|
||||||
|
pacaur -S android-platform-25
|
Loading…
Reference in New Issue
Block a user