zdia/gorilla — Issue #74: How to make Gorilla truly portable on Windows?
Author: mcfadzgit
Created: 2012-02-03 15:22:49+00:00
State: open

Empirically, I have found that this wrapper script enables Gorilla to become portable on Windows XP, assuming that it accompanies gorilla.exe in the folder X:\bin\gorilla (where X: is a removable drive):

@echo off
set HOMEDRIVE=%~d0
set HOMEPATH=\bin\gorilla
start "" "%~dp0gorilla.exe"

When Gorilla exits, it correctly updates the config file .gorillarc within this folder.
Can Gorilla be made more intrinsically portable, or will this batch file have to suffice?