File tree Expand file tree Collapse file tree 2 files changed +8
-26
lines changed Expand file tree Collapse file tree 2 files changed +8
-26
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,6 @@ needs_exe_wrapper = true
101101library_dirs= ['$LIBNX_LIB ','$PORTLIBS_LIB ']
102102libnx='$LIBNX '
103103
104- APP_NAME = 'oopetris'
105- APP_AUTHOR = 'coder2k'
106- APP_VERSION = true
107-
108104USE_NACP = true
109105
110106APP_ROMFS='$ROMFS '
Original file line number Diff line number Diff line change @@ -81,28 +81,14 @@ fs = import('fs')
8181
8282if use_nacp
8383 nacptool = find_program (' nacptool' )
84- NACP_FLAGS = [nacptool, ' --create' ]
85-
86- APP_NAME = meson .get_external_property(' APP_NAME' , switch_exe_name)
87- NACP_FLAGS += APP_NAME
88-
89- APP_AUTHOR = meson .get_external_property(' APP_AUTHOR' , '' )
90- if APP_AUTHOR == ''
91- error (' If USE_NACP is set, you have to provide an APP_AUTHOR' )
92- endif
93- NACP_FLAGS += APP_AUTHOR
94-
95- APP_VERSION = meson .get_external_property(' APP_VERSION' , '' )
96- if APP_VERSION == true
97- APP_VERSION = meson .project_version()
98- endif
99-
100- if APP_VERSION == ''
101- error (' If USE_NACP is set, you have to provide an APP_VERSION' )
102- endif
103- NACP_FLAGS += APP_VERSION
104-
105- NACP_FLAGS += (switch_exe_name + ' .nacp' )
84+ NACP_FLAGS = [
85+ nacptool,
86+ ' --create' ,
87+ oopetris_name,
88+ oopetris_author,
89+ meson .project_version(),
90+ switch_exe_name + ' .nacp' ,
91+ ]
10692
10793 APP_TITLEID = meson .get_external_property(' APP_TITLEID' , '' )
10894
You can’t perform that action at this time.
0 commit comments