Skip to content

Commit

Permalink
Update version to 1.5.2, adding support for app file protection regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkuesters committed May 4, 2024
1 parent 5fde001 commit 29209c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "destrostudios",
"version": "1.5.1",
"version": "1.5.2",
"description": "destrostudios cross-game launcher, offering the possibility to login, download, update and start games.",
"author": "destrostudios",
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion src/main/local-apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ function checkNextLocalFileForDeletion(
if (currentFileIndex < localFilePaths.length) {
const localFilePath = localFilePaths[currentFileIndex];
if (
appFilesResponse.protections.indexOf(localFilePath) === -1 &&
!appFilesResponse.protections.some((protection) =>
localFilePath.match(protection),
) &&
!appFilesResponse.files.some((appFile) => appFile.path === localFilePath)
) {
shouldBeDeletedCallback(localFilePath);
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "destrostudios",
"version": "1.5.1",
"version": "1.5.2",
"description": "Destrostudios cross-game launcher, offering the possibility to login, download, update and start games.",
"author": "destrostudios",
"main": "electron-main.js",
Expand Down

0 comments on commit 29209c0

Please sign in to comment.