Skip to content

Commit

Permalink
添加 sqlite3.dll 到 Windows 目录,解决Windows版本打开没有反应问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Sep 7, 2023
1 parent 5ed9c23 commit 85cd1ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_windows_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
- name: Set up Flutter
uses: subosito/[email protected]
with:
flutter-version: "3.13.1" # Set flutter version here
flutter-version: "3.13.2" # Set flutter version here

- name: Build Windows app
run: flutter build windows --release

- name: Copy dependencies
run: copy .\windows\sqlite3.dll .\build\windows\runner\Release\

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down
3 changes: 0 additions & 3 deletions windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,3 @@ install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
CONFIGURATIONS Profile;Release
COMPONENT Runtime)

# load sqlite3.dll to release directory
#set(sqlite_bundled_libraries "${CMAKE_CURRENT_SOURCE_DIR}/sqlite3.dll" PARENT_SCOPE)
Binary file added windows/sqlite3.dll
Binary file not shown.

0 comments on commit 85cd1ee

Please sign in to comment.