chore: update repository references from immisterio to lampac-talks
Signed-off-by: lampac-talks <lampac-talks@users.noreply.github.com>
This commit is contained in:
parent
f843f04fd4
commit
e70b7f822c
@ -11,12 +11,12 @@ RUN curl -fSL -k -o dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/asp
|
||||
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
|
||||
&& rm dotnet.tar.gz
|
||||
|
||||
RUN curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip \
|
||||
RUN curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip \
|
||||
&& unzip -o publish.zip && rm -f publish.zip && rm -rf merchant \
|
||||
&& rm -rf runtimes/os* && rm -rf runtimes/win* && rm -rf runtimes/linux-arm runtimes/linux-arm64 runtimes/linux-musl-arm64 runtimes/linux-musl-x64 \
|
||||
&& touch isdocker
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/immisterio/Lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/lampac-talks/lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN mkdir -p torrserver && curl -L -k -o torrserver/TorrServer-linux https://github.com/YouROK/TorrServer/releases/latest/download/TorrServer-linux-amd64 \
|
||||
&& chmod +x torrserver/TorrServer-linux
|
||||
|
||||
@ -15,12 +15,12 @@ RUN curl -fSL -k -o dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/asp
|
||||
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
|
||||
&& rm dotnet.tar.gz
|
||||
|
||||
RUN curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip \
|
||||
RUN curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip \
|
||||
&& unzip -o publish.zip && rm -f publish.zip && rm -rf merchant \
|
||||
&& rm -rf runtimes/os* && rm -rf runtimes/win* && rm -rf runtimes/linux-arm64 runtimes/linux-musl-arm64 runtimes/linux-musl-x64 runtimes/linux-x64 \
|
||||
&& touch isdocker
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/immisterio/Lampac/main/Build/Docker/update.sh | bash
|
||||
RUN curl -k -s https://raw.githubusercontent.com/lampac-talks/lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN mkdir -p torrserver && curl -L -k -o torrserver/TorrServer-linux https://github.com/YouROK/TorrServer/releases/latest/download/TorrServer-linux-arm7 \
|
||||
&& chmod +x torrserver/TorrServer-linux
|
||||
|
||||
@ -11,12 +11,12 @@ RUN curl -fSL -k -o dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/asp
|
||||
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
|
||||
&& rm dotnet.tar.gz
|
||||
|
||||
RUN curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip \
|
||||
RUN curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip \
|
||||
&& unzip -o publish.zip && rm -f publish.zip && rm -rf merchant \
|
||||
&& rm -rf runtimes/os* && rm -rf runtimes/win* && rm -rf runtimes/linux-arm runtimes/linux-musl-arm64 runtimes/linux-musl-x64 runtimes/linux-x64 \
|
||||
&& touch isdocker
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/immisterio/Lampac/main/Build/Docker/update.sh | bash
|
||||
RUN curl -k -s https://raw.githubusercontent.com/lampac-talks/lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN mkdir -p torrserver && curl -L -k -o torrserver/TorrServer-linux https://github.com/YouROK/TorrServer/releases/latest/download/TorrServer-linux-arm64 \
|
||||
&& chmod +x torrserver/TorrServer-linux
|
||||
@ -33,4 +33,4 @@ RUN echo '{"chromium":{"executablePath":"/usr/bin/chromium"},"typecache":"mem","
|
||||
|
||||
RUN echo '{"runtimeOptions":{"tfm":"net9.0","frameworks":[{"name":"Microsoft.NETCore.App","version":"9.0.0"},{"name":"Microsoft.AspNetCore.App","version":"9.0.0"}],"configProperties":{"System.GC.Server":false,"System.Reflection.Metadata.MetadataUpdater.IsSupported":false,"System.Reflection.NullabilityInfoContext.IsSupported":true,"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization":false}}}' > Lampac.runtimeconfig.json
|
||||
|
||||
ENTRYPOINT ["/usr/share/dotnet/dotnet", "Lampac.dll"]
|
||||
ENTRYPOINT ["/usr/share/dotnet/dotnet", "Lampac.dll"]
|
||||
|
||||
@ -11,12 +11,12 @@ RUN curl -fSL -k -o dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/asp
|
||||
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
|
||||
&& rm dotnet.tar.gz
|
||||
|
||||
RUN curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip \
|
||||
RUN curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip \
|
||||
&& unzip -o publish.zip && rm -f publish.zip && rm -rf merchant \
|
||||
&& rm -rf runtimes/os* && rm -rf runtimes/win* && rm -rf runtimes/linux-arm runtimes/linux-arm64 runtimes/linux-musl-arm64 runtimes/linux-musl-x64 \
|
||||
&& touch isdocker
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/immisterio/Lampac/main/Build/Docker/update.sh | bash
|
||||
RUN curl -k -s https://raw.githubusercontent.com/lampac-talks/lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN echo '{"listen":{"port":8000,"scheme":"https","frontend":"cloudflare"},"KnownProxies":[{"ip":"0.0.0.0","prefixLength":0}],"mikrotik":true,"typecache":"mem","GC":{"enable":true,"Concurrent":false,"ConserveMemory":9,"HighMemoryPercent":1,"RetainVM":false},"WAF":{"enable":false,"bypassLocalIP":true,"allowExternalIpAccess":true,"bruteForceProtection":false},"watcherInit":"cron","pirate_store":false,"rch":{"keepalive":900},"weblog":{"enable":true},"chromium":{"enable":false},"firefox":{"enable":false},"LampaWeb":{"autoupdate":false,"initPlugins":{"timecode":false,"backup":false,"sync":false}},"cub":{"enable":true,"geo":["RU"]},"tmdb":{"enable":true},"serverproxy":{"verifyip":false,"buffering":{"enable":false},"image":{"cache":false,"cache_rsize":false}},"online":{"checkOnlineSearch":false},"sisi":{"push_all":false,"rsize_disable":["BongaCams","Chaturbate","Runetki","PornHub","Eporner","HQporner","Spankbang","Porntrex","Xnxx","Xvideos","Xhamster","Tizam"],"proxyimg_disable":["Ebalovo"]},"Mirage":{"displayindex":1},"Ashdi":{"rhub":true},"Kinoukr":{"rhub":true},"VDBmovies":{"rhub":true},"VideoDB":{"rhub":true},"FanCDN":{"rhub":true},"Rezka":{"rhub":true,"scheme":"https"},"Kinotochka":{"rhub":true,"rhub_streamproxy":true,"streamproxy":false,"geostreamproxy":null,"rhub_geo_disable":["RU"]},"Videoseed":{"streamproxy":false,"geostreamproxy":null},"Vibix":{"streamproxy":false,"geostreamproxy":null},"iRemux":{"streamproxy":false,"geostreamproxy":null},"Rgshows":{"streamproxy":false,"geostreamproxy":null},"Autoembed":{"enable":false},"Animevost":{"rhub":true},"AnilibriaOnline":{"rhub":true},"Ebalovo":{"rhub":true},"Spankbang":{"rhub":true,"rhub_geo_disable":["RU"]},"BongaCams":{"rhub":true},"Chaturbate":{"rhub":true,"rhub_geo_disable":["RU"]},"Runetki":{"rhub":true},"HQporner":{"rhub":true,"streamproxy":false,"geostreamproxy":null,"qualitys_proxy":false,"geo_hide":["RU"]},"Eporner":{"streamproxy":false,"geostreamproxy":null,"qualitys_proxy":false,"rhub_geo_disable":["RU"]},"Porntrex":{"rhub":true,"streamproxy":false,"geostreamproxy":null,"qualitys_proxy":false,"rhub_geo_disable":["RU"]},"Xhamster":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["RU"]},"Xnxx":{"rhub":true,"rhub_fallback":true,"rhub_streamproxy":true,"rhub_geo_disable":["RU"]},"Tizam":{"rhub":true,"rhub_fallback":true,"streamproxy":false,"geostreamproxy":null,"qualitys_proxy":false},"Xvideos":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["RU"]},"PornHub":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"RutubeMovie":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["UA"]},"VkMovie":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"Plvideo":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["UA"]},"CDNvideohub":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"Redheadsound":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"CDNmovies":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"AniMedia":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"Animebesst":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true}}' > /home/init.conf
|
||||
|
||||
@ -27,4 +27,4 @@ RUN echo '[{"enable":true,"dll":"SISI.dll"},{"enable":true,"dll":"Online.dll"},{
|
||||
RUN mkdir -p torrserver && curl -L -k -o torrserver/TorrServer-linux https://github.com/YouROK/TorrServer/releases/latest/download/TorrServer-linux-amd64 \
|
||||
&& chmod +x torrserver/TorrServer-linux
|
||||
|
||||
ENTRYPOINT ["/usr/share/dotnet/dotnet", "Lampac.dll"]
|
||||
ENTRYPOINT ["/usr/share/dotnet/dotnet", "Lampac.dll"]
|
||||
|
||||
@ -11,12 +11,12 @@ RUN curl -fSL -k -o dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/asp
|
||||
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
|
||||
&& rm dotnet.tar.gz
|
||||
|
||||
RUN curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip \
|
||||
RUN curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip \
|
||||
&& unzip -o publish.zip && rm -f publish.zip && rm -rf merchant \
|
||||
&& rm -rf runtimes/os* && rm -rf runtimes/win* && rm -rf runtimes/linux-arm runtimes/linux-arm64 runtimes/linux-musl-arm64 runtimes/linux-musl-x64 \
|
||||
&& touch isdocker
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/immisterio/Lampac/main/Build/Docker/update.sh | bash
|
||||
RUN curl -k -s https://raw.githubusercontent.com/lampac-talks/lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN echo '{"listen":{"port":80,"scheme":"https"},"KnownProxies":[{"ip":"0.0.0.0","prefixLength":0}],"rch":{"enable":true},"typecache":"mem","GC":{"enable":true,"Concurrent":false,"ConserveMemory":9,"HighMemoryPercent":1,"RetainVM":false},"mikrotik":true,"serverproxy":{"verifyip":false,"showOrigUri":true,"buffering":{"enable":false}},"pirate_store": false,"dlna":{"enable":false},"chromium":{"enable":false},"online":{"checkOnlineSearch":true},"Rezka":{"host":"https://hdrezka.me","corseu":true,"xrealip":true,"uacdn":"https://prx-ams.ukrtelcdn.net","hls":false},"Zetflix":{"enable":false},"VDBmovies":{"enable":false},"iRemux":{"streamproxy":false,"geostreamproxy":["UA"]},"Kinobase":{"rhub":true},"Eneyida":{"rhub":true},"Kinoukr":{"rhub":true},"Kodik":{"enable":false},"AnimeGo":{"enable": false},"Animebesst":{"enable": false},"Eporner":{"streamproxy":false},"PornHub":{"enable":false},"Ebalovo":{"enable":false}}' > /home/init.conf
|
||||
|
||||
|
||||
@ -11,12 +11,12 @@ RUN curl -fSL -k -o dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/asp
|
||||
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
|
||||
&& rm dotnet.tar.gz
|
||||
|
||||
RUN curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip \
|
||||
RUN curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip \
|
||||
&& unzip -o publish.zip && rm -f publish.zip && rm -rf merchant \
|
||||
&& rm -rf runtimes/os* && rm -rf runtimes/win* && rm -rf runtimes/linux-arm runtimes/linux-arm64 runtimes/linux-musl-arm64 runtimes/linux-musl-x64 \
|
||||
&& touch isdocker
|
||||
|
||||
RUN curl -k -s https://raw.githubusercontent.com/immisterio/Lampac/main/Build/Docker/update.sh | bash
|
||||
RUN curl -k -s https://raw.githubusercontent.com/lampac-talks/lampac/main/Build/Docker/update.sh | bash
|
||||
|
||||
RUN echo '{"listen":{"port":80,"scheme":"https"},"KnownProxies":[{"ip":"0.0.0.0","prefixLength":0}],"mikrotik":true,"typecache":"mem","GC":{"enable":true,"Concurrent":false,"ConserveMemory":9,"HighMemoryPercent":1,"RetainVM":false},"watcherInit":"cron","pirate_store":false,"rch":{"keepalive":900},"weblog":{"enable":true},"chromium":{"enable":false},"firefox":{"enable":false},"LampaWeb":{"autoupdate":false,"initPlugins":{"timecode":false,"backup":false,"sync":false}},"cub":{"enable":true,"geo":["RU"]},"tmdb":{"enable":true},"serverproxy":{"verifyip":false,"buffering":{"enable":false},"image":{"cache":false,"cache_rsize":false}},"online":{"checkOnlineSearch":false},"sisi":{"push_all":false,"rsize_disable":["BongaCams","Chaturbate","Runetki","PornHub","Eporner","HQporner","Spankbang","Porntrex","Xnxx","Xvideos","Xhamster","Tizam"],"proxyimg_disable":["Ebalovo"]},"Mirage":{"displayindex":1},"Ashdi":{"rhub":true},"Kinoukr":{"rhub":true},"VDBmovies":{"rhub":true},"VideoDB":{"rhub":true},"FanCDN":{"rhub":true},"Rezka":{"rhub":true,"scheme":"https"},"Kinotochka":{"rhub":true,"rhub_fallback":true,"rhub_streamproxy":true,"rhub_geo_disable":["RU"]},"Autoembed":{"enable":false},"Kodik":{"overridehost":"https://rc.bwa.to/lite/kodik"},"Animevost":{"rhub":true,"rhub_fallback":true,"rhub_streamproxy":true},"AnilibriaOnline":{"rhub":true},"Ebalovo":{"rhub":true},"Spankbang":{"rhub":true,"rhub_streamproxy":true,"rhub_geo_disable":["RU"]},"BongaCams":{"rhub":true,"rhub_streamproxy":true},"Chaturbate":{"rhub":true,"rhub_streamproxy":true,"rhub_geo_disable":["RU"]},"Runetki":{"rhub":true,"rhub_streamproxy":true},"Xhamster":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["RU"]},"Xnxx":{"rhub":true,"rhub_fallback":true,"rhub_streamproxy":true,"rhub_geo_disable":["RU"]},"Tizam":{"rhub":true,"rhub_fallback":true,"rhub_streamproxy":true},"Xvideos":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["RU"]},"PornHub":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"RutubeMovie":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["UA"]},"VkMovie":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"Plvideo":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true,"rhub_geo_disable":["UA"]},"CDNvideohub":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"Redheadsound":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"CDNmovies":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"AniMedia":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"Animebesst":{"rhub":true,"rhub_streamproxy":true,"rhub_fallback":true},"AnimeGo":{"enable":false}}' > /home/init.conf
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ver=$(curl -k -s https://api.github.com/repos/immisterio/Lampac/releases/latest | grep tag_name | sed s/[^0-9]//g)
|
||||
ver=$(curl -k -s https://api.github.com/repos/lampac-talks/lampac/releases/latest | grep tag_name | sed s/[^0-9]//g)
|
||||
upver=$(curl -k -s http://noah.lampac.sh/update/$ver.txt)
|
||||
|
||||
|
||||
if [[ ${#upver} -eq 8 ]]; then
|
||||
curl -L -k -o update.zip http://noah.lampac.sh/update/$upver.zip
|
||||
unzip -o update.zip
|
||||
|
||||
@ -335,7 +335,7 @@ namespace Lampac
|
||||
#endregion
|
||||
|
||||
#region cloudflare_ips
|
||||
ThreadPool.QueueUserWorkItem(async _ =>
|
||||
ThreadPool.QueueUserWorkItem(async _ =>
|
||||
{
|
||||
string ips = await Http.Get("https://www.cloudflare.com/ips-v4");
|
||||
if (ips == null || !ips.Contains("173.245."))
|
||||
@ -371,7 +371,7 @@ namespace Lampac
|
||||
#region fix update.sh
|
||||
if (File.Exists("update.sh"))
|
||||
{
|
||||
var olds = new string[]
|
||||
var olds = new string[]
|
||||
{
|
||||
"02a7e97392e63b7e9e35a39ce475d6f8",
|
||||
"6354eab8b101af90cb247fc8c977dd6b",
|
||||
@ -398,9 +398,9 @@ namespace Lampac
|
||||
{
|
||||
if (olds.Contains(CrypTo.md5(File.ReadAllText("update.sh"))))
|
||||
{
|
||||
ThreadPool.QueueUserWorkItem(async _ =>
|
||||
ThreadPool.QueueUserWorkItem(async _ =>
|
||||
{
|
||||
string new_update = await Http.Get("https://raw.githubusercontent.com/immisterio/Lampac/refs/heads/main/update.sh");
|
||||
string new_update = await Http.Get("https://raw.githubusercontent.com/lampac-talks/lampac/refs/heads/main/update.sh");
|
||||
if (new_update != null && new_update.Contains("DEST=\"/home/lampac\""))
|
||||
File.WriteAllText("update.sh", new_update);
|
||||
});
|
||||
@ -424,9 +424,9 @@ namespace Lampac
|
||||
LampaCron.Run();
|
||||
|
||||
appReload = new AppReload();
|
||||
appReload.InkvReload = () =>
|
||||
appReload.InkvReload = () =>
|
||||
{
|
||||
_host.StopAsync();
|
||||
_host.StopAsync();
|
||||
AppInit.LoadModules();
|
||||
};
|
||||
|
||||
|
||||
@ -10,11 +10,11 @@ namespace Online.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Автор https://github.com/fellicienne
|
||||
/// https://github.com/immisterio/Lampac/pull/41
|
||||
/// https://github.com/lampac-talks/lampac/pull/41
|
||||
/// </summary>
|
||||
public class FilmixTV : BaseOnlineController<FilmixSettings>
|
||||
{
|
||||
public FilmixTV() : base(AppInit.conf.FilmixTV)
|
||||
public FilmixTV() : base(AppInit.conf.FilmixTV)
|
||||
{
|
||||
loadKitInitialization = (j, i, c) =>
|
||||
{
|
||||
@ -76,7 +76,7 @@ namespace Online.Controllers
|
||||
|
||||
if (postid == 0)
|
||||
{
|
||||
var search = await InvokeCacheResult($"filmixtv:search:{title}:{original_title}:{clarification}:{similar}", 40,
|
||||
var search = await InvokeCacheResult($"filmixtv:search:{title}:{original_title}:{clarification}:{similar}", 40,
|
||||
() => oninvk.Search(title, original_title, clarification, year, similar)
|
||||
);
|
||||
|
||||
@ -121,7 +121,7 @@ namespace Online.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
var rtk = await Http.Get<JObject>($"{init.corsHost()}/api-fx/request-token",
|
||||
var rtk = await Http.Get<JObject>($"{init.corsHost()}/api-fx/request-token",
|
||||
proxy: proxy, httpversion: init.httpversion, timeoutSeconds: 30
|
||||
);
|
||||
|
||||
@ -145,14 +145,14 @@ namespace Online.Controllers
|
||||
{
|
||||
string refreshToken = Regex.Match(F.ReadAllText(authFile), "\"refreshToken\": ?\"([^\"]+)\"").Groups[1].Value;
|
||||
|
||||
root_auth = await Http.Get<JObject>($"{init.corsHost()}/api-fx/refresh?refreshToken={HttpUtility.UrlEncode(refreshToken)}",
|
||||
root_auth = await Http.Get<JObject>($"{init.corsHost()}/api-fx/refresh?refreshToken={HttpUtility.UrlEncode(refreshToken)}",
|
||||
proxy: proxy, headers: HeadersModel.Init("hash", init.hash_apitv), httpversion: init.httpversion, timeoutSeconds: 30
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
var data = new System.Net.Http.StringContent($"{{\"user_name\":\"{init.user_apitv}\",\"user_passw\":\"{init.passwd_apitv}\",\"session\":true}}", Encoding.UTF8, "application/json");
|
||||
root_auth = await Http.Post<JObject>($"{init.corsHost()}/api-fx/auth", data,
|
||||
root_auth = await Http.Post<JObject>($"{init.corsHost()}/api-fx/auth", data,
|
||||
proxy: proxy, headers: HeadersModel.Init("hash", init.hash_apitv), httpversion: init.httpversion, timeoutSeconds: 30
|
||||
);
|
||||
}
|
||||
|
||||
106
README.md
106
README.md
@ -1,91 +1,113 @@
|
||||
# AI Документация
|
||||
[](https://deepwiki.com/immisterio/Lampac)
|
||||
|
||||
[](https://deepwiki.com/lampac-talks/lampac)
|
||||
|
||||
# Установка на linux
|
||||
|
||||
спасибо @nikk, @Denis
|
||||
|
||||
```bash
|
||||
curl -L -k -s https://lampac.sh | bash
|
||||
```
|
||||
|
||||
* Минимальные требования: 1 CPU, 1GB RAM, 2GB HDD
|
||||
* Рекомендуемые требования: 1 CPU, 2GB RAM, 5GB SSD
|
||||
* Порт генерируется рандомно и выводится в конце установки скрипта
|
||||
* Изменить или посмотреть порт можно в init.conf -
|
||||
* Изменить или посмотреть порт можно в init.conf -
|
||||
```grep "port" /home/lampac/init.conf```
|
||||
|
||||
# Домашняя (облегченная) - linux
|
||||
|
||||
```bash
|
||||
curl -L -k -s https://lampac.sh/home | bash
|
||||
```
|
||||
|
||||
* Минимальные требования: 1 CPU, 500Mb RAM, 1GB HDD
|
||||
* Рекомендуемые требования: 1 CPU, 1GB RAM, 1GB SSD
|
||||
* DLNA/Chromium/Firefox по умолчанию отключен, включается в init.conf
|
||||
* TorrServer по умолчанию отключен, включается в module/manifest.json
|
||||
|
||||
# Установка на Windows
|
||||
1. Установить ".NET Core 9 (SDK Installer)" https://github.com/dotnet/core/blob/main/release-notes/9.0/9.0.12/9.0.113.md
|
||||
2. Распаковать https://github.com/immisterio/Lampac/releases/latest/download/publish.zip
|
||||
3. Запустить Lampac.exe
|
||||
|
||||
1. Установить ".NET Core 9 (SDK Installer)" <https://github.com/dotnet/core/blob/main/release-notes/9.0/9.0.12/9.0.113.md>
|
||||
2. Распаковать <https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip>
|
||||
3. Запустить lampac.exe
|
||||
|
||||
# Запуск в Docker
|
||||
|
||||
```bash
|
||||
docker run -d -p 9118:9118 --restart always --name lampac immisterio/lampac
|
||||
docker run -d -p 9118:9118 --restart always --name lampac lampac-talks/lampac
|
||||
```
|
||||
|
||||
__tags__: latest (linux/amd64) / arm32 (linux/arm/v7) / arm64 (linux/arm64/v8)
|
||||
|
||||
# Запуск в Android
|
||||
1. Termux - https://github.com/immisterio/Lampac/blob/main/Termux/README.md
|
||||
2. BWA - https://bwa.to
|
||||
|
||||
1. Termux - <https://github.com/lampac-talks/lampac/blob/main/Termux/README.md>
|
||||
2. BWA - <https://bwa.to>
|
||||
|
||||
# Тестируемые устройства
|
||||
|
||||
* Debian 11/12 x64
|
||||
* Windows 10 x64
|
||||
* Raspberry arm64 (Debian 11)
|
||||
|
||||
# Админка
|
||||
|
||||
ip:9118/admin
|
||||
|
||||
# Плагины для Lampa
|
||||
1. Все плагины сразу - http://IP:9118/on.js
|
||||
2. онлайн - http://IP:9118/online.js
|
||||
3. xxx - http://IP:9118/sisi.js
|
||||
4. DLNA - http://IP:9118/dlna.js
|
||||
5. Tracks - http://IP:9118/tracks.js
|
||||
6. Backup - http://IP:9118/backup.js
|
||||
7. Синхронизация - http://IP:9118/sync.js
|
||||
8. TorrServer - http://IP:9118/ts.js
|
||||
|
||||
1. Все плагины сразу - <http://IP:9118/on.js>
|
||||
2. онлайн - <http://IP:9118/online.js>
|
||||
3. xxx - <http://IP:9118/sisi.js>
|
||||
4. DLNA - <http://IP:9118/dlna.js>
|
||||
5. Tracks - <http://IP:9118/tracks.js>
|
||||
6. Backup - <http://IP:9118/backup.js>
|
||||
7. Синхронизация - <http://IP:9118/sync.js>
|
||||
8. TorrServer - <http://IP:9118/ts.js>
|
||||
9. Парсер Jackett - IP:9118
|
||||
|
||||
# Плагины для Lampa Lite
|
||||
1. онлайн/jackett - http://IP:9118/lite.js
|
||||
2. xxx - http://IP:9118/sisi.js
|
||||
|
||||
1. онлайн/jackett - <http://IP:9118/lite.js>
|
||||
2. xxx - <http://IP:9118/sisi.js>
|
||||
|
||||
# Общие настройки
|
||||
|
||||
1. Отключить TorrServer/DNLA/Jackett/etc можно в module/manifest.json
|
||||
2. Настройки Jackett в module/JacRed.conf (пример JacRed.example.conf)
|
||||
3. Основные настройки в init.conf (пример example.conf)
|
||||
|
||||
# Источники онлайн
|
||||
|
||||
Filmix, KinoPub, Alloha, Rezka, GetsTV, iptv.online, Kinobase, Zetflix, Collaps, Lumex, VDBmovies, VideoDB, Vibix, Videoseed, VeoVeo, HDVB, Kodik, Ashdi (Украинский), Eneyida (Украинский), KinoUKR (Украинский), FanCDN, Kinotochka, CDNmovies, Redheadsound, VoKino, Rutube, VK Видео, Plvideo, Anilibria, AniLiberty, AniMedia, AnimeLib, MoonAnime (Украинский), Animevost, Animebesst, AnimeGo, HydraFlix (ENG), VidSrc (ENG), MovPI (ENG), Videasy (ENG), 2Embed (ENG), VidLink (ENG), AutoEmbed (ENG), SmashyStream (ENG), PlayEmbed (ENG), RgShows (ENG)
|
||||
|
||||
# Источники 18+
|
||||
|
||||
PornHub, PornHubPremium, Bongacams, Chaturbate, Cam4, Ebalovo, Eporner, HQporner, Porntrex, Spankbang, Xhamster, Xnxx, Xvideos, Lenporno, Porno365, Vtrahe, RUSporno, ProstoPorno, PornOne, Brazzrus, FilmAdult, Sosushka, Youjizz, NoodleMagazine, Veporn, XXXperevod, Huyamba, Pornk, PornoAkt, Porn4days, Beeg, Porndig, 24video, yaeby, trahkino, sex-studentki, hochu.tv, oxax.tv, Rusvideos, Porno666, Pornobolt, JopaOnline, Ebun, Pornobriz, 24rolika, SemBatsa, Lenkino, Ebasos, Vporno, BigBoss, GayPornTube
|
||||
|
||||
# Торренты
|
||||
|
||||
Kinozal, NNM-Club, Rutor, Rutracker, Megapeer, Torrentby, Bitru, Toloka (Украинский), BigFanGroup, Selezen, LostFilm, Anilibria, Animelayer, Anifilm
|
||||
|
||||
# Источники с API для порталов
|
||||
|
||||
* Filmix, Alloha, Lumex (VideoCDN), Kodik
|
||||
|
||||
# Привязка PRO аккаунтов
|
||||
* Filmix - http://IP:9118/lite/filmixpro
|
||||
* KinoPub - http://IP:9118/lite/kinopubpro
|
||||
* VoKino - http://IP:9118/lite/vokinotk
|
||||
* HDRezka - http://IP:9118/lite/rhs/bind
|
||||
* GetsTV - http://IP:9118/lite/getstv/bind
|
||||
* iptv.online - http://IP:9118/lite/iptvonline/bind
|
||||
|
||||
* Filmix - <http://IP:9118/lite/filmixpro>
|
||||
* KinoPub - <http://IP:9118/lite/kinopubpro>
|
||||
* VoKino - <http://IP:9118/lite/vokinotk>
|
||||
* HDRezka - <http://IP:9118/lite/rhs/bind>
|
||||
* GetsTV - <http://IP:9118/lite/getstv/bind>
|
||||
* iptv.online - <http://IP:9118/lite/iptvonline/bind>
|
||||
|
||||
# Remote Control Hub
|
||||
|
||||
Для балансеров которые недоступны на VPS но доступны в вашей сети, можно включить rhub и парсить данные на самом устройстве android/smart
|
||||
|
||||
```json
|
||||
"Ashdi": {
|
||||
"rhub": true
|
||||
@ -96,6 +118,7 @@ Kinozal, NNM-Club, Rutor, Rutracker, Megapeer, Torrentby, Bitru, Toloka (Укр
|
||||
```
|
||||
|
||||
# Плагин DLNA.js
|
||||
|
||||
* Просмотр медиа файлов с папки dlna
|
||||
* Возможность удалять просмотренные папки/файлы
|
||||
* Загрузка торрентов в папку dlna
|
||||
@ -103,45 +126,54 @@ Kinozal, NNM-Club, Rutor, Rutracker, Megapeer, Torrentby, Bitru, Toloka (Укр
|
||||
Зажмите кнопку "OK" на выбранном торренте/папке/файле для вызова списка действий
|
||||
|
||||
# Плагин Sync.js
|
||||
|
||||
Синхронизация между разными устройствами
|
||||
|
||||
* Для синхронизации все устройства должны быть авторизованы в cub.red под одним аккаунтом, либо на устройствах вместо плагина IP:9118/sync.js, должен использоваться IP:9118/sync/js/{uid}, где {uid} это любые символы, либо идентификатор в accsdb, например IP:9118/sync/js/myhome
|
||||
* email или {uid} должен совпадать на устройствах которые вы хотите синхронизовать между собой
|
||||
* email или {uid} должен совпадать на устройствах которые вы хотите синхронизовать между собой
|
||||
* Синхронизация куба должна быть отключена
|
||||
|
||||
# Плагин Tracks.js
|
||||
|
||||
Заменяет название аудиодорожек и субтитров в плеере
|
||||
|
||||
Автор: @aabytt
|
||||
|
||||
1. Добавить плагин "http://IP:9118/tracks.js"
|
||||
1. Добавить плагин "<http://IP:9118/tracks.js>"
|
||||
2. В init.conf заменить значение "ffprobe.os" на один из вариантов "win", "linux"
|
||||
|
||||
# Плагин TmdbProxy.js
|
||||
|
||||
Проксирование постеров для сайта TMDB
|
||||
|
||||
1. Добавить плагин "http://IP:9118/tmdbproxy.js"
|
||||
1. Добавить плагин "<http://IP:9118/tmdbproxy.js>"
|
||||
2. В настройках TMDB включить проксирование
|
||||
|
||||
# Плагин Catalog.js
|
||||
Альтернативные источники каталога cub и tmdb
|
||||
|
||||
1. Добавить плагин "http://IP:9118/catalog.js"
|
||||
Альтернативные источники каталога cub и tmdb
|
||||
|
||||
1. Добавить плагин "<http://IP:9118/catalog.js>"
|
||||
2. Выбрать каталог в настройках лампы "Настройки - Остальное - Основной источник"
|
||||
|
||||
# Доступ к доменам .onion
|
||||
|
||||
1. Запустить tor на порту 9050
|
||||
2. В init.conf указать .onion домен в host
|
||||
|
||||
# Media Station X
|
||||
|
||||
1. Settings -> Start Parameter -> Setup
|
||||
2. Enter current ip address and port "IP:9118"
|
||||
|
||||
Убрать/Добавить адреса можно в msx.json
|
||||
|
||||
# Виджеты
|
||||
|
||||
1. Для Samsung "IP:9118/samsung.wgt"
|
||||
|
||||
# Работа с базами данных
|
||||
|
||||
* Microsoft.EntityFrameworkCore 9.0.8 - MS SQL Server, SQLite
|
||||
* Npgsql 9.0.3 - PostgreSQL
|
||||
* Pomelo.EntityFrameworkCore.MySql 9.0.0 - MariaDB, MySQL
|
||||
@ -149,21 +181,23 @@ Kinozal, NNM-Club, Rutor, Rutracker, Megapeer, Torrentby, Bitru, Toloka (Укр
|
||||
* StackExchange.Redis 2.9.11 - Redis
|
||||
|
||||
# Параметры init.conf
|
||||
|
||||
* checkOnlineSearch - Делать предварительный поиск скрывая балансеры без ответа
|
||||
* multiaccess - Настройка кеша в онлайн с учетом многопользовательского доступа
|
||||
* accsdb - Доступ к API через авторизацию (для jackett используется apikey)
|
||||
* useproxy - Парсит источник через прокси указанные в "proxy"
|
||||
* streamproxy - Перенаправляет видео через "http://IP:9118/proxy/{uri}"
|
||||
* streamproxy - Перенаправляет видео через "<http://IP:9118/proxy/{uri}>"
|
||||
* localip - Заменить на "false" если скрипт установлен за пределами внутренней сети
|
||||
* findkp - Каталог для поиск kinopoisk_id (alloha|tabus|vsdn)
|
||||
* corseu - Использовать прокси cloudflare
|
||||
|
||||
# Пример init.conf
|
||||
* Список всех параметров, а так же значения по умолчанию смотреть в current.conf и example.conf
|
||||
|
||||
* Список всех параметров, а так же значения по умолчанию смотреть в current.conf и example.conf
|
||||
* В init.conf нужно указывать только те параметры, которые хотите изменить
|
||||
* Редактировать init.conf можно так же через ip:9118/admin
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"listenport": 9120, // изменили порт
|
||||
"dlna": {
|
||||
@ -220,19 +254,23 @@ Kinozal, NNM-Club, Rutor, Rutracker, Megapeer, Torrentby, Bitru, Toloka (Укр
|
||||
```
|
||||
|
||||
# Ошибка: Illegal instruction
|
||||
|
||||
Процессор не поддерживает инструкции AVX
|
||||
|
||||
1. Установите ImageMagick
|
||||
|
||||
```bash
|
||||
apt install -y imagemagick libpng-dev libjpeg-dev libwebp-dev
|
||||
```
|
||||
|
||||
2. В init.conf добавьте
|
||||
1. В init.conf добавьте
|
||||
|
||||
```json
|
||||
"imagelibrary": "ImageMagick"
|
||||
```
|
||||
|
||||
3. Если проблема сохраняется, замените на
|
||||
1. Если проблема сохраняется, замените на
|
||||
|
||||
```json
|
||||
"imagelibrary": "none"
|
||||
```
|
||||
|
||||
@ -1,26 +1,32 @@
|
||||
<b>Supports:</b> smartphone, tablet, tv-box aosp
|
||||
<br><b>Note:</b> Android TV (ATV) not support!
|
||||
<br><b>Note:</b> Android TV (ATV) not support!
|
||||
|
||||
# Download Termux
|
||||
|
||||
Скачайте и установите Termux с <a href="https://play.google.com/store/apps/details?id=com.termux&hl=ru" target="_blank">Google Play</a> or <a href="https://github.com/termux/termux-app/releases" target="_blank">GitHub official</a> or <a href="https://f-droid.org/ru/packages/com.termux/" target="_blank">F-Droid</a>
|
||||
|
||||
# Установка Lampac
|
||||
|
||||
Запустите Termux и выполните команду
|
||||
|
||||
```
|
||||
curl -L -k -s https://lampac.sh/termux | bash
|
||||
```
|
||||
|
||||
Спасибо @bbk14
|
||||
|
||||
# Плагины
|
||||
http://127.0.0.1:9118 - лампа без рекламы<br>
|
||||
http://127.0.0.1:9118/online.js - онлайн <br>
|
||||
http://127.0.0.1:9118/sisi.js - 18+
|
||||
<http://127.0.0.1:9118> - лампа без рекламы<br>
|
||||
<http://127.0.0.1:9118/online.js> - онлайн <br>
|
||||
<http://127.0.0.1:9118/sisi.js> - 18+
|
||||
|
||||
# Источники
|
||||
https://github.com/immisterio/Lampac?tab=readme-ov-file#%D0%B8%D1%81%D1%82%D0%BE%D1%87%D0%BD%D0%B8%D0%BA%D0%B8
|
||||
* Zetflix и ENG сайты не поддерживается в Termux
|
||||
<https://github.com/lampac-talks/lampac?tab=readme-ov-file#%D0%B8%D1%81%D1%82%D0%BE%D1%87%D0%BD%D0%B8%D0%BA%D0%B8>
|
||||
|
||||
* Zetflix и ENG сайты не поддерживается в Termux
|
||||
|
||||
# Команды в Termux
|
||||
|
||||
```
|
||||
bash stop.sh
|
||||
bash start.sh
|
||||
@ -29,6 +35,7 @@ bash update.sh # обновить версию lampac
|
||||
```
|
||||
|
||||
# Важно
|
||||
* Изменить настройки и привязать pro аккаунты можно через http://127.0.0.1:9118/admin
|
||||
|
||||
* Изменить настройки и привязать pro аккаунты можно через <http://127.0.0.1:9118/admin>
|
||||
* Из за низкой производительности termux, включать chrome/firefox/torrserver/proxy/jacred/dlna не рекомендуется от слома совсем
|
||||
* На балансерах с отключённым streamproxy нужно использовать исключительно внешний плеер <a href="https://github.com/usmanec/dddplayer/" target="_blank">DDD Video Player</a>, Vimu, MPV, MX player с поддержкой headers, иначе видео на некоторых балансерах будет выдавать ошибку воспроизведения
|
||||
|
||||
@ -32,7 +32,7 @@ for lang in cs de es fr it ja ko pl pt-BR ru tr zh-Hans zh-Hant; do
|
||||
done
|
||||
|
||||
# Download zip
|
||||
curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip
|
||||
curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip
|
||||
unzip -o publish.zip
|
||||
rm -f publish.zip
|
||||
|
||||
@ -141,7 +141,7 @@ cat <<EOF > module/manifest.json
|
||||
EOF
|
||||
|
||||
# update info
|
||||
curl -k -s https://api.github.com/repos/immisterio/Lampac/releases/latest | grep tag_name | sed s/[^0-9]//g > data/vers.txt
|
||||
curl -k -s https://api.github.com/repos/lampac-talks/lampac/releases/latest | grep tag_name | sed s/[^0-9]//g > data/vers.txt
|
||||
echo -n "1" > data/vers-minor.txt
|
||||
|
||||
# update.sh
|
||||
@ -149,11 +149,11 @@ cat <<EOF > update.sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ver=$(cat data/vers.txt)
|
||||
gitver=$(curl --connect-timeout 10 -m 20 -k -s https://api.github.com/repos/immisterio/Lampac/releases/latest | grep tag_name | sed s/[^0-9]//g)
|
||||
gitver=$(curl --connect-timeout 10 -m 20 -k -s https://api.github.com/repos/lampac-talks/lampac/releases/latest | grep tag_name | sed s/[^0-9]//g)
|
||||
if [ $gitver -gt $ver ]; then
|
||||
echo "update lampac to version $gitver"
|
||||
rm -f update.zip
|
||||
if ! curl -L -k -o update.zip https://github.com/immisterio/Lampac/releases/latest/download/update.zip; then
|
||||
if ! curl -L -k -o update.zip https://github.com/lampac-talks/lampac/releases/latest/download/update.zip; then
|
||||
echo "Failed to download update.zip. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
@ -185,7 +185,7 @@ else
|
||||
|
||||
mver=$(cat data/vers-minor.txt)
|
||||
dver=$(curl -k -s $BASE_URL/update/$ver.txt)
|
||||
|
||||
|
||||
if [[ ${#dver} -eq 8 && $dver != $mver ]]; then
|
||||
echo "update lampac to version $gitver.$mver"
|
||||
rm -f update.zip
|
||||
@ -287,7 +287,7 @@ bash update.sh
|
||||
exit
|
||||
EOF
|
||||
|
||||
# Run Motherfucker Run
|
||||
# Run Motherfucker Run
|
||||
ln -s /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/ debian
|
||||
tmux new-session -d -s Lampac "proot-distro login debian -- dotnet Lampac.dll"
|
||||
|
||||
|
||||
@ -26,9 +26,9 @@ chmod 755 dotnet-install.sh
|
||||
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
|
||||
|
||||
# Download zip
|
||||
mkdir $DEST -p
|
||||
mkdir $DEST -p
|
||||
cd $DEST
|
||||
if ! curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip; then
|
||||
if ! curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip; then
|
||||
echo "Failed to download publish.zip. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
@ -37,7 +37,7 @@ unzip -o publish.zip
|
||||
rm -f publish.zip
|
||||
|
||||
# automatic updates
|
||||
curl -k -s https://api.github.com/repos/immisterio/Lampac/releases/latest | grep tag_name | sed s/[^0-9]//g > $DEST/data/vers.txt
|
||||
curl -k -s https://api.github.com/repos/lampac-talks/lampac/releases/latest | grep tag_name | sed s/[^0-9]//g > $DEST/data/vers.txt
|
||||
curl -k -s https://raw.githubusercontent.com/immisterio/lampac/main/update.sh > $DEST/update.sh
|
||||
chmod 755 $DEST/update.sh
|
||||
#crontab -l | { cat; echo "$(shuf -i 10-55 -n 1) * * * * /bin/bash $DEST/update.sh"; } | crontab -
|
||||
|
||||
@ -17,9 +17,9 @@ chmod 755 dotnet-install.sh
|
||||
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
|
||||
|
||||
# Download zip
|
||||
mkdir $DEST -p
|
||||
mkdir $DEST -p
|
||||
cd $DEST
|
||||
if ! curl -L -k -o publish.zip https://github.com/immisterio/Lampac/releases/latest/download/publish.zip; then
|
||||
if ! curl -L -k -o publish.zip https://github.com/lampac-talks/lampac/releases/latest/download/publish.zip; then
|
||||
echo "Failed to download publish.zip. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
@ -28,7 +28,7 @@ unzip -o publish.zip
|
||||
rm -f publish.zip
|
||||
|
||||
# automatic updates
|
||||
curl -k -s https://api.github.com/repos/immisterio/Lampac/releases/latest | grep tag_name | sed s/[^0-9]//g > $DEST/data/vers.txt
|
||||
curl -k -s https://api.github.com/repos/lampac-talks/lampac/releases/latest | grep tag_name | sed s/[^0-9]//g > $DEST/data/vers.txt
|
||||
curl -k -s https://raw.githubusercontent.com/immisterio/lampac/main/update.sh > $DEST/update.sh
|
||||
chmod 755 $DEST/update.sh
|
||||
#crontab -l | { cat; echo "$(shuf -i 10-55 -n 1) * * * * /bin/bash $DEST/update.sh"; } | crontab -
|
||||
|
||||
@ -23,11 +23,11 @@ if [ -n "$VERSION" ]; then
|
||||
fi
|
||||
|
||||
ver=$(cat data/vers.txt)
|
||||
gitver=$(curl --connect-timeout 10 -k -s https://api.github.com/repos/immisterio/Lampac/releases/latest | grep tag_name | sed s/[^0-9]//g)
|
||||
gitver=$(curl --connect-timeout 10 -k -s https://api.github.com/repos/lampac-talks/lampac/releases/latest | grep tag_name | sed s/[^0-9]//g)
|
||||
if [ $gitver -gt $ver ]; then
|
||||
echo "update lampac to version $gitver"
|
||||
rm -f update.zip
|
||||
if ! curl -L -k -o update.zip https://github.com/immisterio/Lampac/releases/latest/download/update.zip; then
|
||||
if ! curl -L -k -o update.zip https://github.com/lampac-talks/lampac/releases/latest/download/update.zip; then
|
||||
echo "Failed to download update.zip. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
@ -63,7 +63,7 @@ else
|
||||
|
||||
mver=$(cat data/vers-minor.txt)
|
||||
dver=$(curl -k -s $BASE_URL/update/$ver.txt)
|
||||
|
||||
|
||||
if [[ ${#dver} -eq 8 && $dver != $mver ]]; then
|
||||
echo "update lampac to version $gitver.$mver"
|
||||
rm -f update.zip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user