updater

package
v0.0.0-...-c150a58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckResourceVersion

func CheckResourceVersion(remoteVersionFileUrl string, localVersionFilePath string) bool

检查资源是否有更新

func ProxyTest

func ProxyTest()

func UpdateResource

func UpdateResource(maaResourceFileUrl string, maaDir string)

Types

type ResourceVersionFileContent

type ResourceVersionFileContent struct {
	Activity struct {
		Name string `json:"name"`
		Time int64  `json:"time"`
	} `json:"activity"`
	LastUpdated string `json:"last_updated"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL