GithubHelp home page GithubHelp logo

Config issues about bolt-cep HOT 6 CLOSED

hyperbrew avatar hyperbrew commented on July 24, 2024
Config issues

from bolt-cep.

Comments (6)

jameslockman avatar jameslockman commented on July 24, 2024 2

Note below: while there is only one <Extension> in the <ExtensionList>, there are two <Extension>s with the same id inside of <DispatchInfoList>. This is because there is only one defined: one specifically for Bridge and the other for the remaining <Host>s in the <HostList>. If you enumerate <Extension>s by <id> and then remove dupes before creating the <ExtensionList>, you should get the desired output.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ExtensionManifest
Version="7.0"
ExtensionBundleId="com.jameslockman.tappecue"
ExtensionBundleVersion="2.0.0"
ExtensionBundleName="Tappecue2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
<ExtensionList>
  <Extension Id="com.jameslockman.tappecue.panel" Version="2.0.0" />
</ExtensionList>
<ExecutionEnvironment>
  <HostList>
    <Host Name="DRWV" Version="19.0" />
    <Host Name="FLPR" Version="19.0" />
    <Host Name="IDSN" Version="14.0" />
    <Host Name="AICY" Version="14.0" />
    <Host Name="ILST" Version="23.0" />
    <Host Name="PHSP" Version="20.0" />
    <Host Name="PHXS" Version="20.0" />
    <Host Name="PPRO" Version="13.0" />
    <Host Name="PRLD" Version="8.0" />
    <Host Name="AEFT" Version="16.0" />
    <Host Name="AUDT" Version="12.0" />
    <Host Name="KBRG" Version="7.0" />
  </HostList>
  <LocaleList>
    <Locale Code="All" />
  </LocaleList>
  <RequiredRuntimeList>
    <RequiredRuntime Name="CSXS" Version="9.0" />
  </RequiredRuntimeList>
</ExecutionEnvironment>
<DispatchInfoList>
  <Extension Id="com.jameslockman.tappecue.panel">
    <DispatchInfo>
      <Resources>
        <MainPath>./main/index.html</MainPath>
        <CEFCommandLine>
          <Parameter>--v=0</Parameter>
          <Parameter>--enable-nodejs</Parameter>
          <Parameter>--mixed-context</Parameter>
          <Parameter>--enable-file-cookies</Parameter>
        </CEFCommandLine>
      </Resources>
      <Lifecycle>
        <AutoVisible>true</AutoVisible>
      </Lifecycle>
      <UI>
        <Type>Panel</Type>
        <Menu>Tappecue2</Menu>
        <Geometry>
          <Size>
            <Width>600</Width>
            <Height>650</Height>
          </Size>
          <MaxSize>
            <Width>800</Width>
            <Height>1200</Height>
          </MaxSize>
          <MinSize>
            <Width>300</Width>
            <Height>450</Height>
          </MinSize>
        </Geometry>
        <Icons>
          <Icon Type="Normal">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkNormal">./public/TappecueIconDark.png</Icon>
          <Icon Type="RollOver">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkRollOver">./public/TappecueIconDark.png</Icon>
        </Icons>
      </UI>
    </DispatchInfo>
  </Extension>
  <Extension Id="com.jameslockman.tappecue.panel">
    <DispatchInfo Host="KBRG">
      <Resources>
        <MainPath>./main/index.html</MainPath>
        <CEFCommandLine>
          <Parameter>--v=0</Parameter>
          <Parameter>--enable-nodejs</Parameter>
          <Parameter>--mixed-context</Parameter>
          <Parameter>--enable-file-cookies</Parameter>
        </CEFCommandLine>
      </Resources>
      <Lifecycle>
        <AutoVisible>true</AutoVisible>
      </Lifecycle>
      <UI>
        <Type>Embedded</Type>
        <Menu>Tappecue2</Menu>
        <Geometry>
          <Size>
            <Width>600</Width>
            <Height>650</Height>
          </Size>
          <MaxSize>
            <Width>800</Width>
            <Height>1200</Height>
          </MaxSize>
          <MinSize>
            <Width>300</Width>
            <Height>450</Height>
          </MinSize>
        </Geometry>
        <Icons>
          <Icon Type="Normal">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkNormal">./public/TappecueIconDark.png</Icon>
          <Icon Type="RollOver">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkRollOver">./public/TappecueIconDark.png</Icon>
        </Icons>
      </UI>
    </DispatchInfo>
  </Extension>
</DispatchInfoList>
</ExtensionManifest>

from bolt-cep.

jameslockman avatar jameslockman commented on July 24, 2024 1

Oh, that was the ticket! Thanks so much!

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on July 24, 2024

Standalone has been added as an optional value in 1.1.3,

However for multiple extensions sharing an ID, can you clarify what the full manifest should look like in that case?

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on July 24, 2024

@jameslockman great, thanks for providing the example! This should be resolved in vite-cep-plugin 1.1.4

from bolt-cep.

jameslockman avatar jameslockman commented on July 24, 2024

I just updated:

yarn add vite-cep-plugin
yarn add v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > [email protected]" has unmet peer dependency "path@^0.12.7".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
warning "vite-cep-plugin" is already in "devDependencies". Please remove existing entry first before adding it to "dependencies".
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
✨  Done in 4.54s.

I still have two entries in the ExtensionList when I build.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ExtensionManifest
Version="7.0"
ExtensionBundleId="com.jameslockman.tappecue"
ExtensionBundleVersion="2.0.0"
ExtensionBundleName="Tappecue2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
<ExtensionList>
  <Extension Id="com.jameslockman.tappecue.panel" Version="2.0.0" />
  <Extension Id="com.jameslockman.tappecue.panel" Version="2.0.0" />
</ExtensionList>
<ExecutionEnvironment>
  <HostList>
    <Host Name="DRWV" Version="19.0" />
    <Host Name="FLPR" Version="19.0" />
    <Host Name="IDSN" Version="14.0" />
    <Host Name="AICY" Version="14.0" />
    <Host Name="ILST" Version="23.0" />
    <Host Name="PHSP" Version="20.0" />
    <Host Name="PHXS" Version="20.0" />
    <Host Name="PPRO" Version="13.0" />
    <Host Name="PRLD" Version="8.0" />
    <Host Name="AEFT" Version="16.0" />
    <Host Name="AUDT" Version="12.0" />
    <Host Name="KBRG" Version="7.0" />
  </HostList>
  <LocaleList>
    <Locale Code="All" />
  </LocaleList>
  <RequiredRuntimeList>
    <RequiredRuntime Name="CSXS" Version="9.0" />
  </RequiredRuntimeList>
</ExecutionEnvironment>
<DispatchInfoList>
  <Extension Id="com.jameslockman.tappecue.panel">
    <DispatchInfo>
      <Resources>
        <MainPath>./main/index.html</MainPath>
        <CEFCommandLine>
          <Parameter>--v=0</Parameter>
          <Parameter>--enable-nodejs</Parameter>
          <Parameter>--mixed-context</Parameter>
          <Parameter>--enable-file-cookies</Parameter>
        </CEFCommandLine>
      </Resources>
      <Lifecycle>
        <AutoVisible>true</AutoVisible>
      </Lifecycle>
      <UI>
        <Type>Panel</Type>
        <Menu>Tappecue2</Menu>
        <Geometry>
          <Size>
            <Width>600</Width>
            <Height>650</Height>
          </Size>
          <MaxSize>
            <Width>800</Width>
            <Height>1200</Height>
          </MaxSize>
          <MinSize>
            <Width>300</Width>
            <Height>450</Height>
          </MinSize>
        </Geometry>
        <Icons>
          <Icon Type="Normal">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkNormal">./public/TappecueIconDark.png</Icon>
          <Icon Type="RollOver">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkRollOver">./public/TappecueIconDark.png</Icon>
        </Icons>
      </UI>
    </DispatchInfo>
  </Extension>
  <Extension Id="com.jameslockman.tappecue.panel">
    <DispatchInfo Host="KBRG">
      <Resources>
        <MainPath>./main/index.html</MainPath>
        <CEFCommandLine>
          <Parameter>--v=0</Parameter>
          <Parameter>--enable-nodejs</Parameter>
          <Parameter>--mixed-context</Parameter>
          <Parameter>--enable-file-cookies</Parameter>
        </CEFCommandLine>
      </Resources>
      <Lifecycle>
        <AutoVisible>true</AutoVisible>
      </Lifecycle>
      <UI>
        <Type>Embedded</Type>
        <Menu>Tappecue2</Menu>
        <Geometry>
          <Size>
            <Width>600</Width>
            <Height>650</Height>
          </Size>
          <MaxSize>
            <Width>800</Width>
            <Height>1200</Height>
          </MaxSize>
          <MinSize>
            <Width>300</Width>
            <Height>450</Height>
          </MinSize>
        </Geometry>
        <Icons>
          <Icon Type="Normal">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkNormal">./public/TappecueIconDark.png</Icon>
          <Icon Type="RollOver">./public/TappecueIconLight.png</Icon>
          <Icon Type="DarkRollOver">./public/TappecueIconDark.png</Icon>
        </Icons>
      </UI>
    </DispatchInfo>
  </Extension>
</DispatchInfoList>
</ExtensionManifest>

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on July 24, 2024

accidentally was affecting the DispatchInfo instead of ExtensionList, try 1.1.5

from bolt-cep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.