| 9 | from gen_pack_name import gen_package_name |
| 10 | |
| 11 | def collceion_program_files(force_update, in_target_path): |
| 12 | |
| 13 | base_path = "./../" |
| 14 | |
| 15 | print("the path is : {}".format(base_path)) |
| 16 | |
| 17 | ignore_files = [ |
| 18 | "plugin_amf_encoder.dll", |
| 19 | "plugin_clipboard.dll", |
| 20 | "plugin_dda_capture.dll", |
| 21 | "plugin_event_replayer.dll", |
| 22 | "plugin_ffmpeg_encoder.dll", |
| 23 | "plugin_file_transfer.dll", |
| 24 | "plugin_frame_debugger.dll", |
| 25 | "plugin_frame_resizer.dll", |
| 26 | "plugin_media_recorder.dll", |
| 27 | "plugin_mock_video_stream.dll", |
| 28 | "plugin_multi_screens.dll", |
| 29 | "plugin_net_relay.dll", |
| 30 | "plugin_net_rtc.dll", |
| 31 | "plugin_net_udp.dll", |
| 32 | "plugin_net_ws.dll", |
| 33 | "plugin_nvenc_encoder.dll", |
| 34 | "plugin_obj_detector.dll", |
| 35 | "plugin_opus_encoder.dll", |
| 36 | "plugin_was_audio_capture.dll", |
| 37 | "plugin_vr_manager.dll", |
| 38 | "tc_rtc_client.dll", |
| 39 | "protoc.exe", |
| 40 | "test_audio_capture.exe", |
| 41 | "test_common.exe", |
| 42 | "test_http_client.exe", |
| 43 | "test_opus_api.exe", |
| 44 | "test_opus_decode.exe", |
| 45 | "test_opus_encode.exe", |
| 46 | "test_opus_extensions.exe", |
| 47 | "test_opus_padding.exe", |
| 48 | "test_resolutions.exe", |
| 49 | "yuvconstants.exe", |
| 50 | "yuvconvert.exe", |
| 51 | "protoc-gen-upbdefs.exe", |
| 52 | "protoc-gen-upb_minitable.exe", |
| 53 | "protoc-gen-upb.exe", |
| 54 | "cpuid.exe", |
| 55 | "skin_official.dll", |
| 56 | "skin_opensource.dll", |
| 57 | "test_http.exe", |
| 58 | "vc_redist.x64_cpy.exe", |
| 59 | "uninstall.exe" |
| 60 | ] |
| 61 | |
| 62 | files_with_ref_path = [] |
| 63 | files = os.listdir(base_path) |
| 64 | for file in files: |
| 65 | found = False |
| 66 | for ignore_file in ignore_files: |
| 67 | if file == ignore_file: |
| 68 | found = True |