mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
LnLauncher: add launch daemon entry.
Now it will launch itself at the next boot after install.
This commit is contained in:
@@ -13,7 +13,7 @@ The latest version, 1.1.2, was adapted for Haiku by Daniel Weber - thank you!
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2000-2014 Mikael Eiman"
|
||||
HOMEPAGE="http://einman.tv/LnLauncher"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
SOURCE_URI="http://eiman.tv/LnLauncher/LnLauncher-1.1.2-haiku.zip"
|
||||
@@ -41,9 +41,20 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
mkdir -p $dataDir
|
||||
mkdir -p $dataDir/user_launch
|
||||
cp -r source/locale $dataDir
|
||||
cp source/source/LnLauncher $appsDir
|
||||
|
||||
addAppDeskbarSymlink $appsDir/LnLauncher LnLauncher
|
||||
|
||||
echo "target desktop {
|
||||
service x-vnd.LnLauncher {
|
||||
launch /system/apps/LnLauncher
|
||||
legacy
|
||||
on {
|
||||
initial_volumes_mounted
|
||||
}
|
||||
}
|
||||
}
|
||||
" > $dataDir/user_launch/LnLauncher
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user