From 92f893ba150128498774a96de47cf3ace8ee71b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=99=E5=A8=87?=
Date: Mon, 4 Mar 2024 22:10:26 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=A7e=E4=BA=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dev/windows_evb_config_generator.dart | 6 +++---
pubspec.yaml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev/windows_evb_config_generator.dart b/dev/windows_evb_config_generator.dart
index c3b051f..c655630 100644
--- a/dev/windows_evb_config_generator.dart
+++ b/dev/windows_evb_config_generator.dart
@@ -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);
diff --git a/pubspec.yaml b/pubspec.yaml
index 97c0c48..e24f58d 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -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