diff --git a/build/installer.nsh b/build/installer.nsh index 58c0ac8..5a09408 100644 --- a/build/installer.nsh +++ b/build/installer.nsh @@ -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 \ No newline at end of file diff --git a/electron-builder.json b/electron-builder.json index 4906e0d..7ac8708 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -3,6 +3,12 @@ "appId": "com.beatsaver.client", "productName": "BeatSaver", "files": ["dist/**/*"], + "extraFiles": [ + { + "from": "./build/db.sqlite3", + "to": "." + } + ], "directories": { "output": "release/" },