Zekr portable

From ZekrWiki

Jump to: navigation, search

Zekr can be easily made portable by a few steps. In a portable Zekr, workspace directory is located inside Zekr base directory, so that one may copy it on a USB stick, or move from one directory to another. You can always download portable Zekr here.

We have two portable versions of Zekr, one with Java (JRE) and one without Java. With Portable Zekr + Java, you have no concern about the Target machine you want to launch Zekr on. It will work regardless of Java version (if any) on the target machine. It's however a bit larger (38MB) than normal Zekr packages (~8MB).

Making Zekr portable is currently possible through -workspace parameter passed to Zekr. You can make Zekr portable by doing the following steps:

1. create a folder workspace inside base Zekr folder.
2. edit zekr.ini and zekrc.ini and add the following two lines to the end of files (you may manually add -workspace workspace to zekr.bat as a program argument):

arg.1=-workspace
arg.2=workspace

3. edit zekr/res/config/lib/logger.properties and set line 30 to this new value:

log4j.appender.RUNTIME.File=workspace/zekr.log

When Zekr 1.0.1 is released, there is no need to do the last step, as log file should be automatically created in the workspaces.

Personal tools