Installing Quarks

Short script for extending SC through Quark installations.

Mostly for beginners, or those unfamiliar with the Quarks interface… some may find it useful.

(

if

(
	not

	(
		Git.checkForGit
	)
)

{
	openOS

	(
		"https://www.google.com/search?q=download+git"
	)
}

{
	Quarks checkForUpdates: // updates quarks & executes when done:

	{
		{
			gui

			(
				Quarks
			)

			;

			wait

			(
				1
			)

			;

			front

			(
				last

				(
					allWindows

					(
						Window
					)
				)
			)
		}

		fork:

		(
			AppClock
		)

		;

		/*	install quarks with git urls:

		[
			"https://github.com/SCLOrkHub/SCLOrkSynths.git"
			,
			"https://github.com/celesteh/TuningLib.git"		// installs MathLib as a dependency	
			,
			"https://github.com/supercollider-quarks/PitchCircle.git"
		]

		do:	install

		(
			Quarks , _
		)

		*/
	}
}

)


//	Quarks.installed.size.postln

//	thisProcess.recompile

//	Quarks.installed.do(postln(_)).size


/*

Quarks.clear	/*	removes all quarks	*/

*/