https://git.reactos.org/?p=reactos.git;a=commitdiff;h=275ab7ba2f9c347003ed7…
commit 275ab7ba2f9c347003ed7f50912ce7e37c365281
Author: Stas'M <x86corez(a)gmail.com>
AuthorDate: Wed Nov 1 22:54:53 2017 +0300
[CMAKE] Quick Launch shortcuts for Live/Hybrid CD
---
boot/CMakeLists.txt | 2 ++
boot/bootdata/CMakeLists.txt | 2 ++
2 files changed, 4 insertions(+)
diff --git a/boot/CMakeLists.txt b/boot/CMakeLists.txt
index 01219a9741..96d12baea4 100644
--- a/boot/CMakeLists.txt
+++ b/boot/CMakeLists.txt
@@ -102,6 +102,7 @@ file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/All
Users/My Docume
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/All Users/Start
Menu/Programs/StartUp=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/All
Users/Templates=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Application Data=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Application Data/Microsoft/Internet Explorer/Quick
Launch=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Cookies=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Desktop=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Favorites=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
@@ -145,6 +146,7 @@ file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst
"livecd/Profiles/All Users/
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/All
Users/Start Menu/Programs/StartUp=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/All
Users/Templates=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Application Data=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Application Data/Microsoft/Internet Explorer/Quick
Launch=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Cookies=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Desktop=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Favorites=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
diff --git a/boot/bootdata/CMakeLists.txt b/boot/bootdata/CMakeLists.txt
index 400a9ece12..6698791d4f 100644
--- a/boot/bootdata/CMakeLists.txt
+++ b/boot/bootdata/CMakeLists.txt
@@ -98,5 +98,7 @@ add_livecd_shortcut("ReactX Diagnostic" dxdiag.exe
"Profiles/All Users/Start Men
add_livecd_shortcut("Regedit" regedit.exe "Profiles/All Users/Start
Menu/Programs/System Tools")
add_livecd_shortcut("Task Manager" taskmgr.exe "Profiles/All Users/Start
Menu/Programs/System Tools")
add_livecd_shortcut("ReactOS Explorer" explorer.exe "Profiles/All
Users/Start Menu/Programs")
+add_livecd_shortcut("Command Prompt" cmd.exe "Profiles/Default
User/Application Data/Microsoft/Internet Explorer/Quick Launch")
+add_livecd_shortcut("ReactOS Explorer" explorer.exe "Profiles/Default
User/Application Data/Microsoft/Internet Explorer/Quick Launch")
add_custom_target(livecd_links DEPENDS ${LIVECD_SHORTCUTS})