Error about ScaleFactor uses Int
Error about ScaleFactor uses Int

ERRO[0000] json: cannot unmarshal number 1.5 into Go struct field DisplayOptions.scaleFactor of type int while unmarshaling {"name":"app.event.ready","targetID":"main","displays":{"all":[{"id":2528732444,"bounds":{"x":0,"y":0,"width":2560,"height":1440},"workArea":{"x":0,"y":0,"width":2560,"height":1400},"size":{"width":2560,"height":1440},"workAreaSize":{"width":2560,"height":1400},"scaleFactor":1.5,"rotation":0,"touchSupport":"unknown"}],"primary":{"id":2528732444,"bounds":{"x":0,"y":0,"width":2560,"height":1440},"workArea":{"x":0,"y":0,"width":2560,"height":1400},"size":{"width":2560,"height":1440},"workAreaSize":{"width":2560,"height":1400},"scaleFactor":1.5,"rotation":0,"touchSupport":"unknown"}}}
asticode/go-astilectron,asticode/go-astilectron