mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 19:34:34 +00:00
9 lines
336 B
TypeScript
9 lines
336 B
TypeScript
import { createFile, readFile } from '@sasjs/utils'
|
|
import { getDesktopUserAutoExecPath } from './file'
|
|
|
|
export const getUserAutoExec = async (): Promise<string> =>
|
|
readFile(getDesktopUserAutoExecPath())
|
|
|
|
export const updateUserAutoExec = async (autoExecContent: string) =>
|
|
createFile(getDesktopUserAutoExecPath(), autoExecContent)
|