Update Ring Notepad - Run Web Application (Open In Browser) - Check Operating System
@@ -2406,6 +2406,7 @@ Class RNoteController from WindowsControllerParent
func RunInBrowser
if cActiveFileName = Null return pNofileopened() ok
pSave()
+ if isWindows()
new ServerPrepare {
setApplicationPath(JustFilePath(this.cActiveFileName))
PrepareConfigurationFile()
@@ -2414,3 +2415,11 @@ Class RNoteController from WindowsControllerParent
new QDesktopServices {
OpenURL(new qURL("http://localhost/"+JustFileName(this.cActiveFileName)))
}
+ else
+ cWebURL = this.cActiveFileName
+ nPos = substr(cWebURL,"htdocs")
+ cWebURL = substr(cWebURL,nPOS+7)
+ new QDesktopServices {
+ OpenURL(new qURL("http://localhost/"+cWebURL))
+ }
+ ok
