|
|
@@ -25,11 +25,14 @@ class UtilsController extends Controller {
|
|
|
* upload
|
|
|
*/
|
|
|
async openFileFolder (params) {
|
|
|
- // const result = await Services.get('example').test('electron');
|
|
|
+ // const result = await Services.get('example').test('electron');
|
|
|
Log.info(params)
|
|
|
Log.info(decodeURIComponent(params))
|
|
|
shell.openPath(params);
|
|
|
}
|
|
|
+ async shellFun (params) {
|
|
|
+ shell[params.action](params.params)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
UtilsController.toString = () => '[class ExampleController]';
|