From a0eda93e6c2e3b82b42b73d2da5059f022cab1dc Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 23 Feb 2025 22:15:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=B8=8D=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=9C=A8=E5=AE=B6=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meson.build | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/meson.build b/meson.build index d0dbc3dc..eeec9188 100644 --- a/meson.build +++ b/meson.build @@ -4,28 +4,28 @@ project('maomao', ['c', 'cpp'], subdir('protocols') -fs = import('fs') - -# 获取用户的主目录 -home_dir = run_command('sh', '-c', 'echo $HOME', check: true).stdout().strip() -config_dir = join_paths(home_dir, '.config', 'maomao') - -# 如果目标目录不存在,则创建它 -if not fs.is_dir(config_dir) - run_command('mkdir', '-p', config_dir, check: true) -endif - -# 拷贝 config.conf -config_file = join_paths(config_dir, 'config.conf') -if not fs.exists(config_file) - run_command('cp', 'config.conf', config_file, check: true) -endif - -# 拷贝 autostart.sh -autostart_file = join_paths(config_dir, 'autostart.sh') -if not fs.exists(autostart_file) - run_command('cp', 'autostart.sh', autostart_file, check: true) -endif +# fs = import('fs') +# +# # 获取用户的主目录 +# home_dir = run_command('sh', '-c', 'echo $HOME', check: true).stdout().strip() +# config_dir = join_paths(home_dir, '.config', 'maomao') +# +# # 如果目标目录不存在,则创建它 +# if not fs.is_dir(config_dir) +# run_command('mkdir', '-p', config_dir, check: true) +# endif +# +# # 拷贝 config.conf +# config_file = join_paths(config_dir, 'config.conf') +# if not fs.exists(config_file) +# run_command('cp', 'config.conf', config_file, check: true) +# endif +# +# # 拷贝 autostart.sh +# autostart_file = join_paths(config_dir, 'autostart.sh') +# if not fs.exists(autostart_file) +# run_command('cp', 'autostart.sh', autostart_file, check: true) +# endif cc = meson.get_compiler('c') libm = cc.find_library('m')