mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-05-14 10:29:34 +00:00
simple fixes
This commit is contained in:
parent
f097cf711c
commit
20d9058a5b
@ -16,6 +16,9 @@ SET(DATA_DIR "${INSTALLER_DIR}/packages/HanoiTowers/data")
|
||||
|
||||
SET(BIB_APP "${CMAKE_CURRENT_SOURCE_DIR}/hanoi_towers/build/Release/HanoiTowers")
|
||||
SET(TARGET_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Distro")
|
||||
SET(PRODUCT_VER_Mj 1)
|
||||
SET(PRODUCT_VER_Mn 6)
|
||||
SET(PRODUCT_VER_Re 0)
|
||||
|
||||
file(MAKE_DIRECTORY ${TARGET_DIR})
|
||||
|
||||
|
@ -28,3 +28,5 @@ file(GLOB SOURCE_CPP
|
||||
add_executable(${CURRENT_PROJECT} ${SOURCE_CPP})
|
||||
target_link_libraries(${CURRENT_PROJECT} PRIVATE NetworkProtocol Patronum)
|
||||
target_include_directories(${CURRENT_PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
setVersion(${PRODUCT_VER_Mj} ${PRODUCT_VER_Mn} ${PRODUCT_VER_Re})
|
||||
|
@ -5,6 +5,8 @@
|
||||
HanoiService::HanoiService(int argc, char *argv[]):
|
||||
Patronum::Service<QCoreApplication>(argc, argv, "HanoiService") {
|
||||
|
||||
if (!QuasarAppUtils::Params::isEndable("fileLog"))
|
||||
QuasarAppUtils::Params::setArg("fileLog", "/var/log/HanoiService.log");
|
||||
}
|
||||
|
||||
HanoiService::~HanoiService() {
|
||||
|
@ -8,6 +8,7 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
include(../QtNetworkProtocol/QuasarAppLib/CMake/ProjectOut.cmake)
|
||||
include(../QtNetworkProtocol/QuasarAppLib/CMake/Version.cmake)
|
||||
|
||||
set(CURRENT_PROJECT Terminal)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
@ -26,3 +27,5 @@ add_executable(${CURRENT_PROJECT} ${SOURCE_CPP})
|
||||
target_link_libraries(${CURRENT_PROJECT} PRIVATE Patronum)
|
||||
target_include_directories(${CURRENT_PROJECT} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
|
||||
setVersion(${PRODUCT_VER_Mj} ${PRODUCT_VER_Mn} ${PRODUCT_VER_Re})
|
||||
|
@ -12,10 +12,12 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
Terminal terminal;
|
||||
if (!terminal.send(argc, argv)) {
|
||||
QuasarAppUtils::Params::log("command not sendet!", QuasarAppUtils::Error);
|
||||
return 10;
|
||||
}
|
||||
QTimer::singleShot(0, [&terminal, argc, argv]() {
|
||||
if (!terminal.send(argc, argv)) {
|
||||
QuasarAppUtils::Params::log("command not sendet!", QuasarAppUtils::Error);
|
||||
QCoreApplication::exit(10);
|
||||
}
|
||||
});
|
||||
|
||||
QTimer::singleShot(1000, []() {
|
||||
QuasarAppUtils::Params::log("response timed out!", QuasarAppUtils::Error);
|
||||
|
2
Patronum
2
Patronum
@ -1 +1 @@
|
||||
Subproject commit 15da148a35c0e48ee9db3274ec2a89c7ca8a93f6
|
||||
Subproject commit ad3e78cf71fb86864ff98b04086c65bfa68a6d39
|
@ -30,4 +30,4 @@ add_executable(${CURRENT_PROJECT} ${SOURCE_CPP})
|
||||
target_link_libraries(${CURRENT_PROJECT} PRIVATE QmlNotyfyService NetworkProtocol)
|
||||
target_include_directories(${CURRENT_PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
|
||||
setVersion(${PRODUCT_VER_Mj} ${PRODUCT_VER_Mn} ${PRODUCT_VER_Re})
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: hanoi-tower
|
||||
version: '1.5.3.1'
|
||||
version: '1.6.0.0'
|
||||
summary: The Hanoi Tower is one of the most popular puzzles of the 19th century
|
||||
description: |
|
||||
The Hanoi Tower is one of the most popular puzzles of the 19th century. |
|
||||
|
Loading…
x
Reference in New Issue
Block a user