Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. [Launch]
  2. ProgramExecutable=kitty\kitty.exe
  3. DirectoryMoveOK=yes
  4. SupportsUNC=yes
  5. MinOS=Vista
  6.  
  7. [Activate]
  8. Registry=true
  9. [RegistryKeys]
  10. kitty_portable=HKCU\Software\9bis.com\KiTTY
  11.  
  12. [RegistryCleanupIfEmpty]
  13. 1=HKCU\Software\9bis.com\KiTTY
  14. 2=HKCU\Software\9bis.com
  15.  
  16. [FilesMove]
  17. kitty.ini=%PAL:AppDir%\KiTTY\
  18. *.log=%PAL:AppDir%\KiTTY\
  19.  
  20. [FileWrite1]
  21. Type=Replace
  22. File=%PAL:DataDir%\kitty.ini
  23. Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%
  24. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  25.  
  26. [FileWrite2]
  27. Type=replace
  28. File=%PAL:DataDir%\kitty.ini
  29. Find=%PAL:LastPortableAppsBaseDir%
  30. Replace=%PAL:PortableAppsBaseDir%
  31.  
  32. [FileWrite3]
  33. Type=replace
  34. File=%PAL:DataDir%\kitty.ini
  35. Find=%PAL:LastDrive%\
  36. Replace=%PAL:Drive%\
  37.  
  38. [FileWrite4]
  39. Type=Replace
  40. File=%PAL:DataDir%\kitty.ini
  41. Find=#winscpdir=
  42. Replace=WinSCPPath=
  43.  
  44. [FileWrite5]
  45. Type=INI
  46. File=%PAL:DataDir%\kitty.ini
  47. Section=KiTTY
  48. Key=WinSCPPath
  49. Value=%PAL:PortableAppsDir%\WinSCPPortable\WinSCPPortable.exe
  50.  
  51. [FileWrite6]
  52. Type=Replace
  53. File=%PAL:DataDir%\kitty.ini
  54. Find=#configdir=
  55. Replace=configdir=
  56. ; just in case, the kitty.ini is created new and configdir is reset to #configdir
  57.  
  58. [FileWrite7]
  59. Type=INI
  60. File=%PAL:DataDir%\kitty.ini
  61. Section=KiTTY
  62. Key=configdir
  63. Value=%PAL:DataDir%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement