mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-05-15 02:49:33 +00:00
try fix deploy
This commit is contained in:
parent
17544900b8
commit
6650be663e
HanoiTowers/client
@ -47,6 +47,11 @@ set(LANGS ${CMAKE_CURRENT_SOURCE_DIR}/languages/en.ts
|
||||
prepareQM(${CURRENT_PROJECT} ${CMAKE_CURRENT_SOURCE_DIR} "${LANGS}")
|
||||
|
||||
if (ANDROID)
|
||||
|
||||
set(ENV{ANDROID_API_VERSION} 31)
|
||||
set(ANDROID_API_VERSION $ENV{ANDROID_API_VERSION})
|
||||
set(OPENSSL_ROOT_PATH "$ENV{OPENSSL_ROOT_DIR}")
|
||||
|
||||
set(HANOI_EXTRA_LIBS Heart
|
||||
${PROJECT_NAME}Protockol
|
||||
QuasarApp
|
||||
|
@ -9,22 +9,22 @@ Item {
|
||||
if (!backEnd.isAndroid())
|
||||
return;
|
||||
|
||||
if (backEnd.isAdMod()) {
|
||||
// if (backEnd.isAdMod()) {
|
||||
|
||||
if (backEnd.launchCount < 6 || backEnd.launchCount % 2 ) {
|
||||
return;
|
||||
}
|
||||
// if (backEnd.launchCount < 6 || backEnd.launchCount % 2 ) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
const component = Qt.createComponent("qrc:/menu/Premium.qml");
|
||||
popup = component.createObject(this);
|
||||
popup.open();
|
||||
// const component = Qt.createComponent("qrc:/menu/Premium.qml");
|
||||
// popup = component.createObject(this);
|
||||
// popup.open();
|
||||
|
||||
} else if (backEnd.showCredits) {
|
||||
// } else if (backEnd.showCredits) {
|
||||
|
||||
const component = Qt.createComponent("qrc:/menu/PremiumThanks.qml");
|
||||
popup = component.createObject(this);
|
||||
popup.open();
|
||||
}
|
||||
// const component = Qt.createComponent("qrc:/menu/PremiumThanks.qml");
|
||||
// popup = component.createObject(this);
|
||||
// popup.open();
|
||||
// }
|
||||
}
|
||||
|
||||
anchors.fill: parent
|
||||
|
Loading…
x
Reference in New Issue
Block a user