aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.c
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2024-03-31 16:30:32 -0400
committerGitHub <noreply@github.com>2024-03-31 16:30:32 -0400
commitd7b053a5999fc274b6569b4b01e69ac13e36a33a (patch)
treea85ff6256813cb5cfff9408cbf84864977c94b8e /src/lpm.c
parentbbd5715ff8fc2a8a33f1f9ad5f2a8933f1fb5158 (diff)
downloadlite-xl-plugin-manager-d7b053a5999fc274b6569b4b01e69ac13e36a33a.tar.gz
lite-xl-plugin-manager-d7b053a5999fc274b6569b4b01e69ac13e36a33a.zip
Restructured functions to be more modular, and moved things to globals, so that they can easily be modified by plugins instead of as upvalues. (#105)
Diffstat (limited to 'src/lpm.c')
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.c b/src/lpm.c
index 835c633..c464bae 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -1520,7 +1520,7 @@ int main(int argc, char* argv[]) {
lua_setglobal(L, "EXEFILE");
lua_pushliteral(L, LITE_ARCH_TUPLE);
- lua_setglobal(L, "ARCH");
+ lua_setglobal(L, "DEFAULT_ARCH");
lua_pushliteral(L, LPM_DEFAULT_REPOSITORY);
lua_setglobal(L, "DEFAULT_REPO_URL");
lua_pushliteral(L, LPM_DEFAULT_RELEASE);