mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-26 10:48:33 +01:00
Cmake: add SELF_CONTAINED
This commit is contained in:
@@ -144,6 +144,10 @@ if(WITH_SCANNER)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SELF_CONTAINED)
|
||||
target_compile_definitions(feather PRIVATE SELF_CONTAINED=1)
|
||||
endif()
|
||||
|
||||
if(DONATE_BEG)
|
||||
target_compile_definitions(feather PRIVATE DONATE_BEG=1)
|
||||
endif()
|
||||
|
||||
@@ -317,6 +317,10 @@ void MainWindow::initMenu() {
|
||||
ui->actionCreateDesktopEntry->setDisabled(true);
|
||||
#endif
|
||||
|
||||
#ifndef SELF_CONTAINED
|
||||
ui->actionCreateDesktopEntry->setVisible(false);
|
||||
#endif
|
||||
|
||||
// [Help]
|
||||
connect(ui->actionAbout, &QAction::triggered, this, &MainWindow::menuAboutClicked);
|
||||
connect(ui->actionOfficialWebsite, &QAction::triggered, [this](){Utils::externalLinkWarning(this, "https://featherwallet.org");});
|
||||
|
||||
Reference in New Issue
Block a user