From 275a0fe5bd0907c11973d891402dc09b7ae68f62 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 8 Nov 2024 09:36:00 -0500 Subject: Disabled switch if no default release url. --- src/lpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lpm.c') diff --git a/src/lpm.c b/src/lpm.c index 227533b..313e4ac 100644 --- a/src/lpm.c +++ b/src/lpm.c @@ -1758,7 +1758,7 @@ static const luaL_Reg system_lib[] = { #ifndef LPM_DEFAULT_REPOSITORY #define LPM_DEFAULT_REPOSITORY "https://github.com/lite-xl/lite-xl-plugin-manager.git:latest" #endif -// If this is defined as empty string, we disable self-upgrading. +// If this is defined as empty string, we disable self-upgrading, as well as switching the executable symlink. #ifndef LPM_DEFAULT_RELEASE #if _WIN32 #define LPM_DEFAULT_RELEASE "https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/%r/lpm." LITE_ARCH_TUPLE ".exe" -- cgit v1.2.3