23.05.2016, 19:05
(23.05.2016, 18:11)tarvr0 Wrote: The easiest way to create a portable application is to use "relative path" from the starting folder path of the application.
If your application is started from a folder, example "e:\RouteconverterPortable" you can put all data (Maps and configuration files in the folder "e:\RouterconverterPortable\Maps") To access this folder you can use as folder variable ".\Maps" atc..
How do portable apps do this typically? Via a command line switch? Something like
RouteConverter.exe -portableFolder ./RouteConverterPortable
which configures the internal structures (see my post above) to put everything below "./RouteConverterPortable"
I'm already creating 9 different versions of RouteConverter and I don't want to add 2 more to it
for Windows Online/Offline Portable. Thus I'm thinking of command line switches.
--
Christian
Christian
