mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Fixed updater Linux directory permission issue
This commit is contained in:
parent
5c36ff1738
commit
72f782d1ea
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ export class Updater {
|
||||||
command = `rmdir /S /Q "${dst}" & xcopy /Y /E "${src}" "${dst}"`;
|
command = `rmdir /S /Q "${dst}" & xcopy /Y /E "${src}" "${dst}"`;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
command = `rm -rf '${dst}'; cp -rf '${src}' '${dst}'`;
|
command = `rm -rf '${dst}'; cp -rf '${src}' '${dst}'; chmod 755 '${dst}'`;
|
||||||
}
|
}
|
||||||
|
|
||||||
sudo.exec(command, { name: 'FCast Receiver' }, (error, stdout, stderr) => {
|
sudo.exec(command, { name: 'FCast Receiver' }, (error, stdout, stderr) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue