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

View file

@ -8,5 +8,6 @@
"ApplicableVersion": "any", "ApplicableVersion": "any",
"Tags": [ "modding" ], "Tags": [ "modding" ],
"DalamudApiLevel": 69420, "DalamudApiLevel": 69420,
"LoadPriority": 69420 "LoadPriority": 69420,
"IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png"
} }

BIN
images/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View file

@ -1 +1,21 @@
[ { "Author": "Adam", "Name": "Penumbra", "Description": "Runtime mod loader and manager.", "InternalName": "Penumbra", "AssemblyVersion": "0.4.4.5", "TestingAssemblyVersion": "0.4.4.5", "RepoUrl": "https://github.com/xivdev/Penumbra", "ApplicableVersion": "any", "DalamudApiLevel": 4, "IsHide": "False", "IsTestingExclusive": "False", "DownloadCount": 0, "LastUpdate": 0, "LoadPriority": 69420, "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/0.4.4.5/Penumbra.zip", "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/0.4.4.5/Penumbra.zip", "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/0.4.4.5/Penumbra.zip", "IconUrl": "https://github.com/Ottermandias/DalamudRepos/raw/master/images/icon.png" }] [
{
"Author": "Adam",
"Name": "Penumbra",
"Description": "Runtime mod loader and manager.",
"InternalName": "Penumbra",
"AssemblyVersion": "0.4.4.5",
"TestingAssemblyVersion": "0.4.4.5",
"RepoUrl": "https://github.com/xivdev/Penumbra",
"ApplicableVersion": "any",
"DalamudApiLevel": 4,
"IsHide": "False",
"IsTestingExclusive": "False",
"DownloadCount": 0,
"LastUpdate": 0,
"DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/0.4.4.5/Penumbra.zip",
"DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/0.4.4.5/Penumbra.zip",
"DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/0.4.4.5/Penumbra.zip",
"IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png"
}
]