feat: add new line and rename script file to hydralauncher

This commit is contained in:
Zamitto 2024-06-28 09:55:17 -03:00
parent b1532a52c8
commit e88088cca4
3 changed files with 4 additions and 4 deletions

View file

@ -12,10 +12,10 @@ const autoLaunch = async (
if (!app.isPackaged) return;
if (process.platform == "win32") {
const destination = path.join(windowsStartupPath, "hydra.vbs");
const destination = path.join(windowsStartupPath, "hydralauncher.vbs");
if (enabled) {
const scriptPath = path.join(process.resourcesPath, "hydra.vbs");
const scriptPath = path.join(process.resourcesPath, "hydralauncher.vbs");
fs.copyFileSync(scriptPath, destination);
} else {