Skip to content

Commit

Permalink
Merge pull request #215 from Tormak9970/dev
Browse files Browse the repository at this point in the history
chore: build 3.10.1
  • Loading branch information
Tormak9970 authored Oct 13, 2024
2 parents 20e4c88 + 6db37e2 commit bb81710
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Steam Art Manager
A tool for setting the artwork of your Steam library.

![Steam Art Manager's Main UI](public/images/../progress-images/v3.3.0/final-ui_v3.3.0.png)
![Steam Art Manager's Main UI](./public/progress-images/v3.10.0/final-ui_v3.10.0.png)

<br/>

Expand All @@ -29,7 +29,7 @@ To get the most recent release, head to the [latest release](https://github.com/
1. Download the `appimage-installer.sh` bash script.
2. Right click it, go to permissions, and mark it as executable.
3. Double click the script to install SARM.
- **Deb** - Coming Soon
- **Deb** - Download the `steam-art-manager.deb` file, and run it to install SARM.
- **Flatpak** - Coming Soon

## How to use the app
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"fast-xml-parser": "^4.5.0",
"markdown-it": "^13.0.2",
"svelte-lazy": "^1.2.7",
"svelte-splitpanes": "^0.7.15",
"svelte-splitpanes": "8.0.8",
"svelte-tippy": "^1.3.2",
"tippy.js": "^6.3.7"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"dangerousDisableAssetCspModification": [
"style-src"
],
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost https://*.steamgriddb.com; media-src 'self' asset: https://asset.localhost https://*.steamgriddb.com; style-src 'self' 'unsafe-inline'; connect-src ipc: http://ipc.localhost"
"csp": "default-src 'self'; img-src 'self' asset: http://asset.localhost https://*.steamgriddb.com; media-src 'self' asset: http://asset.localhost https://*.steamgriddb.com; style-src 'self' 'unsafe-inline'; connect-src ipc: http://ipc.localhost"
}
},
"plugins": {
Expand Down
6 changes: 5 additions & 1 deletion src/lib/utils/SettingsManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ export class SettingsManager {
* Gets the settings data and updates it if needed.
*/
private static async loadSettingsFromSystem(): Promise<AppSettings> {
const currentSettings = JSON.parse(await fs.readTextFile(SettingsManager.settingsPath));
let currentSettings: any = {};

if (await fs.exists(SettingsManager.settingsPath)) {
currentSettings = JSON.parse(await fs.readTextFile(SettingsManager.settingsPath));
}

let settings: AppSettings = { ...currentSettings };

Expand Down

0 comments on commit bb81710

Please sign in to comment.