- Timestamp:
- Mar 27, 2008 3:20:00 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29094
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r7442 r7594 929 929 #endif 930 930 931 #if defined (Q_WS_MAC) /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 932 env += "\nVBOXGUIPATH=../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM"; 933 #elif defined (Q_WS_WIN) 934 env += "\nVBOXGUIPATH=VirtualBox.exe"; 935 #else 936 env += "\nVBOXGUIPATH=VirtualBox"; 937 #endif 938 931 939 CProgress progress = vbox.OpenRemoteSession (session, id, "gui", env); 932 940 if (!vbox.isOk()) -
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r7583 r7594 364 364 ifeq ($(BUILD_TARGET),darwin) 365 365 # For the launch trick we need different inode numbers. 366 VirtualBox_INST = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM366 VirtualBox_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4 367 367 368 368 # For testing iChat Theater stuff change -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r7442 r7594 933 933 #endif 934 934 935 #if defined (Q_WS_MAC) /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 936 env += "\nVBOXGUIPATH=../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM4"; 937 #elif defined (Q_WS_WIN) 938 env += "\nVBOXGUIPATH=VirtualBox4.exe"; 939 #else 940 env += "\nVBOXGUIPATH=VirtualBox4"; 941 #endif 942 935 943 CProgress progress = vbox.OpenRemoteSession (session, id, "gui", env); 936 944 if (!vbox.isOk()) -
trunk/src/VBox/Main/MachineImpl.cpp
r7516 r7594 3161 3161 if (type == "gui") 3162 3162 { 3163 #ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3164 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM"; 3165 #else 3166 const char VirtualBox_exe[] = "VirtualBox" HOSTSUFF_EXE; 3167 #endif 3168 Assert (sz >= sizeof (VirtualBox_exe)); 3163 char VirtualBox_exe[sz]; 3164 size_t cchActual; 3165 vrc = RTEnvGetEx (env, "VBOXGUIPATH", VirtualBox_exe, sz, &cchActual); 3166 AssertRCBreakVoid (vrc); 3169 3167 strcpy (cmd, VirtualBox_exe); 3170 3168
Note:
See TracChangeset
for help on using the changeset viewer.