Skip to content

Commit

Permalink
Fixed the bug that prevented SLI ThemeManager from working correctly. C…
Browse files Browse the repository at this point in the history
…loses #30
  • Loading branch information
Tobbe committed May 7, 2009
1 parent 69f73e9 commit edd5292
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LOSI.nsi
Expand Up @@ -26,7 +26,7 @@ var advancedInstall
!include WinMessages.nsh

!define PRODUCT_NAME "LOSI"
!define PRODUCT_VERSION "0.4"
!define PRODUCT_VERSION "0.4.5"
!define PRODUCT_PUBLISHER "Tobbe"
!define PRODUCT_WEB_SITE "http://tlundberg.com/LOSI"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\litestep.exe"
Expand Down
4 changes: 4 additions & 0 deletions LS/losi/changelog.txt
Expand Up @@ -310,3 +310,7 @@ ls.com is down for an unknown period of time I started this changelog instead
2009-03-18: Got rid of nbi-studios as a NLM site. Added ls-themes.org instead.
Updated to xPaintClass-1.0 Update 6.
Released LOSI 0.4

2009-05-07: Fixed a bug that prevented SLI ThemeManager from working as it
should.
Released LOSI 0.4.5
8 changes: 1 addition & 7 deletions SectionLOSI.nsh
Expand Up @@ -19,13 +19,7 @@ Section "$(NAME_SecLosi)" SecLosi
; Write some registry settings that SLI-ThemeManager needs
Push $0
${whereprofilesarray->Read} $0 0
${If} $0 == "$INSTDIR\Profiles\$username"
WriteRegStr HKCU "Software\Litestep\SLI\ThemeManager" "ThemesDir" "$INSTDIR\Profiles\%USERNAME%\themes\"
${ElseIf} $0 == "$APPDATA\LiteStep"
WriteRegStr HKCU "Software\Litestep\SLI\ThemeManager" "ThemesDir" "%APPDATA%\LiteStep\themes\"
${Else}
WriteRegStr HKCU "Software\Litestep\SLI\ThemeManager" "ThemesDir" "$0\themes\"
${EndIf}
WriteRegStr HKCU "Software\Litestep\SLI\ThemeManager" "ThemesDir" "$0\themes\"
Pop $0

WriteRegStr HKCU "Software\Litestep\SLI\ThemeManager" "LitestepDir" "$INSTDIR\"
Expand Down

0 comments on commit edd5292

Please sign in to comment.