openFile is the desktop-specific way of opening a file
(url string)
| 129 | |
| 130 | // openFile is the desktop-specific way of opening a file |
| 131 | func openFile(url string) (io.ReadCloser, error) { |
| 132 | return os.Open(url) |
| 133 | } |
| 134 | |
| 135 | // IsAndroidChrome tells if the browser is Chrome for android |
| 136 | func IsAndroidChrome() bool { |