Skip to content

litefeel/OpenFilesWithDefaultApp

Repository files navigation

Open Files With Default App

Donate

Open Files With Default App is just perfect Unity asset plugin to open file with system default Application.

Feature list:

  • Open files with default application
  • No runtime resources required
  • No scripting required

Install

Using OpenUPM

This package is available on OpenUPM.
You can install it via openupm-cli.

openupm add com.litefeel.openfileswithdefaultapp

Using git

Find the manifest.json file in the Packages folder of your project and edit it to look like this:

{
  "dependencies": {
    "com.litefeel.openfileswithdefaultapp": "https://github.com/litefeel/OpenFilesWithDefaultApp.git#1.5.1",
    ...
  }
}

Using .zip file (for Unity 5.0+)

  1. Download Source code from Releases
  2. Extract the package into $UnityProject/Packages or $UnityProject/Assets/Plugins

How to use?

  1. Select Edit > Preferences… > Open Files With Default App from the menu
  2. Input the file extensions, like txt
  3. Double click txt file, will open it with default application

Support