Advertisement
Guest User

Untitled

a guest
Sep 8th, 2016
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.54 KB | None | 0 0
  1. Here is my launcher.ini for Jekyll:
  2.  
  3. [Launch]
  4. Name=JekyllPortable - Serve
  5. ProgramExecutable=Ruby\Ruby23-x64\bin\bundle.bat
  6. ProgramExecutable64=
  7. ProgramExecutableWhenParameters=
  8. ProgramExecutableWhenParameters64=
  9. CommandLineArguments=exec "%PAL:AppDir%\Ruby\Ruby23-x64\bin\jekyll" serve --source "%PAL:DataDir%\_site" --destination "%PAL:DataDir%\_build"
  10. WorkingDirectory=%PAL:AppDir%\Ruby\Ruby23-x64\bin\
  11.  
  12. [FileWrite1]
  13. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\bundle.bat
  14. Type=Replace
  15. Find=%PAL:LastDrive%%LastDirectory%
  16. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  17.  
  18. [FileWrite2]
  19. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\bundle.bat
  20. Type=Replace
  21. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  22. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  23.  
  24. [FileWrite3]
  25. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\bundler.bat
  26. Type=Replace
  27. Find=%PAL:LastDrive%%LastDirectory%
  28. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  29.  
  30. [FileWrite4]
  31. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\bundler.bat
  32. Type=Replace
  33. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  34. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  35.  
  36. [FileWrite5]
  37. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\github-pages.bat
  38. Type=Replace
  39. Find=%PAL:LastDrive%%LastDirectory%
  40. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  41.  
  42. [FileWrite6]
  43. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\github-pages.bat
  44. Type=Replace
  45. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  46. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  47.  
  48. [FileWrite7]
  49. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\jekyll.bat
  50. Type=Replace
  51. Find=%PAL:LastDrive%%LastDirectory%
  52. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  53.  
  54. [FileWrite8]
  55. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\jekyll.bat
  56. Type=Replace
  57. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  58. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  59.  
  60. [FileWrite9]
  61. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\kramdown.bat
  62. Type=Replace
  63. Find=%PAL:LastDrive%%LastDirectory%
  64. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  65.  
  66. [FileWrite10]
  67. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\kramdown.bat
  68. Type=Replace
  69. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  70. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  71.  
  72. [FileWrite11]
  73. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\listen.bat
  74. Type=Replace
  75. Find=%PAL:LastDrive%%LastDirectory%
  76. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  77.  
  78. [FileWrite12]
  79. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\listen.bat
  80. Type=Replace
  81. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  82. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  83.  
  84. [FileWrite13]
  85. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\nokogiri.bat
  86. Type=Replace
  87. Find=%PAL:LastDrive%%LastDirectory%
  88. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  89.  
  90. [FileWrite14]
  91. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\nokogiri.bat
  92. Type=Replace
  93. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  94. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  95.  
  96. [FileWrite15]
  97. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\rougify.bat
  98. Type=Replace
  99. Find=%PAL:LastDrive%%LastDirectory%
  100. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  101.  
  102. [FileWrite16]
  103. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\rougify.bat
  104. Type=Replace
  105. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  106. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  107.  
  108. [FileWrite17]
  109. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\safe_yami.bat
  110. Type=Replace
  111. Find=%PAL:LastDrive%%LastDirectory%
  112. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  113.  
  114. [FileWrite18]
  115. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\safe_yami.bat
  116. Type=Replace
  117. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  118. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  119.  
  120. [FileWrite19]
  121. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\sass.bat
  122. Type=Replace
  123. Find=%PAL:LastDrive%%LastDirectory%
  124. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  125.  
  126. [FileWrite20]
  127. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\sass.bat
  128. Type=Replace
  129. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  130. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  131.  
  132. [FileWrite21]
  133. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\sass-convert.bat
  134. Type=Replace
  135. Find=%PAL:LastDrive%%LastDirectory%
  136. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  137.  
  138. [FileWrite22]
  139. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\sass-convert.bat
  140. Type=Replace
  141. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  142. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  143.  
  144. [FileWrite23]
  145. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\scss.bat
  146. Type=Replace
  147. Find=%PAL:LastDrive%%LastDirectory%
  148. Replace=%PAL:Drive%%PAL:PackagePartialDir%
  149.  
  150. [FileWrite24]
  151. File=%PAL:AppDir%\Ruby\Ruby23-x64\bin\scss.bat
  152. Type=Replace
  153. Find=%PAL:LastDrive%%LastDirectory:ForwardSlash%
  154. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  155.  
  156. ==================================================
  157.  
  158. Here is the Last Environment from %PAL:DataDir%\Settings\JekyllPortableSettings.ini
  159.  
  160. [JekyllPortableSettings]
  161. LastDrive=D:
  162. LastDirectory=\PortableApps\JekyllPortable
  163. [PortableApps.comLauncherLastRunEnvironment]
  164. PAL:LastPortableAppsBaseDir=D:
  165.  
  166. ==================================================
  167.  
  168. C:\Users\betal\OneDrive\PortableApps\JekyllPortable\App\Ruby\Ruby23-x64\bin\jekyll.bat
  169. Here is one of the 12 files that do not update:
  170.  
  171. @ECHO OFF
  172. IF NOT "%~f0" == "~f0" GOTO :WinNT
  173. @"D:/PortableApps/JekyllPortable/App/Ruby/Ruby23-x64/bin/ruby.exe" "D:/PortableApps/JekyllPortable/App/Ruby/Ruby23-x64/bin/jekyll" %1 %2 %3 %4 %5 %6 %7 %8 %9
  174. GOTO :EOF
  175. :WinNT
  176. @"D:/PortableApps/JekyllPortable/App/Ruby/Ruby23-x64/bin/ruby.exe" "%~dpn0" %*
  177.  
  178. ==================================================
  179.  
  180. The path should be updating from D:/PortableApps/JekyllPortable to C:/Users/betal/OneDrive/PortableApps/JekyllPortable but they do not get updated. What am I doing wrong?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement