0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 12:32:05 +01:00

everything in there

This commit is contained in:
2025-12-25 21:28:34 +01:00
parent 4109e7a813
commit 9c2d6e4990
3 changed files with 0 additions and 6 deletions

View File

@@ -23,7 +23,6 @@ install(CODE
# Define the paths for the source and destination files
set(PREFIX_FILE \"${CMAKE_CURRENT_SOURCE_DIR}/.script_prefix.lua\")
set(SCRIPTS_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/scripts\")
set(SCRIPT_FILE \"${CMAKE_CURRENT_SOURCE_DIR}/src/script.lua\")
set(DEST_FILE \"/etc/rds95.lua\")
# Initialize content variable
@@ -60,11 +59,6 @@ install(CODE
message(STATUS \"Scripts directory not found.\")
endif()
# Add the main script file
message(STATUS \"Adding main script.lua.\")
file(READ \${SCRIPT_FILE} MAIN_SCRIPT_CONTENT)
set(FINAL_CONTENT \"\${FINAL_CONTENT}\n\${MAIN_SCRIPT_CONTENT}\")
# Write the resulting content to the destination file
message(STATUS \"Installing script file to \${DEST_FILE}\")
file(WRITE \${DEST_FILE} \"\${FINAL_CONTENT}\")