mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 01:48:00 +02:00
* tools/dbus-launch-win.c: new file, replaces script wrapper on win32.
* cmake/dbus-launch.bat.cmake: removed obsolate file
This commit is contained in:
parent
081b2cd68e
commit
dada2583bf
2 changed files with 2 additions and 26 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
* tools/dbus-launch-win.c: new file, replaces script wrapper on win32.
|
||||
|
||||
* cmake/dbus-launch.bat.cmake: removed obsolate file
|
||||
|
||||
2007-05-31 Ralf Habacker <ralf.habacker@freenet.de>
|
||||
|
||||
* bus/main.c (main): uses _dbus_get_config_file_name() to detect
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
:: environment setting for dbus clients
|
||||
@echo off
|
||||
|
||||
:: session bus address
|
||||
set DBUS_SESSION_BUS_ADDRESS=@DBUS_SESSION_BUS_DEFAULT_ADDRESS@
|
||||
|
||||
:: system bus address
|
||||
set DBUS_SYSTEM_BUS_DEFAULT_ADDRESS=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@
|
||||
|
||||
if exist bus\session.conf (
|
||||
@echo starting local dbus daemon
|
||||
start "D-Bus daemon" "bin\dbus-daemon" "--config-file=bus\session.conf"
|
||||
) else (
|
||||
if not "%DBUSDIR%"=="" (
|
||||
@echo starting dbus daemon identified by DBUSDIR=%DBUSDIR%
|
||||
start "D-Bus daemon" "%DBUSDIR%\bin\dbus-daemon" "--session"
|
||||
pause
|
||||
) else (
|
||||
if exist "%ProgramFiles%\dbus\bin\dbus-daemon.exe" (
|
||||
@echo starting global dbus daemon located in %ProgramFiles%\dbus
|
||||
start "D-Bus daemon" "%ProgramFiles%\dbus\bin\dbus-daemon" "--session"
|
||||
) else (
|
||||
@echo please set DBUSDIR to your DBUS installation dir and restart this script
|
||||
)
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Reference in a new issue