diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 10:42:51 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 10:42:51 -0500 |
commit | 014ba97bf39a1fc6df76f8c3710581a021a1f158 (patch) | |
tree | 18ec6b2cb12da39cba98d00b02b9eb2169ae9559 /src | |
parent | fd31dcacfd2be3ff9f4cb45263ea3ee2562af00d (diff) | |
parent | 4801afb445822ac5b2bee3230dd3ef8de17b1532 (diff) | |
download | lite-xl-plugin-manager-014ba97bf39a1fc6df76f8c3710581a021a1f158.tar.gz lite-xl-plugin-manager-014ba97bf39a1fc6df76f8c3710581a021a1f158.zip |
Merge branch 'master' of github.com:adamharrison/lite-xl-plugin-manager
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.c | 2 | ||||
-rw-r--r-- | src/lpm.lua | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -746,7 +746,7 @@ static int lpm_extract(lua_State* L) { } if (strstr(src, ".tar")) { mtar_t tar = {0}; - /* It's increidbly slow to do it this way, probably because of all the seeking. + /* It's incredibly slow to do it this way, probably because of all the seeking. For now, just gunzip the whole file at once, and then untar it. tar.read = gzip_read; tar.seek = gzip_seek; diff --git a/src/lpm.lua b/src/lpm.lua index cbf1401..18d34bc 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1027,7 +1027,7 @@ end function Repository:parse_manifest(repo_id) if self.manifest then return self.manifest, self.remotes end - if system.stat(self.local_path) then + if system.stat(self.local_path) then self.manifest_path = self.local_path .. PATHSEP .. "manifest.json" if not system.stat(self.manifest_path) then log_warning("Can't find manifest.json for " .. self:url() .. "; automatically generating manifest.") @@ -2024,9 +2024,11 @@ It's designed to install packages from our central github repository (and affiliated repositories), directly into your lite-xl user directory. It can be called independently, or from the lite-xl `plugin_manager` addon. -LPM will always use ]] .. DEFAULT_REPO_URL .. [[ +LPM will always use +]] .. DEFAULT_REPO_URL .. [[ + as its base repository, if none are present, and the cache directory -does't exist, but others can be added, and this base one can be removed. +doesn't exist, but others can be added, and this base one can be removed. It has the following commands: @@ -2080,7 +2082,7 @@ It has the following commands: path can be specified. lpm lite-xl list [name pattern] Lists all installed versions of [...filters] lite-xl. Can specify the flags listed - in the filtering seciton. + in the filtering section. lpm run <version> [...addons] Sets up a "bottle" to run the specified lite version, with the specified addons and then opens it. @@ -2121,7 +2123,7 @@ Flags have the following effects: to all. --no-install-optional On install, anything marked as optional won't prompt. - --trace Dumps to STDERR useful debugging information, in + --trace Dumps to stderr useful debugging information, in particular information relating to SSL connections, and other network activity. --progress For JSON mode, lines of progress as JSON objects. |