File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2599,17 +2599,17 @@ FunctionEnd
2599
2599
2600
2600
Function MTAInitFileNamesAndPaths
2601
2601
# Shortcuts names
2602
- StrCpy $ClientShortcutName " MTA San Andreas.lnk "
2603
- StrCpy $ServerShortcutName " MTA Server.lnk "
2604
- StrCpy $UninstallShortcutName " Uninstall MTA San Andreas.lnk "
2602
+ StrCpy $ClientShortcutName " MTA San Andreas"
2603
+ StrCpy $ServerShortcutName " MTA Server"
2604
+ StrCpy $UninstallShortcutName " Uninstall MTA San Andreas"
2605
2605
# Shostcuts paths
2606
2606
StrCpy $StartMenuMTAFolderPath " $SMPROGRAMS\MTA San Andreas ${0.0}"
2607
- StrCpy $StartMenuClientShortcutPath " $StartMenuMTAFolderPath\$ClientShortcutName"
2608
- StrCpy $StartMenuServerShortcutPath " $StartMenuMTAFolderPath\$ServerShortcutName"
2609
- StrCpy $StartMenuUninstallShortcutPath " $StartMenuMTAFolderPath\$UninstallShortcutName"
2607
+ StrCpy $StartMenuClientShortcutPath " $StartMenuMTAFolderPath\${ ClientShortcutName}.lnk "
2608
+ StrCpy $StartMenuServerShortcutPath " $StartMenuMTAFolderPath\${ ServerShortcutName}.lnk "
2609
+ StrCpy $StartMenuUninstallShortcutPath " $StartMenuMTAFolderPath\${$ UninstallShortcutName}.lnk "
2610
2610
# Shortcut names for desktop and start menu are different and can't be safely unified.
2611
2611
# Obvious fix is to roll 1 update where all shortcuts will be deleted and replaced with a unified names.
2612
- StrCpy $DesktopClientShortcutPath " $DESKTOP\$ClientShortcutName${0.0}"
2612
+ StrCpy $DesktopClientShortcutPath " $DESKTOP\${ ClientShortcutName} ${0.0}.lnk "
2613
2613
# Exe names
2614
2614
StrCpy $ClientExeName " Multi Theft Auto.exe"
2615
2615
StrCpy $ServerExeName " MTA Server.exe"
You can’t perform that action at this time.
0 commit comments