I am trying to pafify Dropcloth portable version but every time I run the launcher it saves the settings where the launcher is. Am I doing something wrong?
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
i had the same problem with OpenYahtzee Portable. put this line in somewhere at the start:
SetOutDir "$EXEDIR\Data\Settings"
why this fixes it: dropcloth saves the config in the working directory, which is usally set by windows when you run the exe directly. so what that line of code does is set the working directory to the data folder, so that the settings file is saved there. and if this is a little unclear, can a mod fix it up?
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
but I used
SetOutPath $SETTINGSDIRECTORY
which makes it more flexibleInsert original signature here with Greasemonkey Script.
as taneth said, you need the SetOutDir code. put it just before the actual launch of the app.
The developer formerly known as ZGitRDun8705
I added the line in the code but when I compile the script the launcher doesn't show up.
Link to code:
Launcher source code
May the Shwartz be with you
Does dropcloth have any paths in the INI file?
One more reason you can't compile is because VER is supposed to have 4 values separated by .'s and the Version is for launcher, not the app ;). I fixed up the code:
Insert original signature here with Greasemonkey Script.
Thank you. I am sort of new at this.
Edit: O great I have a problem (like always). I have an error. Here is a link to the picture
Error in compiling
May the Shwartz be with you
Somewhere, you have have a Goto that has no where to go.
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
Insert original signature here with Greasemonkey Script.
...Um, whut 'dat?...
"I don't hate cats...as long as they stay on the freeway, where they belong."
- Brad Stine
Lifehacker.com
May the Shwartz be with you
wouldn't it be easier to modify the actual app, instead of making a launcher? that's what i did, and if you wan't me to release it, by all means ask.
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
That would be cool. Could you?
May the Shwartz be with you
ok, done at http://taneth111.co.cc
btw, this is modified to sit in the top level directory, not app\dropcloth.
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
...rather not, thx.
I'd prefer the poster tell us what the proggy is.
I'm kinda funny that way...............
"I don't hate cats...as long as they stay on the freeway, where they belong."
- Brad Stine
Taken from the website.
"Dropcloth is a simple application that overlays a solid colored window on top of your desktop. Especially handy for clearing your desktop for screenshots and screencasts, or just getting rid of all the distraction in front of you so that you can focus on just one application without closing out of anything or clearing off your desktop."
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook