diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-03-31 16:26:36 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-03-31 16:26:36 -0400 |
commit | 388c1937c2990d5690cf3a8714a9d25ba1c7a4c1 (patch) | |
tree | b90cc51994503dfef41e0947bbd4f9e5c6d4a0ab /src/lpm.c | |
parent | dd06ba252e662b6f7525e6a88fef3d55326c20c3 (diff) | |
download | lite-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |