fixed defaults, updated License/ReadMe, usable again!

This commit is contained in:
Rose Liverman 2020-02-14 23:35:52 -08:00
parent 9a55b07cd9
commit 0360a7c554
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -98,8 +98,8 @@ handle itself:
* `proxy` (string) An [HTTP proxy](https://github.com/Guard13007/insecure-proxy) * `proxy` (string) An [HTTP proxy](https://github.com/Guard13007/insecure-proxy)
is used if luajit-request is unavailable, unless `proxy == false`. By default, 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 `http://insecure-proxy.tangentfox.com` is used. You can specify a different
VPS I own. You can specify a different proxy here. proxy here.
* `thread_channel` (string) itchy uses a channel named `itchy` for version * `thread_channel` (string) itchy uses a channel named `itchy` for version
checking. You can call itchy's functions with different data tables and it 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 will use different threads & channels for each. You can also specify a channel

View File

@ -106,7 +106,7 @@ thread = function(...)
local start local start
start = function(data) start = function(data)
if data.proxy == nil and (not data.url) then 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 end
if not (data.channel) then if not (data.channel) then
require("love.system") require("love.system")

View File

@ -71,7 +71,7 @@ thread = (...) ->
-- data should be a table of information -- data should be a table of information
start = (data) -> 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 -- channel can be autodetected if not specified
unless data.channel unless data.channel