Chrome export build background.js problem

8bitDev

  • Posts: 23
Hi,i found problem,when i start the the chrome build(unpacked),i got stuck and i cant activate adobe flash player,everything else seems fine.

I dont know how to actually open main.html,background.js just create new main.html instead of opening existing one.

Can someone help me how to edit the code,so i can export my games to chrome web store that will be playable???

Regards

Code generated by background.js

Code: [Select]
chrome.app.runtime.onLaunched.addListener(function() {
  chrome.app.window.create('main.html', {
    'bounds': {
      'width': 800,
      'height': 480
    }
  });
});