stop downloads when removed

This commit is contained in:
SpikeHD
2022-05-12 22:25:07 -07:00
parent 853ab1ea80
commit 5126f89d8b
3 changed files with 9 additions and 4 deletions

View File

@@ -33,8 +33,8 @@ async function download(url: string, filename: string, path: string) {
async function TESTDOWNLOAD() {
download(
'https://github.com/Grasscutters/Grasscutter/archive/refs/heads/stable.zip',
'grasscutter.zip',
'https://github.com/Koko-boya/Grasscutter_Resources/archive/refs/heads/main.zip',
'resources.zip',
'S:\\Cultivation'
)
}