Skip to content

Commit af57a58

Browse files
committed
fix(db): first run start fix #142
1 parent 7ceffc8 commit af57a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/background/dbPatcher.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = async (callback, mainWindow, sphinxApp) => {
2121
await sphinx.query(`delete from version where id = 1`)
2222
await sphinx.query(`insert into version(id, version) values(1, ${version})`)
2323
if(sphinxApp)
24-
fs.writeFileSync(`${sphinxApp.directoryPath}/version.vrs`, version)
24+
fs.writeFileSync(`${sphinxApp.directoryPath}/version.vrs`, `${version}`)
2525
}
2626

2727
let patchWindow;

0 commit comments

Comments
 (0)