mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 05:26:09 +05:00
refactor and to go mod
This commit is contained in:
22
deps.sh
22
deps.sh
@@ -1,22 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export GOPATH="${PWD}"
|
||||
export GO111MODULE=auto
|
||||
|
||||
go get -v github.com/pkg/browser
|
||||
go get -v github.com/alexflint/go-arg
|
||||
go get -v golang.org/x/time/rate
|
||||
go get -v github.com/anacrolix/dht
|
||||
go get -v github.com/anacrolix/missinggo/httptoo
|
||||
go get -v github.com/anacrolix/torrent
|
||||
go get -v github.com/anacrolix/torrent/iplist
|
||||
go get -v github.com/anacrolix/torrent/metainfo
|
||||
go get -v github.com/anacrolix/utp
|
||||
go get -u github.com/gin-gonic/gin
|
||||
go get -v github.com/pion/webrtc/v2
|
||||
go get -v go.etcd.io/bbolt
|
||||
|
||||
ln -s . src/github.com/pion/webrtc/v2
|
||||
go get -v github.com/pion/webrtc/v2
|
||||
|
||||
go get -v github.com/gin-contrib/cors
|
||||
cd server
|
||||
go mod tidy
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
"github.com/alexflint/go-arg"
|
||||
"github.com/pkg/browser"
|
||||
|
||||
"server"
|
||||
"server/log"
|
||||
"server/settings"
|
||||
3
server/version/version.go
Normal file
3
server/version/version.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package version
|
||||
|
||||
const Version = "1.2.80_beta7.2"
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
sets "server/settings"
|
||||
"server/torr"
|
||||
)
|
||||
3
server/web/pages/template/index_html.go
Normal file
3
server/web/pages/template/index_html.go
Normal file
File diff suppressed because one or more lines are too long
@@ -1,3 +0,0 @@
|
||||
package version
|
||||
|
||||
const Version = "1.2.80_beta7.1"
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user