mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-22 01:42:47 +01:00
fix open with bug
This commit is contained in:
parent
ebfa49254e
commit
78f09934d2
Binary file not shown.
@ -336,13 +336,14 @@ namespace OS {
|
|||||||
}
|
}
|
||||||
const list = apps.map((e) => ({
|
const list = apps.map((e) => ({
|
||||||
text: e.name,
|
text: e.name,
|
||||||
|
app: e.app,
|
||||||
icon: e.icon,
|
icon: e.icon,
|
||||||
iconclass: e.iconclass,
|
iconclass: e.iconclass,
|
||||||
}));
|
}));
|
||||||
openDialog("SelectionDialog", {
|
openDialog("SelectionDialog", {
|
||||||
title: __("Open with"),
|
title: __("Open with"),
|
||||||
data: list,
|
data: list,
|
||||||
}).then((d) => launch(d.text, [it]));
|
}).then((d) => launch(d.app, [it]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user