Skip to content

Instantly share code, notes, and snippets.

@jDmacD
Created September 14, 2015 13:09
Show Gist options
  • Save jDmacD/cdfda1ab361508f84787 to your computer and use it in GitHub Desktop.
Save jDmacD/cdfda1ab361508f84787 to your computer and use it in GitHub Desktop.
// cep-config.js
//grunt-cep version of https://github.com/Adobe-CEP/Samples/tree/master/CEP_HTML_Test_Extension
module.exports = {
bundle: {
version: '1.0',
id: 'com.adobe.CEPHTMLTEST',
name: 'CEPHTMLTEST',
author_name: 'James MacDonald',
//mxi_icon: 'src/TeEx_HTML_TEST_23x23_N.png',
},
extensions: [{
version: '1.0',
id: 'com.adobe.CEPHTMLTEST.Panel1',
name: 'CEP HTML Test Panel 1',
author_name: 'James MacDonald',
type: 'Panel',
icons: {
light: {
normal: 'TeEx_HTML_TEST_23x23_N.png',
hover: 'TeEx_HTML_TEST_23x23_R.png'
},
dark: {
normal: 'TeEx_HTML_TEST_23x23_DN.png',
hover: 'TeEx_HTML_TEST_23x23_DR.png'
},
},
size: {
normal: {
width: 1000,
height: 580
},
min: {
width: 600,
height: 400
},
max: {
width: 1200,
height: 800
},
},
main_path: 'html/index.html',
cef_params: ['--enable-speech-input', '--enable-media-stream'],
manifest: 'bundle/manifest.extension.xml'
}, {
version: '1.0',
id: 'com.adobe.CEPHTMLTEST.Panel2',
name: 'CEP HTML Test Panel 2',
author_name: 'James MacDonald',
type: 'Panel',
icons: {
light: {},
dark: {},
},
size: {
normal: {
width: 1000,
height: 580
},
min: {
width: 600,
height: 400
},
max: {
width: 1200,
height: 800
},
},
main_path: 'html/index.html',
cef_params: ['--enable-speech-input', '--enable-media-stream', '--cep-disable-authentication'],
manifest: 'bundle/manifest.extension.xml'
}, {
version: '1.0',
id: 'com.adobe.ModalDialog',
name: 'CEP HTML Test Modal Dialog',
author_name: 'James MacDonald',
type: 'ModalDialog',
icons: {
light: {},
dark: {},
},
size: {
normal: {
width: 1020,
height: 580
},
min: {
width: 600,
height: 400
},
max: {
width: 1200,
height: 800
},
},
main_path: 'html/index.html',
cef_params: ['--enable-speech-input', '--enable-media-stream'],
manifest: 'bundle/manifest.extension.xml'
} , {
version: '1.0',
id: 'com.adobe.CEPHTMLTEST.Modeless',
name: 'CEP HTML Test Modeless Dialog',
author_name: 'James MacDonald',
type: 'Modeless',
icons: {
light: {},
dark: {},
},
size: {
normal: {
width: 1000,
height: 580
},
min: {
width: 600,
height: 400
},
max: {
width: 1200,
height: 800
},
},
main_path: 'html/index.html',
cef_params: ['--enable-speech-input', '--enable-media-stream'],
manifest: 'bundle/manifest.extension.xml'
}],
builds: [
// Adobe Photoshop CC
{
bundle: {
manifest: 'bundle/manifest.bundle.cc2015.xml'
},
products: ["photoshop"],
source: 'src',
families: ['CC2015'],
}
],
'package': {
certificate: {
password: 'example_password',
}
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment