aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.c
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-03-31 16:26:36 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-03-31 16:26:36 -0400
commit388c1937c2990d5690cf3a8714a9d25ba1c7a4c1 (patch)
treeb90cc51994503dfef41e0947bbd4f9e5c6d4a0ab /src/lpm.c
parentdd06ba252e662b6f7525e6a88fef3d55326c20c3 (diff)
downloadlite-xl-plugin-manager-388c1937c2990d5690cf3a8714a9d25ba1c7a4c1.tar.gz
lite-xl-plugin-manager-388c1937c2990d5690cf3a8714a9d25ba1c7a4c1.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.
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);