fix: windows build

This commit is contained in:
Hiddify
2024-02-09 18:36:27 +01:00
parent ede904a024
commit e1486acba0
4 changed files with 12 additions and 7 deletions

View File

@@ -60,7 +60,14 @@ windows-prepare: get-geo-assets get gen translate windows-libs
ios-prepare: get-geo-assets get gen translate ios-libs
macos-prepare: get-geo-assets get gen translate macos-libs
linux-prepare: get-geo-assets get gen translate linux-libs
linux-appimage-prepare:linux-prepare
linux-rpm-prepare:linux-prepare
linux-deb-prepare:linux-prepare
android-prepare: get-geo-assets get gen translate android-libs
android-apk-prepare:android-prepare
android-aab-prepare:android-prepare
linux-install-dependencies:

View File

@@ -1 +1 @@
core.version=0.13.1
core.version=0.14.0

View File

@@ -83,12 +83,11 @@ install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
# install(FILES "../libcore/bin/libcore.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
# COMPONENT Runtime)
set(HIDDIFY_NEXT_LIB "../libcore/bin/libcore.dll")
install(FILES "${HIDDIFY_NEXT_LIB}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
install(FILES "../libcore/bin/libcore.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime RENAME libcore.dll)
set(HIDDIFY_NEXT_LIB "../libcore/bin/HiddifyService.exe")
install(FILES "${HIDDIFY_NEXT_LIB}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
install(FILES "../libcore/bin/HiddifyService.exe" DESTINATION "${CMAKE_INSTALL_PREFIX}"
COMPONENT Runtime RENAME HiddifyService.exe)

View File

@@ -10,8 +10,7 @@ setup_icon_file: ..\..\windows\runner\resources\app_icon.ico
locales:
- en
- fa
- zh
- ru
- pt
- tr
#script_template: inno_setup.sas
#script_template: inno_setup.sas