docs: function elevatePrivilegesAndReplaceFile(uid, src, dest) {
      return new Promise((fulfill, reject) => {
          const mv = shellescape(['mv', '-f', src, dest]);
          exec(`pkexec --user $(id -nu ${+uid}) ${mv}`, (err, stdout, stderr) => {
              if (stderr) console.error(stderr);
              if (stdout) console.log(stdout);
              if (err) {
                  return reject(err)
              }
              fulfill(dest);
          });
      });
  }