Home » Developing U++ » U++ Developers corner » umk static version
Re: umk static version [message #53398 is a reply to message #53397] |
Wed, 01 April 2020 10:26   |
 |
mirek
Messages: 14265 Registered: November 2005
|
Ultimate Member |
|
|
Quote:
amrein wrote on Wed, 01 April 2020 10:05
I would like to change these defaults here. My current idea, maybe wrong, is that U++ will scan folders from the one where binary is up to root and tries to find ".config" (or .upp, not quite decided yet). Only if it does not find one, it would use ~/.upp/umk or ~/.config/umk.
Alternatively (or additionally), I can imagine that umk can easily run without configuration files...
It's better to use default config folder on Windows, Linux or Mac and have the opportunity to define your own config folder for package sandboxing.
Not sure about Linux/Mac, but after 15 years of trying various things, current approach used in Windows is far the best. That is: everything is stored in the same folder you get after unpacking the archive.
Using default config folder (like ~/.config) has various disadvantages compared to this simplistic approach. E.g. you cannot have two isolated U++ variants at the same time. If you delete U++ folder, you still have remnants in ~/.config. Etc...
So yes, my personal preference for improvement here is to sandbox it.
Now the suggested mechanism is not quite elegant. It is just the first approach that came to my mind to solve the problem in a way to keep things sanboxed while allowing normal ~/.config too (developed application would be normally produced to upp/out, so would pick upp/.config as well; when installed elsewhere, these would default to standard ~/.config).
[Updated on: Wed, 01 April 2020 10:30] Report message to a moderator
|
|
|
 |
|
umk static version
By: mirek on Sun, 29 March 2020 16:12
|
 |
|
Re: umk static version
By: koldo on Sun, 29 March 2020 17:01
|
 |
|
Re: umk static version
By: mirek on Sun, 29 March 2020 17:13
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: mirek on Mon, 30 March 2020 10:24
|
 |
|
Re: umk static version
By: mirek on Mon, 30 March 2020 10:25
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: mr_ped on Mon, 30 March 2020 12:38
|
 |
|
Re: umk static version
By: amrein on Mon, 30 March 2020 13:24
|
 |
|
Re: umk static version
By: mirek on Mon, 30 March 2020 14:55
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: mirek on Mon, 30 March 2020 16:30
|
 |
|
Re: umk static version
By: koldo on Mon, 30 March 2020 20:43
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: amrein on Mon, 30 March 2020 22:33
|
 |
|
Re: umk static version
By: mirek on Tue, 31 March 2020 11:58
|
 |
|
Re: umk static version
By: amrein on Tue, 31 March 2020 12:52
|
 |
|
Re: umk static version
By: mirek on Mon, 30 March 2020 23:28
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: Novo on Tue, 31 March 2020 22:20
|
 |
|
Re: umk static version
By: amrein on Wed, 01 April 2020 08:53
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 09:36
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 09:25
|
 |
|
Re: umk static version
By: amrein on Wed, 01 April 2020 09:44
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: amrein on Tue, 31 March 2020 22:34
|
 |
|
Re: umk static version
By: amrein on Wed, 01 April 2020 10:05
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 10:26
|
 |
|
Re: umk static version
By: amrein on Wed, 01 April 2020 16:20
|
 |
|
Re: umk static version
By: amrein on Wed, 01 April 2020 16:27
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 16:54
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 16:55
|
 |
|
Re: umk static version
By: Novo on Wed, 01 April 2020 17:59
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 20:39
|
 |
|
Re: umk static version
By: Novo on Wed, 01 April 2020 21:08
|
 |
|
Re: umk static version
By: Novo on Wed, 01 April 2020 21:15
|
 |
|
Re: umk static version
By: amrein on Wed, 01 April 2020 21:47
|
 |
|
Re: umk static version
By: mirek on Wed, 01 April 2020 23:35
|
 |
|
Re: umk static version
By: mirek on Thu, 02 April 2020 09:22
|
 |
|
Re: umk static version
By: mirek on Thu, 02 April 2020 16:36
|
 |
|
Re: umk static version
By: mirek on Thu, 02 April 2020 17:35
|
 |
|
Re: umk static version
|
 |
|
Re: umk static version
By: Novo on Wed, 01 April 2020 15:38
|
Goto Forum:
Current Time: Wed Jul 16 15:12:06 CEST 2025
Total time taken to generate the page: 0.05682 seconds
|