mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Small fixes
This commit is contained in:
parent
f1c5337355
commit
1627f30a62
1 changed files with 5 additions and 3 deletions
|
@ -8,6 +8,7 @@ import io.xpipe.app.comp.store.StoreSection;
|
|||
import io.xpipe.app.ext.ActionProvider;
|
||||
import io.xpipe.app.ext.DataStoreProvider;
|
||||
import io.xpipe.app.ext.DataStoreUsageCategory;
|
||||
import io.xpipe.app.ext.ProcessControlProvider;
|
||||
import io.xpipe.app.fxcomps.Comp;
|
||||
import io.xpipe.app.storage.DataStorage;
|
||||
import io.xpipe.app.storage.DataStoreEntry;
|
||||
|
@ -26,10 +27,11 @@ public interface ShellStoreProvider extends DataStoreProvider {
|
|||
return new ActionProvider.Action() {
|
||||
@Override
|
||||
public void execute() throws Exception {
|
||||
ShellStore store = entry.getStore().asNeeded();
|
||||
var replacement = ProcessControlProvider.get().replace(entry.ref());
|
||||
ShellStore store = replacement.getStore().asNeeded();
|
||||
TerminalLauncher.open(
|
||||
entry,
|
||||
DataStorage.get().getStoreEntryDisplayName(entry),
|
||||
replacement.get(),
|
||||
DataStorage.get().getStoreEntryDisplayName(replacement.get()),
|
||||
null,
|
||||
ScriptStore.controlWithDefaultScripts(store.control()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue