Skip to content

Commit

Permalink
大e了
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-jiao committed Mar 4, 2024
1 parent a7f2c46 commit 92f893b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dev/windows_evb_config_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ 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('renamer'));
final input = entities.firstWhere((e) => e is File && e.path.endsWith('.exe'));
final output = File(input.name).absolute;
entities.removeWhere((e) => e is File && e.path.endsWith('renamer'));
entities.removeWhere((e) => e is File && e.path.endsWith('.exe'));

builder.element('', nest: () {
builder.element('InputFile', nest: input.path);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies:

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
audio_metadata_reader: ^0.0.3
audio_metadata_reader: ^0.0.4
cross_file: ^0.3.4+1
crypto: ^3.0.3
cyrtranslit: ^1.0.1
Expand Down

0 comments on commit 92f893b

Please sign in to comment.