Skip to content

Support for projects packaged with pkg

Compare
Choose a tag to compare
@TheJaredWilcurt TheJaredWilcurt released this 20 Jun 17:48
· 16 commits to main since this release
3f771af

Breaking Changes:

  • NONE! Your code should work exactly the same without changing anything.

Enhancements:

  • Windows shortcuts rely on a VBS file. Previously if you used pkg to package your app, create-desktop-shortcuts would not work on Windows, because the windows.vbs file would not be in the real file system. You can now make a copy of the windows.vbs file external to your package and pass in the location to it using VBScriptPath. This should only be done if using pkg. Copying of the windows.vbs should be done programatically so that it stays up-to-date with future releases of create-desktop-shortcuts.
    • Special thanks to AngelCMHxD for the feature request and PR.

Maintenance:

  • Wrote new unit tests for VBScriptPath
  • Wrote new E2E tests so shortcuts on each OS are validated after creation.
  • Updated documentation
  • Updated dependencies

Code Quality:

  • Linting and Test coverage remains at 100%
  • E2E tests all passing
    • OSX at ~71-149ms
    • Windows at ~232-242ms
    • Linux at ~34-37ms

Code Changes