Skip to content

Commit

Permalink
bugfix missing db.sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMortis committed Sep 25, 2021
1 parent a27415d commit ca7b6db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
SetShellVarContext current
!define ROAMING_FOLDER_ROOT "$APPDATA\beat-saver-client"
CreateDirectory ${ROAMING_FOLDER_ROOT}
CopyFiles ${BUILD_RESOURCES_DIR}\db.sqlite3 ${ROAMING_FOLDER_ROOT}
CopyFiles $INSTDIR\db.sqlite3 ${ROAMING_FOLDER_ROOT}
!macroend
6 changes: 6 additions & 0 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"appId": "com.beatsaver.client",
"productName": "BeatSaver",
"files": ["dist/**/*"],
"extraFiles": [
{
"from": "./build/db.sqlite3",
"to": "."
}
],
"directories": {
"output": "release/"
},
Expand Down

0 comments on commit ca7b6db

Please sign in to comment.