Kaydet (Commit) f3bdd7a2 authored tarafından Eda Altuntaş's avatar Eda Altuntaş

Dosya silme işlemi silindi

üst 1f462ddf
const { ipcMain } = require("electron");
const { spawn } = require("child_process");
const { copyFileSync, existsSync, unlinkSync } = require("fs");
const { copyFileSync, existsSync } = require("fs");
const { basename, join, posix } = require("path");
const handler = (win, args = null) => {
......@@ -27,7 +27,6 @@ const handler = (win, args = null) => {
`${posix.join(Target, basename(File))}`,
`/home/${Username}/Desktop/`
]);
unlinkSync(join(Source, basename(File)));
spawn("docker", [
"exec",
Id,
......
const { ipcMain, dialog } = require("electron");
const { spawn } = require("child_process");
const { basename, join, posix } = require("path");
const { copyFileSync, unlinkSync } = require("fs");
const { copyFileSync } = require("fs");
const handler = win => {
ipcMain.on("terminal", (_, data) => {
......@@ -43,7 +43,6 @@ const handler = win => {
`${posix.join(Target, basename(f))}`,
`/home/${Username}/Desktop/`
]);
unlinkSync(join(Source, basename(f)));
spawn("docker", [
"exec",
Id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment