change the name of tunnel service to HiddifyService
This commit is contained in:
@@ -170,11 +170,11 @@ class ConnectionPlatformSourceImpl
|
||||
fullPath = "libcore";
|
||||
}
|
||||
if (Platform.isWindows) {
|
||||
fullPath = p.join(fullPath, "hiddify-service.exe");
|
||||
fullPath = p.join(fullPath, "HiddifyService.exe");
|
||||
} else if (Platform.isMacOS) {
|
||||
fullPath = p.join(fullPath, "hiddify-service");
|
||||
fullPath = p.join(fullPath, "HiddifyService");
|
||||
} else {
|
||||
fullPath = p.join(fullPath, "hiddify-service");
|
||||
fullPath = p.join(fullPath, "HiddifyService");
|
||||
}
|
||||
|
||||
return "$binFolder/$fullPath";
|
||||
|
||||
@@ -120,8 +120,11 @@ install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
install(FILES "../libcore/bin/libcore.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime)
|
||||
|
||||
install(FILES "../libcore/bin/hiddify-service" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime)
|
||||
install(
|
||||
FILES "../libcore/bin/HiddifyService"
|
||||
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime
|
||||
)
|
||||
|
||||
foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
|
||||
install(FILES "${bundled_library}"
|
||||
|
||||
@@ -87,9 +87,9 @@ set(HIDDIFY_NEXT_LIB "../libcore/bin/libcore.dll")
|
||||
install(FILES "${HIDDIFY_NEXT_LIB}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime RENAME libcore.dll)
|
||||
|
||||
set(HIDDIFY_NEXT_LIB "../libcore/bin/hiddify-service.exe")
|
||||
set(HIDDIFY_NEXT_LIB "../libcore/bin/HiddifyService.exe")
|
||||
install(FILES "${HIDDIFY_NEXT_LIB}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime RENAME hiddify-service.exe)
|
||||
COMPONENT Runtime RENAME HiddifyService.exe)
|
||||
|
||||
|
||||
if(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
||||
Reference in New Issue
Block a user