From e8c6e6f8669fe3bd3a5a9bf3aa1a73b4ebb9d705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=A8=87?= Date: Mon, 4 Mar 2024 23:14:42 +0800 Subject: [PATCH] Update windows_evb_config_generator.dart --- dev/windows_evb_config_generator.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/windows_evb_config_generator.dart b/dev/windows_evb_config_generator.dart index 3123bea..04ac309 100644 --- a/dev/windows_evb_config_generator.dart +++ b/dev/windows_evb_config_generator.dart @@ -7,8 +7,8 @@ void main() { builder.processing('xml', 'version="1.0" encoding="windows-1252"'); // evb needs absolute dir, in fact the relative dir works in wine, but not work on // Windows runner of Github Actions. I cannot test it on a physical Windows machine. - final windowsBuildDir = Directory(r"build/linux/x64/release/bundle") - .absolute; // use this for test: "build/linux/x64/release/bundle" + final windowsBuildDir = Directory(r"build\windows\x64\runner\Release").absolute; + // use this for test: "build/linux/x64/release/bundle" final entities = windowsBuildDir.listSync(); final input = entities.firstWhere((e) => e is File && e.path.endsWith('.exe')); final output = File(input.name).absolute;