Gitlab to Gitea Migration

This commit is contained in:
2022-07-02 13:01:07 +02:00
parent 03f6e69775
commit ad9d74b642
16 changed files with 5179 additions and 1 deletions

33
Machine/Install.ps1 Normal file
View File

@@ -0,0 +1,33 @@
<#
if (!(Test-Path C:\ProgramData\Easy-GPU-P\second.txt)) {
exit
}
else {
if( !((Get-ChildItem -Path Cert:\CurrentUser\TrustedPublisher).DnsNameList.Unicode -like "Parsec Cloud, Inc.")) {
$Success = $false
[int]$Retries = 0
do {
try {
Import-Certificate -CertStoreLocation Cert:\CurrentUser\TrustedPublisher -FilePath C:\ProgramData\Easy-GPU-P\parsecpublic.cer
$Success = $true
}
catch {
if ($Retries -gt 60){
$Success = $true
}
else {
Start-Sleep -Seconds 1
$Error[0] |Out-File C:\ProgramData\Easy-GPU-P\log.txt
$env:USERNAME | Out-File C:\ProgramData\Easy-GPU-P\username.txt
$Retries++
}
}
}
While ($Success -eq $false)
}
Else {
}
}
#>

4
Machine/psscripts.ini Normal file
View File

@@ -0,0 +1,4 @@
[Startup]
0CmdLine=Install.ps1
0Parameters=