File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,6 @@ if(SHOW_CODE_LOCATION)
139
139
add_definitions (-DSHOW_CODE_LOCATION=1)
140
140
endif ()
141
141
142
- # comment next if block to avoid styling by branchname
143
- if (BRANCH_NAME MATCHES "testnet" )
144
- add_definitions (-DBEAM_TESTNET)
145
- elseif (BRANCH_NAME MATCHES "mainnet" )
146
- add_definitions (-DBEAM_MAINNET)
147
- endif ()
148
-
149
142
# uncoment next line for testnet
150
143
#set(BEAM_TESTNET TRUE)
151
144
# uncoment next line for mainnet
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ function(BEAM_TRANSLATIONS_COMPILE_QM ts_files out_qm_files)
24
24
set (${out_qm_files} ${QM_FILES} PARENT_SCOPE)
25
25
endfunction ()
26
26
27
+ set (APP_NAME "Beam Wallet${BEAM_DISPLAY_SUFFIX} " )
27
28
if (LINUX)
28
29
set (OUTPUT_NAME "BeamWallet${BEAM_SUFFIX_UPPER_CASE} " )
29
30
else ()
@@ -132,7 +133,7 @@ elseif(BEAM_MAINNET)
132
133
set (BEAM_ICON_SUFFIX "mainnet" )
133
134
endif ()
134
135
135
- add_definitions (-DAPP_NAME=\"${OUTPUT_NAME } \")
136
+ add_definitions (-DAPP_NAME=\"${APP_NAME } \")
136
137
137
138
file (COPY ${CMAKE_CURRENT_SOURCE_DIR} /icons/icon_${BEAM_ICON_SUFFIX} .ico
138
139
${CMAKE_CURRENT_SOURCE_DIR} /icons/beam_${BEAM_ICON_SUFFIX} .png
You can’t perform that action at this time.
0 commit comments