mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
Remove soh.sh.in
This commit is contained in:
parent
3725f59af3
commit
194deb2df9
2 changed files with 0 additions and 25 deletions
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
HERE="$(dirname "$(readlink -f "${0}")")"/../..
|
|
||||||
|
|
||||||
export PATH="$HERE"/bin:"$HERE"/usr/bin:"$PATH"
|
|
||||||
export LD_LIBRARY_PATH="$HERE"/usr/lib:"$LD_LIBRARY_PATH"
|
|
||||||
export ZENITY=$(command -v zenity)
|
|
||||||
|
|
||||||
if [ -z ${SHIP_HOME+x} ]; then
|
|
||||||
export SHIP_HOME=$PWD
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z ${SHIP_BIN_DIR+x} ]; then
|
|
||||||
export SHIP_BIN_DIR="$HERE/usr/bin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! -e "$SHIP_HOME"/mods ]]; then
|
|
||||||
mkdir -p "$SHIP_HOME"/mods
|
|
||||||
touch "$SHIP_HOME"/mods/custom_otr_files_go_here.txt
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd "$SHIP_BIN_DIR"; ./soh.elf)
|
|
|
@ -696,10 +696,6 @@ INSTALL(FILES $<TARGET_PDB_FILE:soh> DESTINATION ./debug COMPONENT ship)
|
||||||
INSTALL(FILES ${CMAKE_BINARY_DIR}/soh/soh.o2r DESTINATION . COMPONENT ship)
|
INSTALL(FILES ${CMAKE_BINARY_DIR}/soh/soh.o2r DESTINATION . COMPONENT ship)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
||||||
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/linux/appimage/soh.sh.in ${CMAKE_BINARY_DIR}/linux/soh.sh @ONLY)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_program(CURL NAMES curl DOC "Path to the curl program. Used to download files.")
|
find_program(CURL NAMES curl DOC "Path to the curl program. Used to download files.")
|
||||||
execute_process(COMMAND ${CURL} -sSfL https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt -o ${CMAKE_BINARY_DIR}/gamecontrollerdb.txt OUTPUT_VARIABLE RESULT)
|
execute_process(COMMAND ${CURL} -sSfL https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt -o ${CMAKE_BINARY_DIR}/gamecontrollerdb.txt OUTPUT_VARIABLE RESULT)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue