Skip to content

Commit

Permalink
Update windows_evb_config_generator.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-jiao committed Mar 4, 2024
1 parent 20be080 commit e8c6e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/windows_evb_config_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8c6e6f

Please sign in to comment.