1 # The Ring Notepad Application (RNote)
2 # Author : Mahmoud Fayed <msfclipper@yahoo.com>
6 func Distribute nOption
7 if cActiveFileName = Null return Nofileopened() ok
9 cAppToRun = exefolder()+"/ring2exe"
10 cPara = cActiveFileName
13 cAppToRun = exefolder()+"/ring"
14 cPara += ",-go,-norun"
17 on 3 # dist allruntime
18 cPara += ",-dist,-allruntime"
19 on 4 # dist allruntime gui
20 cPara += ",-dist,-allruntime,-gui"
22 cPara += ",-dist,-qt,-gui"
24 cPara += ",-dist,-allegro,-freeglut,-opengl,-gui"
26 cPara += ",-dist,-allruntime,-gui,-mobileqt"
28 oDockOutputWindow { show() raise() }
29 oProcessEditbox.setplaintext("")
30 chdir(JustFilePath(cActiveFileName))
31 oProcess = RunProcess(cAppToRun,cPara,cGetProcessData)