hyperbrew / bolt-cep

A lightning-fast boilerplate for building Adobe CEP Extensions in React, Vue, or Svelte built on Vite + TypeScript + Sass
MIT License
296 stars 41 forks source link

Symlinks are not created #23

Closed pedrolabonia closed 2 years ago

pedrolabonia commented 2 years ago

Hello,

I'm trying the package out, and all in all it looks great! I might be missing something obvious here, but...

I did the first build and it says symlinks already exist - but they do not show up in my extensions folder. I also am not really sure what local and global means on the config file. I've tried both. Tried manually creating soft links to the extensions folder too and Premiere didn't recognize it.

➜  premiere-otio git:(master) ✗ sudo yarn build
Password:
yarn run v1.22.18
$ rimraf dist/* && tsc && vite build --watch false
dist/cep/jsx/index.js
vite v2.9.8 building for production...
✓ 19 modules transformed.
JSXBIN Created: index.jsxbin
rendering chunks (1)...cep process: build
manifest created → succeeded √  
debug file created → succeeded √  
symlink already exists → succeeded √  

Copying 0 Node Module(s) (0 Dependencies) : 
Copying 0 Assets
FINISH
../../dist/cep/assets/node-js.b824f758.svg   1.22 KiB
../../dist/cep/assets/adobe.96d52626.svg     0.30 KiB
../../dist/cep/CSXS/manifest.xml             1.66 KiB
../../dist/cep/.debug                        0.27 KiB
../../dist/cep/main/index.html               3.91 KiB
../../dist/cep/assets/main.d20a4f1a.css      1.16 KiB / gzip: 0.59 KiB
../../dist/cep/assets/main.80cf16b2.js       59.54 KiB / gzip: 23.13 KiB
../../dist/cep/assets/main.80cf16b2.js.map   609.38 KiB
✨  Done in 7.26s.
➜  premiere-otio git:(master) ✗ ls -a dist/cep 
.            ..           .debug       CSXS         assets       jsx          main         node_modules
➜  premiere-otio git:(master) ✗ ls -a "/Library/Application Support/Adobe/CEP/extensions" 
.                                     CC_LIBRARIES_PANEL_EXTENSION_3_13_164 CC_LIBRARIES_PANEL_EXTENSION_3_8_299  com.adobe.ccx.start-2.16.0
..                                    CC_LIBRARIES_PANEL_EXTENSION_3_19_218 com.adobe.ccx.fnft-3.5.0              com.adobe.ccx.start-2.7.2
justintaylor-dev commented 2 years ago

Thanks for finding this, fixed in the latest 0.1.5.

Since Mac does require admin permissions with global, after running yarn build, run sudo yarn symlink to create the global symlink.