Allow cloning ARTEMiS from other Git hosts
This commit is contained in:
parent
64af827e7b
commit
a9d174c374
|
@ -1,5 +1,5 @@
|
|||
$workdir = "work/"
|
||||
$artemis_repo = "Hay1tsme/artemis" # must be hosted on gitea.tendokyu.moe
|
||||
$artemis_repo = "https://gitea.tendokyu.moe/Hay1tsme/artemis.git"
|
||||
$artemis_branch = "develop"
|
||||
$python_version = "3.9.13"
|
||||
$mariadb_mirror = "https://archive.mariadb.org" # can change to a nearby mirror for higher speed
|
||||
|
@ -96,7 +96,7 @@ Set-Location ..
|
|||
# Setting up ARTEMiS
|
||||
# ----------------------------------------------------
|
||||
Write-Output "[INFO] Downloading ARTEMiS..."
|
||||
git.exe clone -b $artemis_branch "https://gitea.tendokyu.moe/$artemis_repo"
|
||||
git.exe clone -b "$artemis_branch" "$artemis_repo"
|
||||
|
||||
Set-Location artemis
|
||||
[System.Environment]::CurrentDirectory = (Get-Location).Path
|
||||
|
@ -141,7 +141,7 @@ Copy-Item ../assets/update-artemis.py scripts/
|
|||
Copy-Item ../assets/aqua_importer_develop.py artemis/
|
||||
curl.exe -L https://gitea.tendokyu.moe/Dniel97/AQUA-to-ARTEMiS/raw/branch/main/aqua_importer.py -o artemis/aqua_importer.py
|
||||
|
||||
$update_script = (Get-Content ../assets/update-artemis.ps1) -replace "%%ARTEMIS_REPO%%", "https://gitea.tendokyu.moe/$artemis_repo.git" -replace "%%ARTEMIS_BRANCH%%", "$artemis_branch"
|
||||
$update_script = (Get-Content ../assets/update-artemis.ps1) -replace "%%ARTEMIS_REPO%%", "$artemis_repo" -replace "%%ARTEMIS_BRANCH%%", "$artemis_branch"
|
||||
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False
|
||||
[System.IO.File]::WriteAllLines("scripts/update-artemis.ps1", $update_script, $Utf8NoBomEncoding)
|
||||
|
||||
|
|
Loading…
Reference in New Issue