mirror of
https://github.com/TangentFoxy/itchy.git
synced 2024-11-14 10:14:22 +00:00
fixed defaults, updated License/ReadMe, usable again!
This commit is contained in:
parent
9a55b07cd9
commit
0360a7c554
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Paul Liverman III
|
||||
Copyright (c) 2018-2020 Rose Liverman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -98,8 +98,8 @@ handle itself:
|
||||
|
||||
* `proxy` (string) An [HTTP proxy](https://github.com/Guard13007/insecure-proxy)
|
||||
is used if luajit-request is unavailable, unless `proxy == false`. By default,
|
||||
`https://45.55.113.149:16343` is used, which is running on a DigitalOcean
|
||||
VPS I own. You can specify a different proxy here.
|
||||
`http://insecure-proxy.tangentfox.com` is used. You can specify a different
|
||||
proxy here.
|
||||
* `thread_channel` (string) itchy uses a channel named `itchy` for version
|
||||
checking. You can call itchy's functions with different data tables and it
|
||||
will use different threads & channels for each. You can also specify a channel
|
||||
|
@ -106,7 +106,7 @@ thread = function(...)
|
||||
local start
|
||||
start = function(data)
|
||||
if data.proxy == nil and (not data.url) then
|
||||
data.proxy = "http://45.55.113.149:16343"
|
||||
data.proxy = "http://insecure-proxy.tangentfox.com"
|
||||
end
|
||||
if not (data.channel) then
|
||||
require("love.system")
|
||||
|
@ -71,7 +71,7 @@ thread = (...) ->
|
||||
|
||||
-- data should be a table of information
|
||||
start = (data) ->
|
||||
data.proxy = "http://45.55.113.149:16343" if data.proxy == nil and (not data.url)
|
||||
data.proxy = "http://insecure-proxy.tangentfox.com" if data.proxy == nil and (not data.url)
|
||||
|
||||
-- channel can be autodetected if not specified
|
||||
unless data.channel
|
||||
|
Loading…
Reference in New Issue
Block a user