diff --git a/build_release.dart b/build_release.dart index 74ed251a..a2145f2a 100644 --- a/build_release.dart +++ b/build_release.dart @@ -126,7 +126,7 @@ Future 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.'); }