You are here

guidance/create portable application/klavaro

3 posts / 0 new
Last post
merhaba346
Offline
Last seen: 16 years 2 months ago
Joined: 2008-09-01 01:26
guidance/create portable application/klavaro

Hi,

I have been using portable applications for a while.

Now during my spare time i am trying to learn to make portable applications myself.

I have read the "Creating A Portable App: A Guerilla Field Guide" and understood some of it[i am new to this :)]. Downloaded the recommended software.

Now i am trying to make a portable klavaro ( http://klavaro.sourceforge.net/ ). It is a typing software.

I did manage to create initial package with a launcher.

However, every time i start the software, after the i see the "development test splash screen" it gives me a error message.

It says: "**ERROR**: couldn't find a data file at the data path: ..\share\klavaro\basic_lessons.txt aborting..

Except i checked several times under the aforementioned directory and the .txt file is there.

The exact directory is ...\App\Klavaro\share\klavaro\basic_lessons.txt

I can start the software by directly clicking on the "klavaro.exe", but when try to use the launcher, the above mentioned problem repeates.

I checked the forum, could not find a solution.

Thanks.

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2008-04-03 22:45
Can I recommend checking out

Can I recommend checking out the portableapps IRC channel.

Just went first time tonight and the people are really helpful.

Heres the link

#portableapps@irc.freenode.net

Hope that helps though I think you'll need an IRC Client to access it - You can use piodgin or X-Chat from here Smile

EDIT: Heres another link just got from the people in the IRC room -

https://portableapps.com/support/chat

PortableApps.com Advocate

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
At launch code, insert the

At launch code, insert the following code:
SetOutPath "$PROGRAMDIRECTORY"

so, something like :

Launch:
SetOutPath "$PROGRAMDIRECTORY" 
Exec "$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE"

This assumes that you at somepoint have done the following:
StrCpy "$PROGRAMDIRECTORY" "$EXEDIR\App\Klavaro\"

Blog Posting: https://portableapps.com/node/16001

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Log in or register to post comments