Skip to content
Snippets Groups Projects
Commit 70fbb707 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

launched script is now snap friendly.

parent 503c9ade
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,9 @@ install(DIRECTORY ${MOOSE_EXAMPLE_DIR}/ ...@@ -85,7 +85,9 @@ install(DIRECTORY ${MOOSE_EXAMPLE_DIR}/
PATTERN "*.pyc" EXCLUDE PATTERN "*.pyc" EXCLUDE
) )
configure_file( ${CMAKE_SOURCE_DIR}/cmake/moose.in ${CMAKE_BINARY_DIR}/moose ) # Copy the command to launch moose.
file(COPY ${CMAKE_SOURCE_DIR}/moose DESTINATION ${CMAKE_BINARY_DIR})
install(PROGRAMS ${CMAKE_BINARY_DIR}/moose DESTINATION bin) install(PROGRAMS ${CMAKE_BINARY_DIR}/moose DESTINATION bin)
## UNINSTALL ## UNINSTALL
......
#!/usr/bin/env bash
(
cd @CMAKE_INSTALL_PREFIX@/lib/moose && python mgui.py &
)
moose 0 → 100755
#!/usr/bin/env bash
SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")"
(
# Get the current path of script.
cd $SCRIPT_DIR/../lib/moose/gui && python mgui.py &
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment