mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
9 lines
216 B
JavaScript
9 lines
216 B
JavaScript
import fs from 'fs'
|
|
|
|
const filePath = './dist/electron/src-electron/preload.js'
|
|
const newFilePath = './dist/electron/src-electron/preload.mjs'
|
|
|
|
if (fs.existsSync(filePath)) {
|
|
fs.renameSync(filePath, newFilePath)
|
|
}
|