mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 10:46:31 +00:00
Prefix temp permissions script name
Change-type: patch Changelog-entry: Prefix temp permissions script name Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
parent
07be844985
commit
6f58344e7b
@ -161,7 +161,10 @@ export async function elevateCommand(
|
||||
options.environment,
|
||||
);
|
||||
return Bluebird.using(
|
||||
tmpFileDisposer({ postfix: '.cmd' }),
|
||||
tmpFileDisposer({
|
||||
prefix: 'balena-etcher-electron-',
|
||||
postfix: '.cmd',
|
||||
}),
|
||||
async ({ path }) => {
|
||||
await fs.writeFile(path, launchScript);
|
||||
if (isWindows) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user