You are here

New Script making code

3 posts / 0 new
Last post
Flaver-D
Offline
Last seen: 1 year 2 months ago
Joined: 2016-09-20 15:44
New Script making code

Not finding where I should post this, I decided it would land here.
Being somewhat new at making portable apps, I find some parts of the process somewhat tedious. Not that it's necessarily hard, but some of the tasks required are just plain annoying because of their redundancy (like creating folder structures).
Not that I complain, but I've always been one to say the boring stuff should be automated. So I made this extensive (though far from complete) script file. It creates the folder structure, makes the appinfo.ini file and the launcher.ini file. Most of the required functions for maybe 80% of the apps are scripted. It's a simple answer the questions type of thing.
If it helps any of you, feel free to use it. If you want to modify it, just make sure you post the mods so that others can benefit. And most of all, make sure the mods you make are actually simple and readable! (I know some programmers who take a wicked pleasure in over-complexifying stuff just to make others angry...)

so, here is the file I made https://drive.google.com/file/d/0B1dmZoIlURfDaTNwdU9TdWhBMEk/view?usp=sh...

Hope you find it useful.

John T. Haller
John T. Haller's picture
Online
Last seen: 2 min 11 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Template

There's a ZIP template with all the required folder structures here: https://portableapps.com/development

It's in the process of being updated with a generic PAL EXE that will allow basic portablization and have a commented launcher INI for easily following along.

There are also a couple different script utilities in the forums that attempt what you are doing, though they are similarly not complete.

Sometimes, the impossible can become possible, if you're awesome!

Flaver-D
Offline
Last seen: 1 year 2 months ago
Joined: 2016-09-20 15:44
So far, all I've got left to

So far, all I've got left to do is make the language sections of the launcher.ini section and add the extension info to the appinfo.ini...
I could take a few hours and just bang these up if you think it would be helpful?

François

Log in or register to post comments