AuroraDispenser icon indicating copy to clipboard operation
AuroraDispenser copied to clipboard

auth file loading broken

Open nuschpl opened this issue 1 year ago • 0 comments

nThe README says: src/main/resources/config.properties Edit this file to match your liking but the properties are loaded with: BufferedReader bufferedReader = new BufferedReader(new FileReader(System.getProperty("credentials"))); so it works with Java specific properties which make this librariy pain in the ass for non java programmer as currently it works only when -Dcredentials=.. command line switch is provided I've found another config file loaded: properties.load(getClass().getClassLoader().getSystemResourceAsStream("device-gemini.properties")); but nothing specific to config.properties and System.getProperty("credentials") returns null

nuschpl avatar Apr 12 '23 19:04 nuschpl