[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] RC5




there are a few more complications to it then that.

for the moment its best to have them place it in app support, named quarks, right where the svn quarks would be.

thus is you already have svn quarks, you will know there is a conflict.
if you change to svn quarks later, you will know you have to resolve the conflict.

the alternative is to have several quarks folders around ... hilarity ensues.


On Feb 10, 2008 2:18 PM, ronald kuivila <rkuivila@xxxxxxxxxxxx> wrote:
Hi all,

  With the release including Quarks, how are users supposed to configure them?  Do they need to drag them into
the userApplicationSupport dir?  If so, it might be better to allow them to be runnable out of the box.  This would be easy to do,
it is simply a matter of having the directory be an instance variable rather than a call to Platform.userSupportDir.  

Here is a patch that illustrates what I mean: 

+LocalQuarks {
*new { | path, parent |
^super.newCopyArgs((path ?? { QuarksDir.dir ++ "/quarks"}), parent)
}
}


QuarksDir {

classvar <>dir;


*initClass { 
Class.initClassTree( Platform );
Class.initClassTree( String );
if (File.exists("preloadedQuarks") ) {
dir = "".absolutePath ++ "/preloadedQuarks";
} { 
dir = Platform.userAppSupportDir;
}
}

}


RJK