pull/4346/head
filip mertens 11 months ago
parent f42cef3ff8
commit d75c7a9f9e
  1. 20
      apps/remixdesktop/src/plugins/utility.ts
  2. 2
      libs/remix-ui/workspace/src/lib/actions/events.ts

@ -1,20 +0,0 @@
console.log('Starting utilities')
process.parentPort.postMessage('start utilities')
import { spawn } from 'node:child_process';
const ls = spawn('ls', ['-la'])
ls.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
process.parentPort.postMessage(data.toString())
});
process.parentPort.postMessage(JSON.stringify(process.env))
const ls2 = spawn('yarn', ['-v'])
ls2.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
process.parentPort.postMessage(data.toString())
});
ls.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
process.parentPort.postMessage(data.toString())
})

@ -195,8 +195,6 @@ const folderAdded = async (folderPath: string) => {
const path = extractParentFromKey(folderPath) || ROOT_PATH
if (isElectron()) {
const isExpanded = await plugin.call('filePanel', 'isExpanded', path)
console.log('folderAdded', folderPath, path, isExpanded)
if (!isExpanded) return
}

Loading…
Cancel
Save