Skip to content

Commit

Permalink
fix: wrong output directory path in Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
w568w committed Mar 7, 2024
1 parent b2ec702 commit beba7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_release.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Future<void> buildWindows(String? versionCode, String gitHash) async {
print('Compress file...');
var encoder = ZipFileEncoder();
File newFile = File('build/app/DanXi-$versionCode-release.windows-x64.zip');
Directory sourceDir = Directory('build/windows/runner/Release');
Directory sourceDir = Directory('build/windows/x64/runner/Release');
encoder.zipDirectory(sourceDir, filename: newFile.path);
print('Build success.');
}
Expand Down

0 comments on commit beba7d2

Please sign in to comment.