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

Re: [sc-dev] [Approve?] Add 'Extensions' directories to compiler



So the binary would have to go into ~/Library/Application
Support/SuperCollider too? 

--James McCartney <asynth@xxxxxx> [041221 11:29]:
> well the server is a command line app and those typically in unix 
> operate on the current working directory.
> the Server-boot method could be changed to 'cd' to 
> ~/Library/Application Support/SuperCollider
> or whereever.
> 
> 	var <>dir = "~/Library/Application Support/SuperCollider";
> 
> 	bootServerApp {
> 		if (inProcess, {
> 			"booting internal".inform;
> 			this.bootInProcess;
> 		},{
> 			unixCmd("cd " ++ dir ++ "; " ++ program ++ 
> options.asOptionsString(addr.port));
> 			("booting " ++ addr.port.asString).inform;
> 		});
> 	}