diff --git a/package.json b/package.json index dae876e..306912b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "displayName": "DAISY Pipeline (2023)", "name": "pipeline-ui", "description": "User interface for the DAISY Pipeline", - "version": "1.2.0-BETA", + "version": "1.2.1-BETA", "main": "./node_modules/.dev-temp-build/main.js", "devTempBuildFolder": "./node_modules/.dev-temp-build", "devServer": "http://localhost:4927", diff --git a/src/main/index.ts b/src/main/index.ts index 9d1a62d..d840a69 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -169,7 +169,10 @@ function buildMenu() { title: `Select configuration file`, //defaultPath: value?.replace('file://', '') ?? '', buttonLabel: 'Select', // this is a different buttonLabel, it's the one for the actual file browse dialog - filters: [{ name: 'Settings', extensions: ['*.json'] }], + filters: [ + { name: 'JSON', extensions: ['json'] }, + { name: 'All files', extensions: ['*'] }, + ], // @ts-ignore properties: ['openFile'], }