generated from ScoopInstaller/BucketTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tortoisegit-np.json
71 lines (71 loc) · 2.99 KB
/
tortoisegit-np.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"version": "2.16.0.0",
"homepage": "https://tortoisegit.org/",
"license": "https://www.gnu.org/licenses/gpl-2.0",
"architecture": {
"64bit": {
"url": "https://scoop-packages.itsmtaxud.priv/packages/tortoisegit/TortoiseGit-2.16.0.0-64bit.zip",
"hash": "md5:b2d5bd13264e6d688f7ef992db304103"
},
"32bit": {
"url": "https://scoop-packages.itsmtaxud.priv/packages/tortoisegit/TortoiseGit-2.16.0.0-32bit.msi",
"hash": "md5:a13b4c40f1eaca16dfacb69853e942a0"
}
},
"post_install": [
"[Environment]::SetEnvironmentVariable(\"GIT_INSTALL_ROOT\", \"C:\\ProgramData\\scoop\\apps\\git\\current\bin\", \"Machine\")",
"$shortcutPath = \"$env:ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\TortoiseGit Settings.lnk\"",
"$targetPath = \"$env:ProgramData\\scoop\\apps\\tortoisegit-np\\current\\bin\\TortoiseGitProc.exe\"",
"$WScriptShell = New-Object -ComObject WScript.Shell",
"$shortcut = $WScriptShell.CreateShortcut($shortcutPath)",
"$shortcut.TargetPath = $targetPath",
"$shortcut.Arguments = '/command:settings'",
"$shortcut.Save()",
"$shortcutPath = \"$env:ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\TortoiseGit.lnk\"",
"$targetPath = \"$env:ProgramData\\scoop\\apps\\tortoisegit-np\\current\\bin\\TortoiseGitProc.exe\"",
"$WScriptShell = New-Object -ComObject WScript.Shell",
"$shortcut = $WScriptShell.CreateShortcut($shortcutPath)",
"$shortcut.TargetPath = $targetPath",
"$shortcut.Arguments = '/command:rtfm'",
"$shortcut.Save()"
],
"bin": [
"bin\\TortoiseGitMerge.exe",
"bin\\TortoiseGitIDiff.exe",
"bin\\TortoiseGitBlame.exe",
"bin\\TortoiseGitProc.exe"
],
"shortcuts": [
[
"bin\\TortoiseGitMerge.exe",
"TortoiseGitMerge"
],
[
"bin\\TortoiseGitIDiff.exe",
"TortoiseGitIDiff"
],
[
"bin\\TortoiseGitBlame.exe",
"TortoiseGitBlame"
]
],
"post_uninstall": [
"$shortcutPath = \"$env:ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\TortoiseGit Settings.lnk\"",
"Remove-Item -Path $shortcutPath -Force -ErrorAction SilentlyContinue",
"$shortcutPath = \"$env:ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\TortoiseGit.lnk\"",
"Remove-Item -Path $shortcutPath -Force -ErrorAction SilentlyContinue"
],
"checkver": {
"url": "https://scoop-packages.itsmtaxud.priv/packages/tortoisegit/"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://scoop-packages.itsmtaxud.priv/packages/tortoisegit/TortoiseGit-$version-64bit.msi"
},
"32bit": {
"url": "https://scoop-packages.itsmtaxud.priv/packages/tortoisegit/TortoiseGit-$version-32bit.msi"
}
}
}
}