/
reicon_fixed.json
32 lines (32 loc) · 1.5 KB
/
reicon_fixed.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"version": "2.0",
"homepage": "https://www.sordum.org/reicon",
"description": "A simple app that allows users to backup and restore their Desktop Icon layout.",
"license": {
"identifier": "Freeware",
"url": "https://www.sordum.org/eula/"
},
"url": "https://www.sordum.org/files/download/restore-desktop-icon-layouts/ReIcon.zip",
"hash": "0917519c64dcea763b9ef0b91737baecb195181f8bf3585ba3ed94b85c766acd",
"extract_dir": "ReIcon",
"pre_install": [
"ensure \"$persist_dir\" | Out-Null",
"if ($architecture -eq '32bit') { Remove-Item \"$dir\\ReIcon_x64.exe\" }",
"elseif ($architecture -eq '64bit') { Remove-Item \"$dir\\ReIcon.exe\"; Rename-Item \"$dir\\ReIcon_x64.exe\" 'ReIcon.exe' }",
"if (!(Test-Path \"$dir\\IconLayoutsFor$env:USERNAME.ini\")) { New-Item \"$dir\\IconLayoutsFor$env:USERNAME.ini\" | Out-Null }",
"Copy-Item \"$persist_dir\\IconLayoutsFor$env:USERNAME.ini\" \"$dir\\IconLayoutsFor$env:USERNAME.ini\" -Recurse -ErrorAction 'SilentlyContinue'"
],
"bin": "ReIcon.exe",
"shortcuts": [
[
"ReIcon.exe",
"ReIcon"
]
],
"persist": "ReIcon.ini",
"pre_uninstall": "Copy-Item \"$dir\\IconLayoutsFor$env:USERNAME.ini\" \"$persist_dir\\IconLayoutsFor$env:USERNAME.ini\" -Recurse -ErrorAction 'SilentlyContinue'",
"checkver": "ReIcon\\sv([\\d.]+)",
"autoupdate": {
"url": "https://www.sordum.org/files/download/restore-desktop-icon-layouts/ReIcon.zip"
}
}