Loading app/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ The project is available at `http://localhost:3000/` # Installation Drop the files used to flash the device in the corresponding folder in `static/assets/sources` And **overwrite the .json** file of your device with the correct file name And **overwrite the .json** `static/resources` file of your device with the correct file name # Development information Loading app/src/static/js/controller.manager.js +1 −1 Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ export class Controller { } else { try { this.model = productName.toLowerCase().replace(/[ |_]/g, ''); this.resources = await (await fetch(`js/resources/${this.model}.json`)).json() || {}; this.resources = await (await fetch(`resources/${this.model}.json`)).json() || {}; } catch (e) { throw Error('model not supported'); this.resources = {}; Loading app/src/static/js/resources/fairphone45g.json→app/src/static/resources/fairphone45g.json +0 −0 File moved. View file app/src/static/js/resources/fp3.json→app/src/static/resources/fp3.json +0 −0 File moved. View file app/src/static/js/resources/gs290.json→app/src/static/resources/gs290.json +0 −0 File moved. View file Loading
app/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ The project is available at `http://localhost:3000/` # Installation Drop the files used to flash the device in the corresponding folder in `static/assets/sources` And **overwrite the .json** file of your device with the correct file name And **overwrite the .json** `static/resources` file of your device with the correct file name # Development information Loading
app/src/static/js/controller.manager.js +1 −1 Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ export class Controller { } else { try { this.model = productName.toLowerCase().replace(/[ |_]/g, ''); this.resources = await (await fetch(`js/resources/${this.model}.json`)).json() || {}; this.resources = await (await fetch(`resources/${this.model}.json`)).json() || {}; } catch (e) { throw Error('model not supported'); this.resources = {}; Loading
app/src/static/js/resources/fairphone45g.json→app/src/static/resources/fairphone45g.json +0 −0 File moved. View file
app/src/static/js/resources/gs290.json→app/src/static/resources/gs290.json +0 −0 File moved. View file