New icon, newlines in repo.json

This commit is contained in:
Ottermandias 2021-10-08 18:56:56 +02:00
parent 1469561b14
commit 6a024ba5d1
4 changed files with 45 additions and 24 deletions

View file

@ -63,28 +63,28 @@ jobs:
run: |
$ver = '${{ github.ref }}' -replace 'refs/tags/',''
$json = '['
$json += ' {'
$json += ' "Author": "Adam",'
$json += ' "Name": "Penumbra",'
$json += ' "Description": "Runtime mod loader and manager.",'
$json += ' "InternalName": "Penumbra",'
$json += ' "AssemblyVersion": "1.0.0.0",'
$json += ' "TestingAssemblyVersion": "1.0.0.0",'
$json += ' "RepoUrl": "https://github.com/xivdev/Penumbra",'
$json += ' "ApplicableVersion": "any",'
$json += ' "DalamudApiLevel": 4,'
$json += ' "IsHide": "False",'
$json += ' "IsTestingExclusive": "False",'
$json += ' "DownloadCount": 0,'
$json += ' "LastUpdate": 0,'
$json += ' "LoadPriority": 69420,'
$json += ' "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
$json += ' "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
$json += ' "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
$json += ' "IconUrl": "https://github.com/Ottermandias/DalamudRepos/raw/master/images/icon.png"'
$json += ' }'
$json += ']'
$json = '[' + '\n'
$json += ' {' + '\n'
$json += ' "Author": "Adam",' + '\n'
$json += ' "Name": "Penumbra",' + '\n'
$json += ' "Description": "Runtime mod loader and manager.",' + '\n'
$json += ' "InternalName": "Penumbra",' + '\n'
$json += ' "AssemblyVersion": "1.0.0.0",' + '\n'
$json += ' "TestingAssemblyVersion": "1.0.0.0",' + '\n'
$json += ' "RepoUrl": "https://github.com/xivdev/Penumbra",' + '\n'
$json += ' "ApplicableVersion": "any",' + '\n'
$json += ' "DalamudApiLevel": 4,' + '\n'
$json += ' "IsHide": "False",' + '\n'
$json += ' "IsTestingExclusive": "False",' + '\n'
$json += ' "DownloadCount": 0,' + '\n'
$json += ' "LastUpdate": 0,' + '\n'
$json += ' "LoadPriority": 69420,' + '\n'
$json += ' "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",' + '\n'
$json += ' "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",' + '\n'
$json += ' "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",' + '\n'
$json += ' "IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png"' + '\n'
$json += ' }' + '\n'
$json += ']' + '\n'
$json = $json -replace '1.0.0.0',$ver
set-content -Path "./repo.json" -Value $json