forked from Ash258/Shovel-Ash258
-
Notifications
You must be signed in to change notification settings - Fork 0
/
X3.yml
37 lines (36 loc) · 2.36 KB
/
X3.yml
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
version: 2013.11.7
description: Metro X3 Cursor.
homepage: https://www.deviantart.com/exsess/art/Metro-X3-Cursors-Update-Two-411020859
license: CC-BY-SA-3.0
notes:
- User logout is required for cursor change take effect.
- Now you can run 'scoop uninstall X3' and delete it's installation files.
url: https://orig00.deviantart.net/0070/f/2013/311/6/2/metro_x3_cursors__update_two__by_exsess-d6splq3.zip
hash: 1ad1572235c8c3aff5607d5cf26e1d96d2c76b033fc8796d79cb4af5d9ed89b9
extract_dir: Metro X3 by exsess\Bold\Red
installer:
script: |
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 "$dir\Install.inf"
# Set X3 as active scheme
if ($LASTEXITCODE -ne 0) { return }
function ItemProperty([String] $name, $value, $type) {
New-ItemProperty -Path 'HKCU:\Control Panel\Cursors' -Name $name -Value $value -PropertyType $type -Force | Out-Null
}
$sysPath = Join-Path $env:windir 'Cursors\Metro X3 by exsess\Bold\Red'
ItemProperty '(Default)' 'Metro X3 Bold-Red' String
ItemProperty 'AppStarting' (Join-Path $sysPath 'X3_working.ani') ExpandString
ItemProperty 'Arrow' (Join-Path $sysPath 'X3_arrow.ani') ExpandString
ItemProperty 'Crosshair' (Join-Path $sysPath 'X3_precision.ani') ExpandString
ItemProperty 'Hand' (Join-Path $sysPath 'X3_links.ani') ExpandString
ItemProperty 'Help' (Join-Path $sysPath 'X3_help.ani') ExpandString
ItemProperty 'IBeam' (Join-Path $sysPath 'X3_beam.ani') ExpandString
ItemProperty 'No' (Join-Path $sysPath 'X3_unavail.ani') ExpandString
ItemProperty 'NWPen' (Join-Path $sysPath 'X3_pen.ani') ExpandString
ItemProperty 'Scheme Source' 1 DWord
ItemProperty 'SizeAll' (Join-Path $sysPath 'X3_move.ani') ExpandString
ItemProperty 'SizeNESW' (Join-Path $sysPath 'X3_nesw.ani') ExpandString
ItemProperty 'SizeNS' (Join-Path $sysPath 'X3_ns.ani') ExpandString
ItemProperty 'SizeNWSE' (Join-Path $sysPath 'X3_nwse.ani') ExpandString
ItemProperty 'SizeWE' (Join-Path $sysPath 'X3_ew.ani') ExpandString
ItemProperty 'UpArrow' (Join-Path $sysPath 'X3_up.ani') ExpandString
ItemProperty 'Wait' (Join-Path $sysPath 'X3_busy.ani') ExpandString