mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 19:26:33 +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,
|
options.environment,
|
||||||
);
|
);
|
||||||
return Bluebird.using(
|
return Bluebird.using(
|
||||||
tmpFileDisposer({ postfix: '.cmd' }),
|
tmpFileDisposer({
|
||||||
|
prefix: 'balena-etcher-electron-',
|
||||||
|
postfix: '.cmd',
|
||||||
|
}),
|
||||||
async ({ path }) => {
|
async ({ path }) => {
|
||||||
await fs.writeFile(path, launchScript);
|
await fs.writeFile(path, launchScript);
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user