diff --git a/tool/windows/check_windows_release.py b/tool/windows/check_windows_release.py index f53c01a..a4be476 100644 --- a/tool/windows/check_windows_release.py +++ b/tool/windows/check_windows_release.py @@ -19,7 +19,7 @@ ws2_32 ucrtbase version '''.split()) SYSTEM_DLLS = {name + '.dll' for name in SYSTEM_DLLS} REQUIRED = ( - 'cutdex.exe', 'flutter_windows.dll', 'cutdex_runtime_plugin.dll', + 'cutdex.exe', 'flutter_windows.dll', 'cutdex_native_flutter_plugin.dll', 'deskup_plugin.dll', 'velopack_libc.dll', 'cutdex_windows_ffi.dll', 'sqlite3.dll', 'data/app.so', 'data/icudtl.dat', 'processing/bin/cutdex-processing-worker.exe', diff --git a/tool/windows/test_check_windows_release.py b/tool/windows/test_check_windows_release.py index 40a4d28..4d6bb15 100644 --- a/tool/windows/test_check_windows_release.py +++ b/tool/windows/test_check_windows_release.py @@ -37,6 +37,12 @@ class DependencyGateTest(unittest.TestCase): with self.assertRaisesRegex(ValueError, 'data/app.so'): audit(self.root, lambda p: []) + def test_native_flutter_plugin_is_required_after_migration(self): + (self.root / 'cutdex_native_flutter_plugin.dll').unlink() + (self.root / 'cutdex_runtime_plugin.dll').touch() + with self.assertRaisesRegex(ValueError, 'cutdex_native_flutter_plugin.dll'): + audit(self.root, lambda p: [], require_processing=False) + def test_jvm_is_not_assumed_to_be_a_system_dependency(self): with self.assertRaisesRegex(ValueError, 'jvm.dll'): audit(self.root, lambda p: ['jvm.dll'] if p.name == 'cutdex.exe' else [])