Remove oramod and orarep file type handlers.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=OpenRA
|
||||
GenericName=Real Time Strategy Game
|
||||
Comment=Reimagining of early Westwood Games
|
||||
Icon=openra
|
||||
Exec=openra Game.Mod=%f
|
||||
Terminal=false
|
||||
NoDisplay=true
|
||||
Categories=Game;StrategyGame;
|
||||
MimeType=application/x-openra-mod;
|
||||
@@ -1,20 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
|
||||
<mime-type type="application/x-openra-replay">
|
||||
<icon name="openra" />
|
||||
<generic-icon name="applications-games"/>
|
||||
<comment>OpenRA Replay</comment>
|
||||
<glob weight="60" pattern="*.orarep"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-openra-mod">
|
||||
<icon name="openra" />
|
||||
<generic-icon name="applications-games"/>
|
||||
<comment>OpenRA Mod</comment>
|
||||
<glob weight="60" pattern="*.oramod"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="x-scheme-handler/openra">
|
||||
<icon name="openra" />
|
||||
<generic-icon name="applications-games"/>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=OpenRA
|
||||
GenericName=Real Time Strategy Game
|
||||
Comment=Reimagining of early Westwood Games
|
||||
Icon=openra
|
||||
Exec=openra Launch.Replay=%f
|
||||
Terminal=false
|
||||
NoDisplay=true
|
||||
Categories=Game;StrategyGame;
|
||||
MimeType=application/x-openra-replay;
|
||||
@@ -55,23 +55,19 @@ Section "-Reg" Reg
|
||||
|
||||
; Installation directory
|
||||
WriteRegStr HKLM "Software\OpenRA" "InstallDir" $INSTDIR
|
||||
|
||||
; Replay file association
|
||||
WriteRegStr HKLM "Software\Classes\.orarep" "" "OpenRA_replay"
|
||||
WriteRegStr HKLM "Software\Classes\OpenRA_replay\DefaultIcon" "" "$INSTDIR\OpenRA.ico,0"
|
||||
WriteRegStr HKLM "Software\Classes\OpenRA_replay\Shell\Open\Command" "" "$INSTDIR\OpenRA.exe Launch.Replay=$\"%1$\""
|
||||
|
||||
; oramod file association
|
||||
WriteRegStr HKLM "Software\Classes\.oramod" "" "OpenRA_mod"
|
||||
WriteRegStr HKLM "Software\Classes\OpenRA_mod\DefaultIcon" "" "$INSTDIR\OpenRA.ico,0"
|
||||
WriteRegStr HKLM "Software\Classes\OpenRA_mod\Shell\Open\Command" "" "$INSTDIR\OpenRA.exe Game.Mod=$\"%1$\""
|
||||
|
||||
; OpenRA URL Scheme
|
||||
WriteRegStr HKLM "Software\Classes\openra" "" "URL:OpenRA scheme"
|
||||
WriteRegStr HKLM "Software\Classes\openra" "URL Protocol" ""
|
||||
WriteRegStr HKLM "Software\Classes\openra\DefaultIcon" "" "$INSTDIR\OpenRA.ico,0"
|
||||
WriteRegStr HKLM "Software\Classes\openra\Shell\Open\Command" "" "$INSTDIR\OpenRA.exe Launch.URI=%1"
|
||||
|
||||
|
||||
; Remove obsolete file associations
|
||||
DeleteRegKey HKLM "Software\Classes\.orarep"
|
||||
DeleteRegKey HKLM "Software\Classes\OpenRA_replay"
|
||||
DeleteRegKey HKLM "Software\Classes\.oramod"
|
||||
DeleteRegKey HKLM "Software\Classes\OpenRA_mod"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Game" GAME
|
||||
@@ -213,8 +209,6 @@ Function ${UN}Clean
|
||||
RMDir /r $INSTDIR\Support
|
||||
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA"
|
||||
DeleteRegKey HKLM "Software\Classes\.orarep"
|
||||
DeleteRegKey HKLM "Software\Classes\OpenRA_replay"
|
||||
DeleteRegKey HKLM "Software\Classes\openra"
|
||||
|
||||
Delete $INSTDIR\uninstaller.exe
|
||||
|
||||
Reference in New Issue
Block a user