feat: add GIO_LAUNCHED_DESKTOP_FILE to runtime envs
add hooks for dde-dock Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
11
misc/hooks.d/dockEnv.sh
Normal file
11
misc/hooks.d/dockEnv.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
|
||||
#
|
||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
# This hook is required by dde-dock that detect identity of Application.
|
||||
# May be remove on later.
|
||||
|
||||
export GIO_LAUNCHED_DESKTOP_FILE_PID=$$
|
||||
exec "$@"
|
Reference in New Issue
Block a user